.pc-root { --pc-fast: 150ms; --pc-radius: 8px; min-width: 0; color: var(--ink, #203d36); }
.pc-root [hidden] { display: none !important; }
.pc-root button, .pc-root textarea { font: inherit; }
.pc-root button { -webkit-tap-highlight-color: transparent; }
.pc-root button:focus-visible, .pc-root textarea:focus-visible { outline: 3px solid var(--rust, #a84d35); outline-offset: 4px; }
.pc-root ::selection { background: var(--ink, #203d36); color: var(--surface, #fffdf8); }
.pc-overview { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; margin-bottom: 16px; }
.pc-overview p { margin: 0; }
.pc-completion { font-size: 14px; font-weight: 600; }
.pc-local-note { color: var(--muted, #5b6a61); font-size: 13px; }
.pc-views { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 28px; }
.pc-view { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px; border: 1px solid var(--line, #c8cec4); border-radius: var(--pc-radius); background: transparent; color: inherit; cursor: pointer; text-align: left; transition: background-color var(--pc-fast), border-color var(--pc-fast); }
.pc-view:hover { background: #e9ede5; }
.pc-view.is-current { background: #e3e7dd; border-color: var(--ink, #203d36); outline: 1px solid var(--ink, #203d36); outline-offset: -2px; }
.pc-view-label { font-size: 13px; font-weight: 600; line-height: 1.25; }
.pc-view-status { font-size: 11px; color: var(--muted, #5b6a61); }
.pc-view.is-resolved .pc-view-status { color: var(--ink, #203d36); }
.pc-thumb { display: grid; place-items: center; width: 100%; height: 47px; margin-bottom: 5px; overflow: hidden; color: var(--muted, #5b6a61); font-size: 17px; font-variant-numeric: tabular-nums; }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.pc-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.pc-media { min-width: 0; margin: 0; }
.pc-stage { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--pc-radius); background: #e5e9e0; }
.pc-stage > img, .pc-stage > video { width: 100%; height: 100%; object-fit: contain; grid-area: 1 / 1; }
.pc-stage .pc-guide { padding: 12px; box-sizing: border-box; }
.pc-stage .pc-video { background: #203d36; object-fit: contain; }
.pc-stage .is-mirrored { transform: scaleX(-1); }
.pc-framing { position: absolute; inset: 0; pointer-events: none; display: grid; place-items: center; }
.pc-framing span { width: 72%; height: 46%; border: 2px dashed #fffdf8; border-radius: 14px; box-shadow: 0 0 0 1px #203d36; }
.pc-camera-state { position: absolute; inset: auto 12px 12px; margin: 0; padding: 10px 12px; background: var(--surface, #fffdf8); border-radius: 4px; font-size: 14px; }
.pc-caption { margin-top: 10px; color: var(--muted, #5b6a61); font-size: 12px; line-height: 1.5; }
.pc-task { min-width: 0; }
.pc-task-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.pc-task .pc-title { font: 400 clamp(26px, 3vw, 34px)/1.15 var(--font-display, 'Fraunces', Georgia, serif); letter-spacing: -0.025em; margin: 0; color: inherit; }
.pc-title:focus { outline: none; }
.pc-state { font-size: 12px; font-weight: 600; }
.pc-instruction { font-size: 16px; line-height: 1.6; margin: 0 0 12px; max-width: 55ch; }
.pc-help { color: var(--muted, #5b6a61); font-size: 14px; line-height: 1.6; margin: 14px 0 0; }
.pc-error { color: #8a3020; background: #f7e9e1; padding: 12px 14px; border-radius: 4px; font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.pc-status { font-size: 14px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.pc-status:not(:empty) { margin-bottom: 16px; }
.pc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pc-button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; max-width: 100%; padding: 11px 15px; border: 1px solid var(--line, #c8cec4); border-radius: 4px; background: transparent; color: var(--ink, #203d36); font-size: 14px !important; font-weight: 600 !important; line-height: 1.35; text-decoration: none; cursor: pointer; transition: background-color var(--pc-fast), color var(--pc-fast); }
.pc-button:hover { background: #e3e7dd; }
.pc-primary { color: var(--surface, #fffdf8); background: var(--ink, #203d36); border-color: var(--ink, #203d36); }
.pc-primary:hover { background: #31564b; }
.pc-button:disabled { cursor: not-allowed; opacity: 0.55; }
.pc-text-button { border-color: transparent; padding-inline: 4px; text-decoration: underline; text-underline-offset: 4px; }
.pc-file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.pc-file-help { color: var(--muted, #5b6a61); font-size: 12px; line-height: 1.6; margin: 12px 0 22px; }
.pc-skip-area { border-top: 1px solid var(--line, #c8cec4); padding-top: 17px; }
.pc-skip-toggle { min-height: 44px; padding: 2px 0; border: 0; background: transparent; color: var(--ink, #203d36); font-size: 14px !important; font-weight: 600 !important; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pc-skip-fields { padding-top: 12px; }
.pc-skip-label { display: block; font-size: 14px; font-weight: 600; }
.pc-skip-reason { display: block; width: 100%; margin-top: 8px; padding: 11px 12px; box-sizing: border-box; border: 1px solid var(--line, #c8cec4); border-radius: 4px; background: var(--surface, #fffdf8); color: var(--ink, #203d36); resize: vertical; font-size: 16px !important; line-height: 1.5; caret-color: var(--rust, #a84d35); }
.pc-skip-reason::placeholder { color: var(--muted, #5b6a61); opacity: 1; }
.pc-skip-reason[aria-invalid="true"] { border-color: #8a3020; }
.pc-skip-help, .pc-memory-note { font-size: 12px; line-height: 1.6; color: var(--muted, #5b6a61); margin: 9px 0 13px; }
.pc-memory-note { margin-top: 20px; }
.pc-view-navigation { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line, #c8cec4); padding-top: 20px; margin-top: 28px; }
.pc-view-position { color: var(--muted, #5b6a61); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 740px) {
  .pc-overview { margin-bottom: 10px; }
  .pc-local-note { display: none; }
  .pc-workspace { grid-template-columns: 1fr; gap: 16px; }
  .pc-views { display: flex; gap: 8px; max-width: calc(100% + 12px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 6px; padding: 6px 6px 10px; margin: -6px -6px 12px; scrollbar-width: thin; scrollbar-color: var(--muted, #5b6a61) transparent; }
  .pc-view { display: grid; flex: 0 0 112px; grid-template-columns: 24px minmax(0, 1fr); column-gap: 8px; padding: 9px; min-height: 62px; align-items: center; scroll-snap-align: start; box-sizing: border-box; }
  .pc-thumb { grid-row: 1 / 3; height: 38px; margin: 0; font-size: 15px; }
  .pc-view-label { align-self: end; font-size: 12px; }
  .pc-view-status { align-self: start; font-size: 11px; }
  .pc-media { max-width: 520px; width: 100%; margin-inline: auto; }
  .pc-stage { aspect-ratio: 4 / 2.8; }
  .pc-root:not(.pc-has-photo):not(.pc-is-live) .pc-stage { aspect-ratio: auto; height: 155px; }
  .pc-root:not(.pc-has-photo):not(.pc-is-live) .pc-guide { padding: 0; }
  .pc-caption { font-size: 11px; margin-top: 7px; }
  .pc-task-heading { margin-bottom: 9px; }
  .pc-instruction { margin-bottom: 14px; font-size: 15px; line-height: 1.5; }
  .pc-help { font-size: 13px; margin-top: 12px; }
  .pc-view-navigation { gap: 6px; }
  .pc-view-navigation .pc-button { font-size: 12px !important; padding-inline: 8px; }
  .pc-view-position { font-size: 12px; }
}
/* Illustrated guidance: compact route, generous artwork, one active task. */
.step-content:has(.photos-step:not([hidden])) { padding-top: 26px; }
.photos-step .step-heading { max-width: none; margin-bottom: 20px; }
.photos-step .step-heading h2 { max-width: none; font-size: clamp(30px, 3vw, 40px); }
.pc-overview { margin-bottom: 12px; }
.pc-completion { font-size: 12px; font-weight: 500; }
.pc-local-note { font-size: 12px; }
.pc-views { gap: 6px; margin-bottom: 24px; }
.pc-view { display: grid; grid-template-columns: 25px minmax(0,1fr); gap: 3px 7px; padding: 10px 8px; min-height: 60px; border-radius: 7px; align-items: center; }
.pc-thumb { grid-row: 1 / 3; width: 25px; height: 30px; margin: 0; font-size: 12px; }
.pc-view-label { font-size: 11px; font-weight: 500; }
.pc-view-status { font-size: 11px; }
.pc-workspace { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; align-items: start; }
.pc-stage { aspect-ratio: 1; max-height: 340px; background: var(--soft); border-radius: 12px; }
.pc-stage .pc-guide { position: absolute; inset: 0; width: 100%; height: 100%; padding: 16px; }
.pc-caption { font-size: 11px; margin-top: 8px; text-align: center; }
.pc-view-position { font-size: 12px; color: var(--rust); margin: 0 0 9px; }
.pc-task-heading { align-items: center; margin-bottom: 12px; }
.pc-task .pc-title { font-size: 32px; }
.pc-state { font-size: 11px; font-weight: 500; color: var(--muted); }
.pc-instruction { font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.pc-actions { gap: 8px; }
.pc-button { border-radius: 7px; font-size: 13px !important; min-height: 46px; padding: 11px 13px; }
.pc-skip-area { border: 0; padding-top: 10px; }
.pc-skip-toggle { font-size: 12px !important; font-weight: 400 !important; color: var(--muted); }
.pc-view-navigation { margin-top: 14px; padding-top: 16px; gap: 12px; }
.pc-view-navigation .pc-button { font-size: 12px !important; }
.pc-view-navigation .pc-text-button { font-weight: 400 !important; }
.pc-details { margin-top: 18px; font-size: 12px; color: var(--muted); }
.pc-details summary { cursor: pointer; min-height: 44px; padding-block: 11px; text-underline-offset: 4px; }
.pc-details summary:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
.pc-details p { font-size: 12px; margin-block: 8px; }
@media (max-width: 1100px) and (min-width: 801px) {
  .pc-view { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; gap: 4px; text-align: center; }
  .pc-thumb { height: 20px; }
  .pc-view-status { display: none; }
  .pc-workspace { gap: 20px; }
  .pc-task .pc-title { font-size: 28px; }
}
@media (max-width: 800px) and (min-width: 601px) {
  .pc-views { display: grid; overflow: visible; max-width: none; padding: 0; margin: 0 0 20px; }
  .pc-view { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; text-align: center; }
  .pc-thumb { height: 20px; }
  .pc-view-status { display: none; }
  .pc-workspace { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px; }
  .pc-root:not(.pc-has-photo):not(.pc-is-live) .pc-stage { height: auto; aspect-ratio: 1; }
}
@media (max-width: 600px) {
  .step-content:has(.photos-step:not([hidden])) { padding-top: 15px; }
  .photos-step .step-heading { margin-bottom: 14px; }
  .photos-step .step-heading h2 { font-size: 30px; max-width: 20ch; }
  .pc-overview { margin-bottom: 12px; }
  .pc-completion { font-size: 12px; }
  .pc-views { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; max-width: none; padding: 0; margin: 0 0 18px; overflow: visible; }
  .pc-view { display: flex; flex-direction: row; flex: initial; gap: 6px; padding: 8px; min-height: 44px; align-items: center; }
  .pc-thumb { width: 20px; height: 24px; flex: none; font-size: 11px; }
  .pc-view-label { font-size: 11px; align-self: auto; }
  .pc-view-status { display: none; }
  .pc-workspace { display: flex; flex-direction: column; gap: 0; }
  .pc-task { display: contents; }
  .pc-view-position { order: 1; }
  .pc-task-heading { order: 2; width: 100%; }
  .pc-instruction { order: 3; }
  .pc-media { order: 4; margin-bottom: 16px; }
  .pc-error, .pc-status { order: 5; }
  .pc-actions { order: 6; }
  .pc-skip-area { order: 7; width: 100%; }
  .pc-view-navigation { order: 8; width: 100%; }
  .pc-details { order: 9; width: 100%; }
  #wizard-form:has(.photos-step:not([hidden])) .wizard-actions { position: static; }
  .pc-media { max-width: none; }
  .pc-root:not(.pc-has-photo):not(.pc-is-live) .pc-stage { height: 200px; aspect-ratio: auto; }
  .pc-root:not(.pc-has-photo):not(.pc-is-live) .pc-guide { padding: 10px; }
  .pc-stage { max-height: none; aspect-ratio: 4 / 3; }
  .pc-caption { font-size: 11px; margin-top: 7px; }
  .pc-view-position { margin-bottom: 5px; }
  .pc-task-heading { margin-bottom: 9px; }
  .pc-task .pc-title { font-size: 28px; }
  .pc-instruction { font-size: 14px; line-height: 1.55; margin-bottom: 15px; }
  .pc-actions .pc-button { min-height: 48px; }
  .pc-view-navigation { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .pc-root *, .pc-root *::before, .pc-root *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
