/* Shared by the public order and its embedded studio previews. */
.client-status-body { font-size: var(--text-ui); line-height: var(--line-body); background: var(--client-background); color: var(--client-ink); color-scheme: light; -webkit-font-smoothing: antialiased; }
body.client-status-body { padding: 24px 32px 48px; }
.client-status-body .privacy-footer { color: var(--client-muted); }
.client-status-body a { color: var(--client-ink); text-decoration: none; }
.client-status-body .section-description, .client-status-body .field-label, .client-status-body .field-hint, .client-status-body .breadcrumbs { color: var(--client-muted); }
.client-status { width: 100%; max-width: 960px; margin: 0 auto; background: var(--client-background); color: var(--client-ink); font-size: 16px; line-height: 24px; letter-spacing: var(--tracking-ui); container: client-page / inline-size; }
body.client-status-body .client-status:not(.client-approval-page) { padding: 32px; background: var(--client-sheet); }
.client-status__masthead { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding-block: 8px 16px; border-bottom: 2px solid var(--client-ink); margin-bottom: 0; }
.client-studio-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; color: var(--client-ink); }
.client-studio-symbol img { display: block; width: auto; max-width: 112px; height: 40px; object-fit: contain; }
.client-studio-brand > span { min-width: 0; }
.client-studio-symbol { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; background: var(--ink); color: var(--surface); border-radius: 0; font-size: 14px; font-weight: 600; line-height: 1; }
.client-studio-symbol > span { display: grid; place-items: center; width: 100%; height: 100%; }
.client-studio-symbol:has(img:not([hidden])) { width: auto; flex-basis: auto; }
.client-studio-symbol[data-surface="light"] { background: var(--surface); }
.client-studio-symbol[data-surface="dark"] { background: var(--ink); }
.client-studio-symbol[data-surface="neutral"] { background: var(--muted); }
.client-studio-symbol [hidden] { display: none; }
.client-studio-brand strong { display: block; font-size: 18px; line-height: 24px; font-weight: 600; }
.client-studio-brand strong, .client-recipient, .client-specs dd, .client-product-specs dd, .client-status__footer { overflow-wrap: anywhere; }
.client-status__context { font-variant-numeric: tabular-nums; flex: 0 1 auto; overflow-wrap: anywhere; text-align: right; color: var(--client-muted); font-size: 16px; line-height: 24px; }
.client-story { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: "identity identity" "facts facts" "stages photo"; align-items: start; gap: 24px 32px; padding-top: 24px; }
.client-story:not(:has(.client-facts)) { grid-template-areas: "identity identity" "stages photo"; }
.client-story:not(:has(.client-progress)) { grid-template-areas: "identity photo" "facts photo"; align-content: start; }
.client-status__hero--without-photo .client-story { display: flex; flex-direction: column; align-items: stretch; }
.client-piece-intro { grid-area: identity; min-width: 0; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.client-status__hero h1 { margin: 0; font: 600 clamp(40px, 8cqi, 64px)/1.02 var(--sans); overflow-wrap: anywhere; }
.client-recipient { flex: 0 1 auto; min-width: 0; text-align: right; font-size: 16px; line-height: 24px; }
.client-recipient__label, .client-purchased, .client-facts dt, .client-progress__position { color: var(--client-muted); font: 400 14px/20px var(--sans); }
.client-recipient__name, .client-purchased, .client-facts dd { margin: 0; }
.client-facts { grid-area: facts; display: flex; align-items: stretch; margin: 0; padding: 16px; gap: 16px; background: var(--client-surface); --accent: var(--client-accent); --input-line: var(--client-line); }
.client-facts > div { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.client-facts > div + div { padding-left: 16px; border-left: 1px solid var(--client-line); }
.client-facts > .client-quantity { flex-grow: .6; }
.client-facts dd { margin-top: 4px; font: 600 20px/28px var(--sans); font-variant-numeric: tabular-nums; }
.client-facts dd strong { font-weight: 600; }
.client-product-photo { grid-area: photo; justify-self: end; display: table; max-width: 100%; min-width: 0; margin: 0; color: var(--client-muted); }
.client-product-photo__image { display: block; width: auto; max-width: 100%; max-height: 480px; height: auto; object-fit: contain; }
.client-product-photo figcaption { display: table-caption; caption-side: bottom; }
.client-product-photo figcaption, .client-photo-grid figcaption { padding-top: 8px; font-size: 12px; line-height: 16px; overflow-wrap: anywhere; }
.client-progress { grid-area: stages; min-width: 0; --accent: var(--client-accent); --input-line: var(--client-line); }
.client-status .client-progress__stages > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 44px; padding: 0; margin: 0; list-style: none; border: 0; background: transparent; color: var(--client-ink); cursor: pointer; }
.client-status summary:has(.client-progress__chevron)::-webkit-details-marker { display: none; }
.client-status .client-progress__stages > summary:hover { background: transparent; color: var(--client-ink); }
.client-status .client-progress__stages > summary:focus-visible { outline: 2px solid var(--client-accent-ink); outline-offset: 2px; }
.client-progress__caption { font: 600 18px/24px var(--sans); }
.client-progress__chevron { margin-left: auto; margin-right: 4px; width: 8px; height: 8px; flex: none; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
details[open] > summary .client-progress__chevron { transform: rotate(225deg); }
.client-timeline { list-style: none; margin: 0; padding: 0; }
.client-timeline__step { display: flex; align-items: baseline; gap: 12px; min-width: 0; padding: 8px 0; border-bottom: 1px solid var(--client-line); font: 400 14px/20px var(--sans); color: var(--client-muted); }
.client-timeline__label { overflow-wrap: anywhere; }
.client-timeline__step--complete .client-timeline__label, .client-timeline__step--current { color: var(--client-ink); }
.client-timeline__step--current .client-timeline__label { font-weight: 600; }
.client-timeline__current { margin-left: auto; font-size: 12px; color: var(--client-accent-ink); }
.client-story__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 32px; align-items: start; }
.client-story__details > :only-child { grid-column: 1 / -1; }
.client-product-specs h2 { margin: 0 0 12px; font: 600 16px/24px var(--sans); }
.client-product-specs dl { margin: 0; }
.client-product-specs dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: baseline; gap: 16px; padding: 8px 0; border-top: 1px solid var(--client-line); }
.client-product-specs dt { color: var(--client-muted); font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.client-product-specs dd, .client-product-specs dd p { margin: 0; }
.client-status__hero + :is(.client-shipping-details, .client-catalog-specs, .client-photos, .client-status__footer) { margin-top: 32px; }
.client-shipping-details, .client-catalog-specs, .client-photos { border-top: 1px solid var(--client-line); }
.client-status :is(.client-shipping-details, .client-catalog-specs) > summary { display: flex; align-items: center; gap: 8px; list-style: none; padding: 16px 0; cursor: pointer; font-size: 18px; line-height: 24px; font-weight: 600; transition: background-color var(--motion-quick) ease-out; }
.client-status :is(.client-shipping-details, .client-catalog-specs) > summary:hover { background: color-mix(in srgb, var(--client-background), var(--client-ink) 3%); }
.client-status :is(.client-shipping-details, .client-catalog-specs) > summary:active { background: var(--client-surface); }
.client-status :is(.client-shipping-details, .client-catalog-specs) > summary:focus-visible { outline: 2px solid var(--client-accent); outline-offset: 4px; }
.client-shipping-details__body { padding: 8px 0 24px; }
.client-shipping-details .client-shipping > .client-section-heading { display: none; }
.client-photos { padding: 32px 0; }
.client-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.client-status .client-section-heading h2 { font: 600 16px/24px var(--sans); letter-spacing: var(--tracking-ui); color: var(--client-ink); }
.client-section-heading > span, .client-section-heading > time { color: var(--client-muted); font-size: 14px; line-height: 20px; }
.client-update-section .client-section-heading { justify-content: flex-start; flex-wrap: wrap; }
.client-update-copy { max-width: 60ch; font-size: var(--client-copy-size); line-height: var(--client-copy-line); color: var(--client-copy); overflow-wrap: anywhere; }
.client-update-copy p + p { margin-top: 8px; }
.client-update-copy .client-update-text { white-space: normal; font-size: inherit; line-height: inherit; }
.client-specs dl { display: block; margin: 0; }
.client-specs dl > div { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 12px; align-items: center; min-height: 40px; }
.client-specs dt { color: var(--client-muted); font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.client-specs dd { margin: 0; font-size: 16px; line-height: 24px; }
.client-specs dd p { margin: 0; }
.client-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.client-photo-grid img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: contain; }
.client-photo-grid figure { margin: 0; }
.client-catalog-specs { padding-bottom: 16px; }
.client-catalog-specs:not([open]) { padding-bottom: 0; }
.client-catalog-specs__notice { color: var(--client-muted); font-size: 14px; line-height: 20px; }
.client-catalog-specs > p { margin-top: 16px; }
.client-status__footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid var(--client-line); color: var(--client-ink); font-size: 18px; line-height: 28px; }
.client-studio-contact strong { color: var(--client-ink); font-size: 16px; font-weight: 600; }
.client-studio-contact p { margin: 4px 0 0; color: var(--client-muted); font-size: 14px; line-height: 20px; }
.client-status .button, .client-status .text-link { color: var(--client-ink); background: transparent; }
.client-status .button { line-height: 1; letter-spacing: var(--tracking-ui); }
.client-status .button--quiet { border: 1px solid transparent; }
.client-status .button--secondary { border-color: var(--client-ink); }
.client-status .button:hover, .client-status .text-link:hover { background: var(--client-hover); }
.client-status__footer > .button { flex-shrink: 0; height: auto; min-height: 44px; padding: 8px 16px; border-width: 1px; font-size: 14px; }
.publication-preview__page .client-status, .appearance-review__page .client-status { padding: 32px; margin: 0; max-width: none; background: var(--client-sheet); }
.client-status.client-approval-page { max-width: 780px; }
.client-approval-page h1 { font: 600 var(--client-title-size)/var(--client-title-line) var(--sans); }
.client-approval-page .client-kicker { font-family: var(--sans); }
.client-approval-page .breadcrumbs a { display: inline-flex; align-items: center; min-height: var(--control-height); border-radius: var(--radius-control); }
.client-approval-page .form-errors { background: transparent; border-radius: 0; }
@container client-page (max-width: 560px) {
  .client-story, .client-story:not(:has(.client-facts)), .client-story:not(:has(.client-progress)) { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-areas: "identity photo" "facts facts" "stages stages"; gap: 16px; padding-top: 16px; }
  .client-story:not(:has(.client-facts)) { grid-template-areas: "identity photo" "stages stages"; }
  .client-story:not(:has(.client-progress)) { grid-template-areas: "identity photo" "facts facts"; }
  .client-piece-intro { display: block; align-self: center; width: 100%; }
  .client-status__hero h1 { font-size: clamp(28px, 7.6cqi, 40px); }
  .client-recipient { margin-top: 8px; text-align: left; font-size: 14px; line-height: 20px; }
  .client-facts { padding: 12px; gap: 8px; }
  .client-facts > div + div { padding-left: 8px; }
  .client-facts > .client-quantity { flex-grow: .45; min-width: min(56px, 25%); }
  .client-facts .stage-marker { gap: 4px; }
  .client-facts dt { font-size: 12px; line-height: 16px; }
  .client-facts dd { font-size: 16px; line-height: 20px; }
  .client-product-photo__image { max-height: 224px; }
  .client-progress__caption { font-size: 16px; }
  .client-story__details { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .client-section-heading { gap: 8px; }
  .client-status__masthead { gap: 16px; }
  .client-studio-brand { gap: 8px; }
  .client-studio-brand strong { font-size: 14px; line-height: 20px; }
  .client-status__context { font-size: 14px; line-height: 20px; }
  .client-photo-grid { grid-template-columns: 1fr; }
  .client-status__footer { flex-wrap: wrap; padding-block: 32px; }
}
@container client-page (max-width: 320px) {
  .client-facts { padding: 8px; }
  .client-facts dd { font-size: 14px; }
}
@media (max-width: 600px) {
  body.client-status-body { padding: 0; }
  body.client-status-body .client-status:not(.client-approval-page) { padding: 16px; }
  .publication-preview__page .client-status, .appearance-review__page .client-status { padding: 20px; }
}
