/** Art-show accordion — stacked sections, collapse on complete, forward only. */

.start-site:has(.artshow-flow) {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

html:has(.start-site .artshow-flow),
html:has(.start-site .artshow-flow) body {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  background: #000;
}

html:has(.start-site .artshow-flow) #app {
  min-height: 100dvh;
  padding-bottom: calc(var(--safe-bottom) + 16px);
}

.artshow-flow {
  width: 100%;
  flex: 1;
}

.artshow-flow .acc-stage {
  padding: 20px 20px 28px;
  max-width: 480px;
  margin: 0 auto;
}

.artshow-flow .acc-rail {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}

.artshow-flow .acc-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.artshow-flow .acc-dot.is-done {
  background: rgba(255, 204, 0, 0.45);
}

.artshow-flow .acc-dot.is-current {
  width: 18px;
  background: var(--flame);
}

.artshow-flow .acc-stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  min-height: 28px;
}

.artshow-flow .acc-back {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  padding: 0;
}

.artshow-flow .acc-back-spacer {
  width: 52px;
}

.artshow-flow .acc-stage-label {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.artshow-flow .acc-stack-item.is-locked {
  opacity: 0.38;
}

.artshow-flow .pd-panel.is-locked {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.08);
}

.artshow-flow .pd-trigger-locked {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--muted);
  pointer-events: none;
}

.artshow-flow .pd-panel.is-locked .pd-trigger-title {
  color: var(--muted);
}

.artshow-flow .pd-panel.is-locked .pd-chevron {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.08);
}

.artshow-flow .acc-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.artshow-flow .acc-stack-item.is-done .pd-panel {
  margin-bottom: 0;
}

.artshow-flow .acc-stack-item.is-active .acc-continue {
  margin-top: 14px;
}

.artshow-flow .acc-stack-item.is-done .acc-continue {
  display: none;
}

.artshow-flow .acc-frame {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
  padding: 16px 16px 14px;
}

.artshow-flow .acc-placard {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 204, 0, 0.25);
}

.artshow-flow .acc-step {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--flame);
}

.artshow-flow .acc-frame-title {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

.artshow-flow .acc-frame-body {
  padding: 0 2px;
}

.artshow-flow .acc-art-headline {
  text-align: center;
  margin-bottom: 10px;
}

.artshow-flow .acc-art-lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #a8a8a8;
  text-align: center;
}

.artshow-flow .acc-art-quote,
.artshow-flow .acc-art-quote.testimony-block {
  padding: 12px 12px 10px;
  margin: 0;
}

.artshow-flow .acc-intro-panel {
  padding: 4px 2px 0;
}

.artshow-flow .pd-fields .acc-art-headline {
  margin-top: 4px;
}

.artshow-flow .acc-stage-intro {
  padding-top: 28px;
}

.artshow-flow .acc-question + .acc-question {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.artshow-flow .acc-question .ob-step-header {
  display: none;
}

.artshow-flow .ob-question,
.artshow-flow .ob-confirm {
  text-align: center;
  width: 100%;
}

.artshow-flow .acc-question .ob-section-label {
  text-align: left;
}

.artshow-flow .acc-question .ob-radio,
.artshow-flow .acc-question .ob-check {
  width: 100%;
  text-align: left;
}

.artshow-flow .acc-review-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  text-align: left;
}

.artshow-flow .ob-confirm-rows {
  text-align: left;
}

.artshow-flow .ob-field-label {
  margin-top: 10px;
  font-size: 11px;
}

.artshow-flow .ob-section-label {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #bfbfbf;
}

.artshow-flow .ob-hr-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.artshow-flow .ob-info {
  margin-top: 10px;
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
}

.artshow-flow .ob-info p {
  font-size: 13px;
  line-height: 1.45;
}

.artshow-flow .ob-big-value {
  margin-top: 6px;
}

.artshow-flow .ob-input,
.artshow-flow .ob-select {
  padding-top: 10px;
  padding-bottom: 10px;
}

.artshow-flow .ob-radio,
.artshow-flow .ob-check {
  padding: 10px 12px;
}

.artshow-flow .acc-continue {
  width: 100%;
  margin-top: 16px;
  height: 46px;
  border-radius: 10px;
  background: var(--flame);
  color: var(--btn-on-flame);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artshow-flow .ob-confirm-row-readonly {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: inherit;
  text-align: left;
}

.artshow-flow .ob-confirm-row-readonly:last-child {
  border-bottom: none;
}

.artshow-flow .ob-confirm-row-edit:last-child {
  border-bottom: none;
}

.artshow-flow .ob-confirm-row-edit {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  background: transparent;
  color: inherit;
  text-align: left;
  transition: background 0.15s ease;
}

.artshow-flow .ob-confirm-value-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.artshow-flow .ob-confirm-edit-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-color: var(--flame);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.artshow-flow .ob-confirm-row-edit:hover,
.artshow-flow .ob-confirm-row-edit:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.artshow-flow .ob-confirm-row-edit:active {
  background: rgba(255, 204, 0, 0.08);
}

.artshow-flow .acc-continue.disabled,
.artshow-flow .acc-continue:disabled {
  background: #333;
  color: #666;
  pointer-events: none;
}

/* Collapsible field panels */
.artshow-flow .acc-frame-panel {
  border: none;
  background: transparent;
  padding: 0;
}

.artshow-flow .acc-frame.is-complete:not(.acc-frame-panel) {
  border-color: rgba(74, 222, 128, 0.55);
}

.artshow-flow .pd-panel {
  border: 1px solid var(--flame);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.artshow-flow .pd-panel.is-open {
  border-color: var(--flame);
}

.artshow-flow .pd-panel.is-complete {
  border-color: rgba(74, 222, 128, 0.65);
}

.artshow-flow .pd-panel.is-complete .pd-trigger-title {
  color: #4ade80;
}

.artshow-flow .pd-panel.is-complete .pd-chevron {
  border-color: rgba(74, 222, 128, 0.45);
  color: #4ade80;
}

.artshow-flow .pd-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.artshow-flow .pd-trigger-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flame);
}

.artshow-flow .pd-chevron {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--flame);
}

.artshow-flow .pd-fields {
  padding: 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.artshow-flow .pd-fields[hidden] {
  display: none;
}

.artshow-flow .pd-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.artshow-flow .pd-hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
}

.artshow-flow .pd-newsletter {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.artshow-flow .pd-newsletter-check {
  margin-top: 0;
  text-align: left;
}

.artshow-flow .pd-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.artshow-flow .pd-box {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.artshow-flow .pd-height-split {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.artshow-flow .pd-height-split .ob-height-input {
  width: 2.4rem;
  flex: 0 0 auto;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--flame);
  padding: 10px 0;
}

.artshow-flow .pd-height-split .ob-unit {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--muted);
}

.artshow-flow .pd-box-split {
  justify-content: space-between;
  gap: 10px;
}

.artshow-flow .pd-input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  padding: 10px 0;
  outline: none;
}

.artshow-flow .pd-input::placeholder {
  font-style: italic;
  color: var(--muted);
  font-weight: 400;
}

.artshow-flow .pd-input.is-instruction {
  font-style: italic;
  color: var(--muted);
  font-weight: 400;
}

.artshow-flow .pd-input.is-review-edit,
.artshow-flow .acc-question input.is-review-edit:not([type=radio]):not([type=checkbox]),
.artshow-flow .acc-question textarea.is-review-edit {
  color: var(--flame);
  font-weight: 700;
  background: var(--flame-dim);
  border-radius: 4px;
}

.artshow-flow .pd-box.is-review-edit,
.artshow-flow .pd-box-split.is-review-edit {
  border-color: rgba(255, 204, 0, 0.55);
}

.artshow-flow .pd-input:-webkit-autofill,
.artshow-flow .pd-input:-webkit-autofill:hover,
.artshow-flow .pd-input:-webkit-autofill:focus,
.artshow-flow .pd-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.35) inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  transition: background-color 99999s ease-out 0s;
}

.artshow-flow .pd-box-gender {
  padding: 4px;
}

.artshow-flow .pd-gender-seg {
  display: flex;
  width: 100%;
  gap: 4px;
}

.artshow-flow .pd-gender-btn {
  flex: 1;
  margin: 0;
  padding: 8px 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.artshow-flow .pd-gender-btn.is-active {
  background: var(--flame);
  color: #fff;
}

.artshow-flow .pd-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  min-width: 3.5rem;
}

.artshow-flow .pd-range {
  flex: 1;
  margin: 0;
  accent-color: var(--flame);
}

.artshow-flow .ob-input-activity-hours.is-instruction {
  font-style: italic;
  color: var(--muted);
  font-size: 13px;
}

.artshow-flow .ob-input-activity-hours:not(.is-instruction) {
  font-style: normal;
  color: var(--text);
}

.artshow-flow .ob-activity-row {
  align-items: center;
}

.artshow-flow .ob-input-activity-hours-inline {
  font-size: 20px;
  font-weight: 900;
  color: var(--flame);
  border-radius: 10px;
}

.artshow-flow .pd-box.is-invalid {
  border-color: rgba(248, 113, 113, 0.75);
}

.artshow-flow .pd-input-birth.is-invalid {
  color: #fca5a5;
}

.artshow-flow .pd-hint-error {
  color: #f87171;
}

.artshow-flow .pd-input-height.is-instruction,
.artshow-flow .pd-input-height:not(.is-instruction) {
  flex: 1;
  min-width: 0;
  width: auto;
  font-style: normal;
  color: var(--text);
}

.artshow-flow .pd-input-height.is-instruction {
  font-style: italic;
  color: var(--muted);
  font-size: 13px;
}

.artshow-flow .pd-height-readable {
  min-width: 5.5rem;
  flex: 0 0 auto;
  text-align: right;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.artshow-flow .pd-box-split .pd-input-birth {
  flex: 1;
  min-width: 0;
  text-align: left;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.artshow-flow .pd-box-split [data-bind="age"] {
  min-width: 1.5rem;
  text-align: right;
}

.artshow-flow .pd-input-birth {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.artshow-flow .pd-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}

.artshow-flow .pd-radio input[type="radio"] {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--flame);
  cursor: pointer;
}

.artshow-flow .pd-unit {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.artshow-flow .acc-frame-panel .acc-continue {
  margin-top: 14px;
}
