/* Shared by the original and Koba themes; scoped to the optional photo stage. */
.pp-panel {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--green-line);
  border-radius: 18px;
  background: var(--bg);
  scroll-margin-top: 100px;
}
.pp-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pp-heading h2 { margin: 4px 0 0; font-size: 22px; line-height: 1.4; }
.pp-eyebrow { color: var(--tint-text); font-size: 12px; letter-spacing: .08em; }
.pp-description { margin-top: 12px; font-size: 14px; line-height: 1.7; }
.pp-options { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin-top: 18px; }
.pp-options label { flex: 1 1 180px; font-size: 13px; }
.pp-options select { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--green-line); border-radius: 10px; background: var(--bg); color: inherit; }
.pp-options select:disabled { opacity: .65; }
.pp-advanced { margin-top: 12px; font-size: 12px; }
.pp-advanced summary { cursor: pointer; padding: 6px 0; }
.pp-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.pp-hint { margin-top: 10px; font-size: 12px; line-height: 1.7; opacity: .8; }
.pp-status { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--tint); color: var(--tint-text); font-size: 13px; line-height: 1.7; }
.pp-status.is-error { color: var(--amber-text); }
.pp-result { margin-top: 18px; }
.pp-compare { --pp-position: 50%; position: relative; width: 100%; max-width: 620px; margin: 0 auto; overflow: hidden; border-radius: 12px; background: var(--img-bg); }
.pp-compare img { display: block; width: 100%; height: auto; pointer-events: none; }
.pp-compare .pp-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; clip-path: inset(0 0 0 var(--pp-position)); }
.pp-tag { position: absolute; z-index: 2; top: 12px; padding: 4px 9px; border-radius: 6px; background: rgba(20, 28, 23, .76); color: #fff; font-size: 12px; pointer-events: none; }
.pp-tag-left { left: 12px; }
.pp-tag-right { right: 12px; }
.pp-divider { position: absolute; top: 0; bottom: 0; left: var(--pp-position); width: 2px; background: #fff; pointer-events: none; }
.pp-divider span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: rgba(20, 28, 23, .76); white-space: nowrap; }
.pp-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; appearance: none; -webkit-appearance: none; background: transparent; touch-action: pan-y; }
.pp-range::-webkit-slider-runnable-track { height: 100%; }
.pp-range::-webkit-slider-thumb { width: 38px; height: 100%; appearance: none; -webkit-appearance: none; }
.pp-range::-moz-range-track { height: 100%; background: transparent; }
.pp-range::-moz-range-thumb { width: 38px; height: 100%; border: none; background: transparent; }
.pp-compare:focus-within { outline: 2px solid var(--dot); outline-offset: 4px; }
.pp-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.wf-finishing { margin: 24px 0; padding: 22px; border: 1px solid var(--green-line, #526051); border-radius: 18px; background: var(--bg, #111); scroll-margin-top: 100px; }
.wf-finishing h2, .wf-guide h3 { margin: 0 0 12px; }
.wf-finishing p, .wf-guide p, .wf-guide li { line-height: 1.75; }
.wf-finishing-choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.wf-guide { padding: 18px; margin: 18px 0; border-radius: 14px; background: var(--tint, #253028); color: var(--tint-text, #b3c8b7); scroll-margin-top: 100px; }
.wf-guide ol { padding-left: 24px; }
.wf-guide li { margin: 8px 0; }
.wf-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; font-size: 13px; }
.wf-steps > * { padding: 10px 14px; border-radius: 10px; background: var(--tint, #253028); color: var(--tint-text, #b3c8b7); text-decoration: none; }
.wf-steps > a:hover { text-decoration: underline; }
.wf-steps > [aria-disabled] { opacity: .65; }
#workflow-finish, #workflow-generation { scroll-margin-top: 100px; }
#workflow-finish { margin-top: 24px; }
@media (max-width: 600px) {
  .wf-finishing, .wf-guide { padding: 14px; }
  .pp-panel { padding: 16px; }
  .pp-heading { align-items: start; }
  .pp-heading h2 { font-size: 20px; }
  .pp-options label, .pp-options > .btn { flex-basis: 100%; }
  .pp-downloads .btn { flex: 1 1 auto; }
  .pp-submit-row > .btn { width: 100%; }
}
