.px-showcase {
  --px-ink: #182b3c;
  --px-muted: #52616a;
  --px-rule: #ccc8be;
  --px-bronze: #825e36;
  color-scheme: light;
  background: #f8f6ef;
  color: var(--px-ink);
  scroll-margin-top: 1rem;
}
.px-inner { width: var(--rail); margin-inline: auto; padding-block: clamp(3.5rem, 6.5vw, 6.75rem); }
.px-intro { display: flex; align-items: end; justify-content: space-between; column-gap: 2rem; }
.px-intro h2 {
  margin: 0;
  font-size: clamp(3.3rem, 5.7vw, 5.8rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.075em;
}
.px-intro h2 em { display: inline-block; font: italic 400 1.05em/.98 Georgia, serif; letter-spacing: -.075em; }
.px-intro p { max-width: 30ch; margin: 0 0 .12rem; color: var(--px-muted); font-size: clamp(.98rem, 1.3vw, 1.11rem); }
.px-controls { display: flex; gap: clamp(.7rem, 2.7vw, 3rem); margin: clamp(1.4rem, 2.8vw, 2.75rem) 0 0; padding: 0; min-width: 0; border: 0; border-bottom: 1px solid var(--px-rule); }
.px-hidden, .px-choice input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.px-choice { display: flex; align-items: center; position: relative; cursor: pointer; min-height: 3rem; padding: 0 .15rem; color: var(--px-muted); }
.px-choice span { font-weight: 550; letter-spacing: -.02em; }
.px-choice::before {
  content: ''; width: .42rem; height: .42rem; flex: none; border-radius: 50%; margin-right: .5rem;
  background: transparent; border: 1px solid #858984;
}
.px-choice::after { content: ''; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--px-bronze); transform: scaleX(0); }
.px-choice:has(input:checked) { color: var(--px-ink); }
.px-choice:has(input:checked)::before { background: var(--px-bronze); border-color: var(--px-bronze); box-shadow: 0 0 0 3px #ead2ad80; }
.px-choice:has(input:checked)::after { transform: scaleX(1); }
.px-choice:has(input:focus-visible), .sample-approve:focus-visible { outline: 2px solid var(--px-bronze); outline-offset: 3px; }
.px-spread { display: grid; grid-template-columns: minmax(0,1.42fr) minmax(0,1fr); align-items: stretch; gap: clamp(2.5rem, 5vw, 6.3rem); margin-top: clamp(1.25rem, 2.45vw, 2.35rem); }
.desk-photos { position: relative; isolation: isolate; overflow: hidden; background: #283930; min-height: clamp(24rem, 31vw, 32rem); }
.desk-photos figure { margin: 0; }
.desk-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.desk-photo.is-current { opacity: 1; }
.desk-photo[data-scene="sport"] { object-position: 50% 57%; }
.desk-photo[data-scene="salon"] { object-position: 50% 61%; }
.desk-photos::after { content: ''; position: absolute; z-index: 1; inset: 23% 0 0; pointer-events: none; background: linear-gradient(0deg,#081318b0,transparent 75%); }
.desk-photos figcaption {
  position: absolute; z-index: 2; opacity: 0; inset: auto 1rem clamp(1rem, 2.35vw, 2.5rem) clamp(1.1rem, 2.5vw, 2.65rem);
  font: 500 clamp(2.55rem, 4.1vw, 4.6rem)/1 "DM Sans", sans-serif; color: #fff9ed; letter-spacing: -.075em;
}
.desk-photo.is-current + figcaption { opacity: 1; }
.desk-calendar-entry {
  position: absolute; z-index: 2; inset: clamp(.8rem, 1.6vw, 1.5rem) auto auto clamp(.8rem, 1.6vw, 1.5rem);
  display: flex; align-items: center; gap: .7rem; padding: .52rem .85rem .52rem .62rem;
  background: #faf7ee; color: var(--px-ink); border-radius: .2rem; opacity: 0;
  transform: translateY(-5px); pointer-events: none;
}
.desk-calendar-day { border-right: 1px solid #c9c4b8; padding-right: .7rem; color: #425d4d; font-weight: 650; }
.desk-calendar-entry div { display: grid; line-height: 1.2; gap: .1rem; }
.desk-calendar-entry div span { font-size: .7rem; color: #425d4d; }
.desk-calendar-time { font-size: .96rem; font-variant-numeric: tabular-nums; }
.px-spread:has(.px-result[data-approved="true"]) .desk-calendar-entry { opacity: 1; transform: none; }
.px-result { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.px-slip-head, .px-action-row, .px-details > div { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.px-slip-head { padding-bottom: .95rem; border-bottom: 1px solid #748086; font-weight: 550; }
.px-status { display: inline-flex; align-items: center; gap: .47rem; color: #76522e; font-size: .84rem; font-weight: 500; white-space: nowrap; }
.px-status::before { content: ''; width: .43rem; height: .43rem; border-radius: 50%; background: #a47646; }
.px-result[data-approved="true"] .px-status { color: #376046; }
.px-result[data-approved="true"] .px-status::before { background: #427653; }
.px-type { margin: clamp(1.35rem, 2.3vw, 2.2rem) 0 .3rem; color: var(--px-bronze); font-size: .88rem; font-weight: 550; }
.px-view-title { margin: 0; font: 400 clamp(2.2rem, 3.4vw, 3.8rem)/1.03 Georgia, serif; letter-spacing: -.065em; }
.px-detail { margin: .5rem 0 0; color: var(--px-muted); }
.px-details { margin: clamp(1.25rem, 2.25vw, 2.25rem) 0 0; font-size: .94rem; }
.px-details > div { padding: .3rem 0; }
.px-details dt, .px-total > span { color: var(--px-muted); }
.px-details dd { margin: 0; text-align: right; font-weight: 550; font-variant-numeric: tabular-nums; }
.px-dot { padding-inline: .15rem; color: var(--px-bronze); }
.px-action-row { border-top: 1px solid var(--px-rule); margin-top: 1.3rem; padding-top: 1.15rem; }
.px-total { display: flex; flex-direction: column; gap: .1rem; }
.px-total > span { font-size: .82rem; }
.px-total strong { font-weight: 550; font-size: 1.85rem; line-height: 1; letter-spacing: -.06em; }
.sample-approve { display: inline-flex; align-items: center; gap: .85rem; min-height: 46px; padding: .65rem 1rem; border-radius: .3rem; background: var(--px-ink); color: #fff; border: 1px solid var(--px-ink); font-weight: 600; }
.px-result[data-approved="true"] .sample-approve { color: var(--px-ink); background: transparent; border-color: #acafa9; }
@media (hover: hover) {
  .sample-approve:hover { background: #324956; }
  .sample-approve:hover .px-arrow { transform: translateX(2px); }
  .px-choice:hover { color: var(--px-ink); }
}
@media (prefers-reduced-motion: no-preference) {
  .desk-photo { transition: opacity 360ms ease; }
  .desk-calendar-entry { transition: opacity 180ms ease, transform 230ms ease; }
  .desk-photos figcaption { transition: opacity 170ms ease; }
  .px-choice::after { transition: transform 180ms ease; }
  .sample-approve, .px-arrow { transition: background-color 160ms ease, transform 160ms ease; }
}
@media (max-width: 850px) {
  .px-intro { align-items: start; }
  .px-intro p { max-width: 24ch; }
  .px-spread { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 1.8rem; }
}
@media (max-width: 670px) {
  .px-inner { padding-block: 3.4rem; }
  .px-intro { display: block; }
  .px-intro h2 { font-size: clamp(2.55rem, 8.3vw, 3.4rem); }
  .px-intro p { margin-top: .8rem; max-width: 38ch; font-size: .97rem; }
  .px-controls { justify-content: space-between; gap: .35rem; margin-top: 1rem; }
  .px-choice { min-height: 46px; font-size: .9rem; }
  .px-spread { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 1rem; }
  .desk-photos { min-height: 0; aspect-ratio: 2.45; }
  .desk-photos figcaption { font-size: clamp(2rem, 6.9vw, 2.8rem); bottom: .9rem; }
  .px-type { margin-top: 1.12rem; }
  .px-details { margin-top: 1rem; }
  .px-action-row { margin-top: .9rem; padding-top: .9rem; }
}
@media (max-width: 390px) {
  .px-choice::before { margin-right: .32rem; width: .33rem; height: .33rem; }
  .px-choice { font-size: .85rem; }
}
@media (forced-colors: active) {
  .px-choice:has(input:checked) span { text-decoration: underline; }
  .px-status::before { border: 1px solid currentColor; }
}
