/* =====================================================================
   Product tour (product.html): page-only styles. Prefix: .pt-
   Mobile first, breakpoints as foundation.md: 640 / 1024 / 1440 / 1920.
   Uses site.css tokens only.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Shared bits on this page
--------------------------------------------------------------------- */
/* Real captures: 1440×900 desktop files, 1080×2337 phone crops (top of the phone screen) */
.pt-frame { --ar: 1440 / 900; --ar-sm: 1080 / 1560; --pos-sm: 50% 0; width: 100%; }
.pt-frame .frame__title { color: var(--muted); }
@media (max-width: 639px) {
  /* on phones the crop already carries the app's own top bar: drop the browser bar, round like a device */
  .pt-frame .frame__bar { display: none; }
  .pt-frame .frame__bezel { border-radius: 30px; padding: 6px; }
  .pt-frame .frame__screen { border-radius: 24px; }
}

/* Segmented control (view switchers, style switcher) */
.pt-seg {
  display: inline-flex; align-items: center; gap: 2px; max-width: 100%; padding: 4px; border-radius: var(--r-pill);
  background: rgba(34, 37, 34, .045); box-shadow: inset 0 0 0 1px rgba(34, 37, 34, .07), inset 0 1px 2px rgba(34, 37, 34, .05);
  overflow-x: auto; scrollbar-width: none;
}
.pt-seg::-webkit-scrollbar { display: none; }
.pt-seg__btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  min-height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  font: 600 .875rem/1.2 var(--sans); letter-spacing: -.005em; color: var(--body); white-space: nowrap;
  transition: background-color var(--dur-hover) ease, color var(--dur-hover) ease, box-shadow var(--dur-hover) ease, transform var(--dur-press) var(--ease-out);
}
.pt-seg__btn[aria-selected="true"] { color: var(--ink); background: var(--paper); box-shadow: 0 0 0 1px rgba(34, 37, 34, .06), 0 1px 2px rgba(34, 37, 34, .08), 0 4px 10px -4px rgba(34, 37, 34, .14); }
@media (hover: hover) and (pointer: fine) { .pt-seg__btn:not([aria-selected="true"]):hover { color: var(--ink); background: rgba(255, 255, 255, .55); } }
.pt-seg__btn:active { transform: scale(.97); }
.pt-seg__btn:focus-visible { outline-offset: 1px; }
@media (pointer: coarse) { .pt-seg__btn { min-height: 44px; } }
@media (max-width: 379px) { .pt-seg__btn { padding: 0 12px; font-size: .8125rem; } }

/* Tabs/segments only make sense with JS; without it every panel simply stacks */
.pt-seg, .pt-tour__controls { display: none; }
.js .pt-seg { display: inline-flex; }

/* View panels: fade in when shown (transform/opacity only) */
@keyframes pt-in { from { opacity: 0; transform: translateY(8px) scale(.992); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { .pt-enter { animation: pt-in .5s var(--ease-out) both; } }

/* ---------------------------------------------------------------------
   1. Hero
--------------------------------------------------------------------- */
.pt-hero { --under-nav-pad: clamp(3.5rem, 2rem + 5vw, 7rem); padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); text-align: center; }
.pt-hero__inner { display: flex; flex-direction: column; align-items: center; }
.pt-hero__title { margin-top: var(--s-4); max-width: 13.5em; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.05em; text-wrap: balance; }
@media (max-width: 359px) { .pt-hero__title { font-size: 10vw; } }
.pt-hero__lead { margin-top: clamp(1.25rem, 1rem + 1vw, 1.75rem); max-width: 40rem; }
.pt-hero .section-actions { margin-top: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); }
.pt-hero__note { margin-top: 14px; font-size: var(--fs-caption); color: var(--muted); }
.pt-shortcuts { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; margin-top: 16px; }
.pt-shortcuts a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-caption); font-weight: 600; color: var(--forest); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 4px; }

/* View switcher above each stage's captures */
.pt-views { display: flex; flex-direction: column; align-items: center; }
.pt-views > .pt-seg { margin-bottom: clamp(1rem, .8rem + .8vw, 1.5rem); }
.pt-views__panel { width: 100%; }

/* What you get / what your client sees */
.pt-stage__lists { display: grid; gap: 14px; margin-top: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); }
.pt-stage__lists--1 { max-width: 44rem; margin-inline: auto; }
@media (min-width: 760px) {
  .pt-stage__lists--2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; align-items: start; }
}
.pt-list { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line-soft); box-shadow: var(--sh-1); text-align: left; }
.pt-list--client { background: linear-gradient(170deg, #FFFCF8, #FBF4EA); border-color: color-mix(in srgb, var(--amber-line) 70%, var(--line-soft)); }
.pt-list--note { background: var(--band); border-color: #E6E7DF; box-shadow: none; }
.pt-list--cal { background: var(--panel-2); }
.pt-list__h { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; font: 600 1.0625rem/1.3 var(--display); letter-spacing: -.015em; color: var(--ink); }
.pt-list__h .ic { width: 20px; height: 20px; color: var(--amber-ink); }
.pt-list--note .pt-list__h .ic { color: var(--muted); }
.pt-checks--muted > li::before { background-color: var(--paper); box-shadow: inset 0 0 0 1px var(--line2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F685A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 8v.1M12 11.5v5'/%3E%3C/svg%3E"); }
.pt-list__foot { margin-top: 14px; font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }
.pt-apps { display: grid; gap: 10px; }
.pt-apps li { display: flex; align-items: center; gap: 12px; font: 500 .9375rem/1.3 var(--sans); color: var(--ink); }

.pt-stage__extra { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); text-align: center; }
.pt-note { display: inline-flex; align-items: flex-start; gap: 10px; max-width: 40rem; font-size: var(--fs-small); line-height: 1.6; color: var(--body); text-align: left; }
.pt-note .ic { width: 18px; height: 18px; margin-top: .15em; color: var(--amber-ink); }
.pt-quote { max-width: 34rem; font: 500 clamp(1.1875rem, 1.05rem + .6vw, 1.5rem)/1.35 var(--display); letter-spacing: -.025em; color: var(--forest); text-wrap: balance; }
.pt-quote::before { content: ""; display: block; width: 28px; height: 2px; margin: 0 auto 14px; border-radius: 2px; background: var(--amber); }
.pt-stage__link { margin-top: -4px; }

/* Sourcing: the real side panel beside "your Resdex tab" (an honest placeholder, not a fake Resdex screen) */
.pt-side { --ar-sm: 1080 / 1560; }
.pt-side__body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.pt-side__tab { display: none; }
.pt-side__panel img { display: block; width: 100%; height: auto; aspect-ratio: 1080 / 1560; object-fit: cover; object-position: 50% 0; }
@media (min-width: 640px) {
  .pt-side__body { aspect-ratio: 1440 / 838; grid-template-columns: minmax(0, 1fr) min(36%, 380px); }
  .pt-side__tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 32px; text-align: center;
    background:
      repeating-linear-gradient(135deg, rgba(34,37,34,.022) 0 2px, transparent 2px 14px),
      linear-gradient(180deg, #FBFAF7, #F4F3EE);
  }
  .pt-side__tab .app-icon { width: 52px; height: 52px; border-radius: 14px; }
  .pt-side__tab .app-icon img { width: 34px; height: 34px; }
  .pt-side__tab-title { margin-top: 6px; font: 600 1.125rem/1.3 var(--display); letter-spacing: -.02em; color: var(--ink); }
  .pt-side__tab-text { max-width: 24rem; font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }
  .pt-side__lines { display: grid; gap: 8px; width: min(100%, 300px); margin-top: 14px; }
  .pt-side__lines i { height: 9px; border-radius: 5px; background: rgba(34,37,34,.06); }
  .pt-side__lines i:nth-child(2) { width: 82%; } .pt-side__lines i:nth-child(3) { width: 90%; } .pt-side__lines i:nth-child(4) { width: 64%; }
  .pt-side__panel { position: relative; overflow: hidden; border-left: 1px solid var(--line); box-shadow: -14px 0 30px -24px rgba(34,37,34,.4); }
  .pt-side__panel img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

/* Offer to joining: interactive keep-warm example */
.pt-kw { width: 100%; max-width: 760px; margin-inline: auto; text-align: left; }
.pt-kw__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.pt-kw__head .avatar { --size: 46px; }
.pt-kw__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 600 1.125rem/1.3 var(--display); letter-spacing: -.02em; color: var(--ink); }
.pt-kw__meta { margin-top: 4px; font-size: var(--fs-caption); color: var(--muted); line-height: 1.5; }
.pt-kw__list { position: relative; margin-top: 8px; }
.pt-kw__item { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
.pt-kw__item::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--line-soft); }
.pt-kw__item:first-child::before { top: 24px; }
.pt-kw__item:last-child::before { bottom: calc(100% - 24px); }
.pt-kw__item.is-done::before { background: color-mix(in srgb, var(--ok) 40%, var(--line-soft)); }
.pt-kw__dot { position: relative; z-index: 1; width: 26px; height: 26px; margin-top: -2px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line2), 0 0 0 4px var(--paper); }
.pt-kw__item.is-done .pt-kw__dot { background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335654E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.6 3.6L17.5 8.5'/%3E%3C/svg%3E") center / 15px no-repeat; box-shadow: inset 0 0 0 1px var(--ok-line), 0 0 0 4px var(--paper); }
.pt-kw__item.is-skipped .pt-kw__dot { background: var(--band) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F685A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pt-kw__item.is-now .pt-kw__dot { background: var(--amber); box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px #e8934a33; }
.pt-kw__title { font: 600 1rem/1.35 var(--sans); color: var(--ink); }
.pt-kw__item.is-skipped .pt-kw__title { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line2); }
.pt-kw__when { margin-top: 2px; font-size: var(--fs-caption); color: var(--muted); }
.pt-kw__item.is-now .pt-kw__when { color: var(--amber-ink); font-weight: 600; }
.pt-kw__tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pt-kw__tool { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 4px 11px 4px 8px; border-radius: var(--r-pill); font: 500 .8125rem/1.2 var(--sans); color: var(--body); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pt-kw__tool img { width: 16px; height: 16px; }
.pt-kw__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pt-kw__item:not(.is-now) .pt-kw__tools, .pt-kw__item:not(.is-now) .pt-kw__actions { display: none; }
.pt-kw__risk { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 14px; margin-top: 10px; padding: 16px 18px; border-radius: var(--r-md); background: var(--warn-bg); box-shadow: inset 0 0 0 1px var(--warn-line); transition: background-color .3s ease, box-shadow .3s ease; }
.pt-kw__risk[data-kw-risk="steady"] { background: var(--ok-bg); box-shadow: inset 0 0 0 1px var(--ok-line); }
.pt-kw__risk-label { font: 600 .875rem/1.3 var(--sans); color: var(--ink); }
.pt-kw__risk-value { justify-self: start; }
.pt-kw__risk-value .status { background: rgba(255,255,255,.7); }
.pt-kw__risk-why { grid-column: 1 / -1; font-size: var(--fs-small); line-height: 1.55; color: var(--body); }
.pt-kw__reset { margin-top: 6px; }

/* Proof: a rebuilt monthly report page */
.pt-doc-stage {
  padding: clamp(1.25rem, .6rem + 3vw, 3.5rem); border-radius: clamp(18px, 1rem + .6vw, 26px);
  background: radial-gradient(80% 60% at 50% 0%, rgba(229,220,203,.55), transparent 70%), var(--band);
  box-shadow: inset 0 0 0 1px #E6E7DF;
}
.pt-doc { max-width: 600px; margin-inline: auto; padding: clamp(1.25rem, .9rem + 1.6vw, 2.25rem); border-radius: 8px; background: var(--paper); box-shadow: 0 1px 2px #2225220f, 0 24px 50px -24px #2225224d, 0 0 0 1px rgba(34,37,34,.06); text-align: left; }
.pt-doc__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font: 600 .875rem/1.2 var(--sans); color: var(--ink); }
.pt-doc__logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font: 700 .75rem/1 var(--display); color: var(--paper); background: var(--forest); }
.pt-doc__client { margin-left: auto; color: var(--muted); font-weight: 500; text-align: right; }
.pt-doc__title { margin-top: 18px; font: 600 clamp(1.25rem, 1.1rem + .6vw, 1.5rem)/1.2 var(--display); letter-spacing: -.03em; color: var(--ink); }
.pt-doc__sub { margin-top: 4px; font-size: var(--fs-caption); color: var(--muted); line-height: 1.5; }
.pt-doc__kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.pt-doc__kpis span { padding: 12px; border-radius: 10px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-soft); font-size: var(--fs-caption); color: var(--muted); }
.pt-doc__kpis b { display: block; font: 600 1.5rem/1.1 var(--display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (min-width: 520px) { .pt-doc__kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pt-doc__fee { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: var(--ok-bg); font-size: var(--fs-small); color: var(--ok); }
.pt-doc__fee b { font: 600 1.125rem/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.pt-doc__table { width: 100%; margin-top: 16px; font-size: var(--fs-caption); }
.pt-doc__table th { padding: 8px 8px 8px 0; text-align: left; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.pt-doc__table td { padding: 9px 8px 9px 0; color: var(--ink); border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.pt-doc__table td:last-child, .pt-doc__table th:last-child { padding-right: 0; text-align: right; }
.pt-doc__hidden { margin-top: 12px; font-size: var(--fs-caption); color: var(--muted); }
.pt-doc__foot { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: var(--fs-micro); color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------------
   4. Around the stages
--------------------------------------------------------------------- */
.pt-mini { text-align: left; }
.pt-mini__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--amber-ink); background: var(--amber-soft); box-shadow: inset 0 0 0 1px var(--amber-line); }
.pt-mini__icon .ic { width: 21px; height: 21px; }
.pt-mini h3 { margin-top: 18px; font-size: var(--fs-h4); letter-spacing: -.02em; line-height: 1.3; }
.pt-mini p { margin-top: 8px; font-size: var(--fs-small); line-height: 1.6; color: var(--body); }
@media (max-width: 719px) {
  .pt-mini { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .pt-mini h3 { margin-top: 0; }
  .pt-mini p { grid-column: 1 / -1; margin-top: 12px; }
}

/* ---------------------------------------------------------------------
   5. Sample run (the page's one forest band)
--------------------------------------------------------------------- */
.pt-run { display: grid; gap: clamp(1rem, .8rem + 1vw, 1.75rem); max-width: 1120px; margin-inline: auto; text-align: left; }
@media (min-width: 1024px) { .pt-run { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; } }
.pt-run__left, .pt-run__right { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pt-run__h { font: 600 .875rem/1.4 var(--sans); letter-spacing: 0; color: var(--muted); }
.pt-run__pre { margin-top: 12px; }
.pt-run__jd-title { font: 600 1.0625rem/1.35 var(--display); letter-spacing: -.015em; color: var(--ink); }
.pt-run__jd-meta { margin-top: 2px; font-size: var(--fs-caption); color: var(--muted); }
.pt-run__jd-body { margin-top: 12px; font-size: .9375rem; line-height: 1.65; color: var(--body); }
.pt-run__status { font: 600 .875rem/1.4 var(--sans); color: var(--amber-ink); }
.pt-run__chips { margin-top: 12px; min-height: 28px; }
.pt-run__chips .chip { animation: none; }
@media (prefers-reduced-motion: no-preference) { .pt-run__chips .chip, .pt-run__row { animation: pt-in .42s var(--ease-out) both; } }
.pt-run__lesson { padding: 14px 16px; border-radius: var(--r-md); background: var(--amber-soft); box-shadow: inset 0 0 0 1px #e8934a40; font-size: var(--fs-small); line-height: 1.6; color: var(--body); }
.pt-run__lesson strong { color: var(--amber-ink); }
.pt-run__empty { display: grid; place-items: center; min-height: clamp(140px, 8rem + 8vw, 300px); font-size: var(--fs-small); color: var(--muted); text-align: center; }
.pt-run__list { display: grid; gap: 8px; }
.pt-run__row {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; width: 100%; min-height: 64px; padding: 12px 14px;
  border-radius: 16px; text-align: left; color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--dur-hover) ease, background-color var(--dur-hover) ease, transform var(--dur-press) var(--ease-out);
}
.pt-run__row:active { transform: scale(.985); }
.pt-run__row[aria-pressed="true"] { background: #25312B; box-shadow: inset 0 0 0 1.5px var(--amber); }
@media (hover: hover) and (pointer: fine) { .pt-run__row:not([aria-pressed="true"]):hover { box-shadow: inset 0 0 0 1px var(--line2); } }
.pt-run__rank { font: 600 .8125rem/1 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.pt-run__who { min-width: 0; }
.pt-run__name { display: block; font: 600 .9688rem/1.3 var(--sans); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-run__meta { display: block; margin-top: 2px; font-size: var(--fs-micro); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-run__bar { display: block; height: 5px; margin-top: 8px; border-radius: 3px; background: #ffffff14; overflow: hidden; }
.pt-run__bar i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: var(--c, #8E9F83); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) { .pt-run__bar i { animation: pt-bar .8s var(--ease-out) .1s both; } }
@keyframes pt-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pt-run__score { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.pt-run__score b { font: 600 1.25rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pt-run__score .status { font-size: .75rem; }

.pt-run__ev:focus { outline: none; }
.pt-run__ev-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.pt-run__ev-title { font: 600 1.0625rem/1.35 var(--display); letter-spacing: -.015em; color: var(--ink); }
.pt-run__ev-hook { font-size: var(--fs-caption); font-weight: 600; color: var(--amber-ink); }
.pt-run__parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
@media (min-width: 560px) { .pt-run__parts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pt-run__part { padding: 10px 12px; border-radius: 12px; background: #ffffff0a; box-shadow: inset 0 0 0 1px var(--line); }
.pt-run__part span { display: block; font-size: var(--fs-micro); color: var(--muted); }
.pt-run__part b { display: block; margin-top: 4px; font: 600 1.0625rem/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.pt-run__part b small { font: 500 .8125rem/1 var(--sans); color: var(--muted); }
.pt-run__table { width: 100%; margin-top: 14px; font-size: var(--fs-caption); }
.pt-run__table th { padding: 8px 10px 8px 0; text-align: left; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.pt-run__table td { padding: 10px 10px 10px 0; vertical-align: top; color: var(--body); border-bottom: 1px solid var(--line-soft); line-height: 1.55; }
.pt-run__table td:first-child { font-weight: 600; color: var(--ink); }
@media (min-width: 720px) { .pt-run__table td:nth-child(2) { white-space: nowrap; } }
.pt-run__table tr:last-child td { border-bottom: 0; }
.pt-run__fit { font-weight: 600; white-space: nowrap; }
.pt-run__fit--strong { color: var(--ok); }
.pt-run__fit--partial { color: var(--warn); }
.pt-run__fit--gap { color: var(--bad); }
.pt-run__why { margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--amber); font-size: var(--fs-small); line-height: 1.6; color: var(--body); }
.pt-run__after { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 719px) {
  .pt-run__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pt-run__table, .pt-run__table tbody, .pt-run__table tr, .pt-run__table td { display: block; width: 100%; }
  .pt-run__table tr { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .pt-run__table tr:last-child { border-bottom: 0; }
  .pt-run__table td { padding: 2px 0; border: 0; }
  .pt-run__table td[data-label]:not(:first-child)::before { content: attr(data-label) " · "; color: var(--muted); font-weight: 500; }
  .pt-run__after .btn { flex: 1 1 auto; }
}
.pt-run-band > .container > .sample-note { margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
.pt-run-band .inline-link { color: var(--ink); }
.pt-run-band > .container > .sample-note { display: block; max-width: 44rem; margin-inline: auto; }
.pt-run-band > .container > .sample-note::before { display: inline-block; margin-right: 10px; vertical-align: .15em; }

/* ---------------------------------------------------------------------
   6. Workspace styles
--------------------------------------------------------------------- */
.pt-styles .pt-views__panel { max-width: 1080px; }
.pt-frame--style { --ar: 1440 / 1000; --ar-sm: 4 / 5; --pos-sm: 42% 0; }
.pt-seg--lg .pt-seg__btn { min-height: 44px; padding: 0 18px 0 14px; font-size: .9375rem; }
@media (max-width: 379px) { .pt-seg--lg .pt-seg__btn { padding: 0 10px 0 9px; font-size: .8125rem; gap: 6px; } }
@media (max-width: 639px) {
  .js .pt-styles .pt-seg--lg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; overflow: visible; }
  .pt-styles .pt-seg--lg .pt-seg__btn { min-width: 0; padding-inline: 5px; font-size: .8125rem; }
  .pt-styles .pt-swatch { display: none; }
  .pt-snav__link { min-height: 44px; }
}
@media (min-width: 1024px) and (max-width: 1139px) { .pt-snav__link { min-height: 44px; } }
.pt-swatch { width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(34,37,34,.14); }
.pt-swatch--glass { background: linear-gradient(150deg, #fff, #F3DCC4); }
.pt-swatch--studio { background: #F1F0EB; }
.pt-swatch--editorial { background: linear-gradient(150deg, #F6EBDD, #C9A77E); }
.pt-swatch--signal { background: linear-gradient(150deg, #DDE6D7, #75866C); }
.pt-style__cap { max-width: 36rem; margin: clamp(1.25rem, 1rem + 1vw, 2rem) auto 0; text-align: center; }
.pt-style__cap h3 { font-size: var(--fs-h4); letter-spacing: -.02em; }
.pt-style__cap p { margin-top: 6px; font-size: var(--fs-body); line-height: 1.6; color: var(--body); }
.pt-style__cap strong { color: var(--ink); font-weight: 600; }
.pt-style-note { margin-top: 20px; }
@media (min-width: 1920px) { .pt-styles .pt-views__panel { max-width: 1200px; } }

/* ---------------------------------------------------------------------
   7. Boundaries
--------------------------------------------------------------------- */
.pt-bound { text-align: left; }
.pt-bound__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--forest); background: linear-gradient(160deg, #E9F0E6, #D7E2D2); box-shadow: inset 0 0 0 1px rgba(32,60,53,.12); }
.pt-bound__icon .ic { width: 21px; height: 21px; }
.pt-bound h3 { margin-top: 20px; font-size: clamp(1.25rem, 1.12rem + .5vw, 1.5rem); letter-spacing: -.03em; line-height: 1.2; }
.pt-bound p { margin-top: 10px; font-size: var(--fs-body); line-height: 1.65; color: var(--body); }
.pt-bounds__more { display: flex; justify-content: center; margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }

/* ---------------------------------------------------------------------
   8. Closing CTA
--------------------------------------------------------------------- */
.pt-cta { overflow: clip; }
.pt-cta__slab { display: flex; flex-direction: column; align-items: center; text-align: center; --panel-pad: clamp(2.25rem, 1.4rem + 4vw, 4.5rem); }
.pt-cta__mark { --mark: clamp(56px, 3rem + 2vw, 76px); }
.pt-cta__slab h2 { margin-top: 22px; }
.pt-cta__slab .lead { margin-top: 16px; max-width: 34rem; }
.pt-cta__note { margin-top: 14px; font-size: var(--fs-caption); color: var(--muted); }

/* ---------------------------------------------------------------------
   Accessibility modes (mirror site.css)
--------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .pt-index__traveler { display: none; }
  .pt-index__toggle .ic { transition: none; }
  .pt-enter, .pt-run__chips .chip, .pt-run__row, .pt-run__bar i { animation: none !important; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .pt-snav__scroller { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); border-color: var(--line2); }
  .pt-tour__tabs, .pt-tour__play, .pt-stage__num, .pt-index__stop { background: var(--paper); border-color: var(--line2); }
  .pt-snav { background: var(--bg); }
}
@media (prefers-contrast: more) {
  .pt-seg, .pt-tour__tabs, .pt-list, .pt-run__row, .pt-doc { box-shadow: inset 0 0 0 1px currentColor; }
}
@media (forced-colors: active) {
  .pt-seg__btn[aria-selected="true"], .pt-tab[aria-selected="true"], .pt-snav__link.is-active { outline: 2px solid Highlight; outline-offset: -2px; }
  .pt-index__rail, .pt-index__traveler, .pt-tab__bar { display: none; }
  .pt-run__row[aria-pressed="true"] { outline: 2px solid Highlight; }
  .pt-list, .pt-doc, .pt-snav__scroller, .pt-tour__tabs { border: 1px solid CanvasText; }
}
@media print {
  .pt-seg, .pt-tour__controls, .pt-tour__nav, .pt-tour__dots, .pt-snav { display: none !important; }
  .pt-views__panel[hidden], .pt-tour__panel[hidden] { display: block !important; }
}
/* V2: one connected workflow, progressively disclosed detail. */
.pt-hero { --under-nav-pad: clamp(2.75rem, 1.6rem + 3vw, 5rem); padding-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.pt-hero__title { max-width: 13em; }
.pt-hero__lead { max-width: 37rem; }
.pt-shortcuts { gap: 4px 24px; margin-top: 20px; }
.pt-workflow { padding-top: 20px; }
.pt-workflow > .container > .section-head { margin-bottom: 28px; }
.pt-workflow > .container > .section-head h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); }
.pt-workflow > .container > .section-head .lead { font-size: 1rem; max-width: 37rem; }
.pt-explorer { display: grid; gap: 24px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.pt-explorer__rail { display: none; }
.pt-explorer__content { min-width: 0; }
.pt-explorer__mobile { display: none; }
.is-interactive .pt-explorer__mobile { display: block; }
.pt-explorer__mobile label { display: block; font-size: .8125rem; font-weight: 600; margin-bottom: 8px; color: var(--muted); }
.pt-explorer__mobile select { width: 100%; min-height: 50px; padding: 12px 38px 12px 16px; border: 1px solid var(--line2); border-radius: 12px; background: var(--paper); color: var(--ink); font: 600 1rem/1.3 var(--sans); }
.pt-explorer__pager { display: none; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 10px 0 14px; margin-bottom: 24px; }
.is-interactive .pt-explorer__pager { display: flex; }
.pt-explorer__pager button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; font-size: .8125rem; font-weight: 600; color: var(--ink); }
.pt-explorer__pager button .ic { width: 17px; height: 17px; }
.pt-explorer__pager button:disabled { opacity: .4; cursor: default; }
.pt-explorer__pager button:last-child { text-align: right; max-width: 52%; }
.pt-explorer__pager p { font: 500 .8125rem var(--mono); white-space: nowrap; }
.pt-explorer__pager p span { color: var(--muted); }
.pt-stage { scroll-margin-top: calc(var(--nav-h) + 30px); padding: 0; }
.pt-stage[hidden] { display: none !important; }
.pt-stage + .pt-stage:not([hidden]) { margin-top: 0; }
.pt-stage__head { text-align: center; max-width: 42rem; margin: 0 auto 24px; }
.pt-stage__num { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.pt-stage__num b { color: var(--amber-ink); font-family: var(--mono); }
.pt-stage__head h3 { margin-top: 10px; font-size: clamp(1.5rem, 1rem + 1.9vw, 2.4rem); line-height: 1.15; letter-spacing: -.04em; text-wrap: balance; }
.pt-stage__lead { margin: 14px auto 0; max-width: 39rem; color: var(--body); font-size: 1rem; line-height: 1.6; }
.pt-stage__media { margin-top: 22px; }
.pt-stage__media .sample-note { margin-top: 12px; }
.pt-stage .pt-frame { --ar: 1440 / 850; }
.pt-detail, .pt-memory-group { border-block: 1px solid var(--line); margin-top: 24px; background: transparent; }
.pt-detail > summary, .pt-memory-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 16px 2px; cursor: pointer; list-style: none; font: 600 .9375rem/1.45 var(--sans); color: var(--ink); }
.pt-detail summary::-webkit-details-marker, .pt-memory-group summary::-webkit-details-marker { display: none; }
.pt-detail > summary .ic, .pt-memory-group > summary .ic { flex: none; width: 18px; height: 18px; transition: transform .2s ease; }
.pt-detail[open] > summary .ic, .pt-memory-group[open] > summary .ic { transform: rotate(45deg); }
.pt-detail__body { padding-bottom: 22px; }
.pt-detail .pt-stage__lists { margin-top: 0; }
.pt-detail .pt-list { box-shadow: none; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.pt-detail .pt-list--client { background: #fcf9f3; }
.pt-explorer__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 22px; font-size: .8125rem; color: var(--muted); text-align: center; }
.pt-explorer__foot .link { font-size: .875rem; }
.pt-daily__panel { display: grid; gap: 24px; width: 100%; }
.pt-daily__panel[hidden] { display: none; }
.pt-daily__copy { text-align: center; max-width: 36rem; margin: 0 auto; }
.pt-daily__copy h3 { font-size: 1.5rem; letter-spacing: -.035em; line-height: 1.2; }
.pt-daily__copy p { margin-top: 12px; color: var(--body); font-size: .9375rem; line-height: 1.65; }
.pt-daily .frame { max-width: 850px; margin-inline: auto; }
.pt-day-notes { display: grid; gap: 24px; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 26px; }
.pt-day-notes h3 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.025em; }
.pt-day-notes p { margin-top: 8px; font-size: .9375rem; line-height: 1.65; color: var(--body); }
.pt-memory { max-width: 960px; margin-inline: auto; }
.pt-memory-group { margin-top: 0; border-top: 0; }
.pt-memory-group:first-child { border-top: 1px solid var(--line); }
.pt-memory-group > summary { min-height: 100px; }
.pt-memory-group > summary > span { display: flex; align-items: baseline; gap: 20px; }
.pt-memory__n { font: 500 .875rem var(--mono); color: var(--amber-ink); }
.pt-memory-group strong { display: block; font: 500 clamp(1.1rem, .85rem + 1vw, 1.5rem)/1.3 var(--display); letter-spacing: -.03em; }
.pt-memory-group small { display: block; font: 400 .875rem/1.5 var(--sans); margin-top: 6px; color: var(--muted); }
.pt-memory-group__body { display: grid; gap: 22px; padding: 0 0 28px 40px; }
.pt-memory__item h3 { font: 600 .9375rem/1.4 var(--sans); color: var(--ink); }
.pt-memory__item p { margin-top: 7px; font-size: .9375rem; line-height: 1.65; color: var(--body); }
.pt-bound { padding: 24px 0; border-top: 1px solid var(--line); }
.pt-bound h3 { font-size: 1.25rem; }
.pt-bound p { font-size: .9375rem; }
.pt-bound__icon { width: 32px; height: 32px; }
@media (min-width: 720px) {
  .pt-day-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .pt-memory-group__body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; }
}
@media (min-width: 1024px) {
  .pt-explorer { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; max-width: 1180px; margin-inline: auto; }
  .pt-explorer__rail { display: block; position: sticky; top: calc(var(--nav-h) + 30px); align-self: start; }
  .pt-explorer__rail > p { padding-left: 18px; font: 500 .75rem/1.3 var(--mono); color: var(--muted); }
  .pt-explorer__rail ol { position: relative; margin: 20px 0; border-left: 1px solid var(--line2); }
  .pt-explorer__rail a { display: flex; align-items: center; gap: 12px; min-height: 49px; padding: 10px 12px 10px 18px; border-radius: 0 9px 9px 0; font-size: .875rem; color: var(--body); }
  .pt-explorer__rail a b { font: 500 .75rem var(--mono); color: var(--muted); }
  .pt-explorer__rail a[aria-current] { background: #f5eadb; box-shadow: -2px 0 0 var(--amber); color: var(--ink); font-weight: 600; }
  .pt-explorer__rail a[aria-current] b { color: var(--amber-ink); }
  .pt-explorer__rail a:hover { background: #f0eee8; }
  .is-interactive .pt-explorer__mobile { display: none; }
  .pt-explorer__pager { padding-top: 0; margin-bottom: 28px; }
  .pt-daily__panel { grid-template-columns: .65fr 1.35fr; gap: 42px; align-items: center; }
  .pt-daily__copy { text-align: left; }
  .pt-daily .pt-seg { align-self: flex-start; }
  .pt-daily .frame { --ar: 1440 / 1000; }
}
@media (max-width: 639px) {
  .pt-explorer__pager { gap: 8px; }
  .pt-explorer__pager button:first-child span { display: none; }
  .pt-explorer__pager button:first-child { width: 38px; }
  .pt-explorer__pager button:last-child { max-width: 66%; }
  .pt-stage .pt-frame, .pt-daily .pt-frame { --ar-sm:1080 / 1500; max-width: 370px; margin-inline: auto; }
  .pt-workflow { padding-top: 16px; }
  .pt-detail > summary { font-size: .875rem; }
  .pt-memory-group__body { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .pt-detail > summary .ic, .pt-memory-group > summary .ic { transition: none; } }
@media (forced-colors: active) { .pt-explorer__rail a[aria-current] { outline: 2px solid Highlight; } }
@media print { .pt-stage[hidden] { display: block !important; } .pt-explorer__rail,.pt-explorer__pager,.pt-explorer__mobile { display:none!important; } }
@media (min-width: 760px) { .pt-bounds { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; } }
@media (max-width: 639px) { .pt-run__empty { min-height: 88px; } }
/* The authored example remains understandable when scripting is unavailable. */
.pt-nojs { max-width: 45rem; margin: 0 auto 24px; padding: 18px; border: 1px solid var(--line2); border-radius: 12px; font-size: .9375rem; line-height: 1.65; }
html:not(.js) [data-run-go], html:not(.js) [data-run-empty], html:not(.js) [data-kw], html:not(.js) .pt-interactive-hint { display: none !important; }

/* Final: keep the evidence readable and keyboard responses immediate. */
.pt-enter { animation-duration: 200ms; }
.pt-run.is-instant .pt-run__chips .chip,
.pt-run.is-instant .pt-run__row,
.pt-run.is-instant .pt-run__bar i { animation: none !important; }
.pt-daily > .sample-note, .pt-stage__media > .sample-note {
  max-width: 48rem; margin-inline: auto; text-wrap: pretty;
}
.pt-run__ev { scroll-margin-top: calc(var(--nav-h) + 24px); }
@media (max-width: 559px) {
  .pt-run__row { grid-template-columns: 18px minmax(0,1fr) 94px; gap: 7px 10px; align-items: start; padding: 15px 12px; }
  .pt-run__rank { padding-top: 4px; }
  .pt-run__name, .pt-run__meta { white-space: normal; overflow: visible; text-overflow: clip; }
  .pt-run__meta { line-height: 1.45; }
  .pt-run__score { padding-top: 2px; }
  .pt-run__score .status { text-align: center; white-space: normal; }
  .pt-run__table { font-size: .875rem; }
}
