/* Jepret static UI. Loaded only when a Jepret feature flag is on. */

.jp-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
  overflow-x: clip;
  color: #0f172a;
  transition: gap 0.45s ease;
}

.jp-page :focus-visible,
.jp-sheet :focus-visible,
.jp-card :focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

.jp-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f46e5;
}

.jp-h1 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.jp-h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.jp-lead {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.jp-lead-line { display: block; }

.jp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.jp-actions-center { justify-content: center; }

.jp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  background: #fff;
  color: #312e81;
}

.jp-btn-primary {
  background: #4f46e5;
  color: #fff;
}

.jp-btn-primary:hover { background: #4338ca; }
.jp-btn.is-loading { cursor: progress; opacity: 0.85; }
.jp-btn.is-loading .fa-spinner { margin-right: 0.35rem; }

.jp-btn-secondary {
  border-color: #c7d2fe;
  background: #fff;
  color: #3730a3;
}

.jp-btn-secondary:hover { background: #eef2ff; }

.jp-hero {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.jp-phones {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding: 0.25rem 0.15rem 0.75rem;
  margin: 0 -0.15rem;
  max-width: 100%;
}

.jp-phone-slot {
  flex: 0 0 220px;
  scroll-snap-align: center;
}

.jp-phone {
  width: 220px;
  height: 440px;
  border-radius: 28px;
  background: #0f172a;
  padding: 10px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
  position: relative;
}

.jp-phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 72px;
  height: 14px;
  margin-left: -36px;
  border-radius: 0 0 10px 10px;
  background: #0f172a;
  z-index: 2;
}

.jp-phone-screen {
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.jp-cover {
  flex: 0 0 42%;
  background:
    linear-gradient(160deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.45)),
    url("/images/jepret/cover.svg") center/cover no-repeat;
}

.jp-landing-body,
.jp-gallery,
.jp-camera {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.jp-landing-body { padding: 0.85rem 0.8rem 0.8rem; }

.jp-phone-names {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.jp-phone-date {
  margin: 0.2rem 0 0.8rem;
  color: #64748b;
  font-size: 0.75rem;
}

.jp-phone .jp-btn { width: 100%; margin-top: auto; }

.jp-gallery { background: #f8fafc; }

.jp-gallery-head,
.jp-camera-meta {
  padding: 0.7rem 0.65rem 0.35rem;
}

.jp-gallery-head strong,
.jp-camera-meta { font-size: 0.72rem; }

.jp-gallery-count {
  color: #64748b;
  font-size: 0.68rem;
}

.jp-chips {
  display: flex;
  gap: 0.3rem;
  padding: 0 0.65rem 0.45rem;
}

.jp-chip {
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
}

.jp-chip.is-on { background: #4f46e5; color: #fff; }

.jp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0 0.55rem;
}

.jp-tile {
  min-height: 4.4rem;
  border-radius: 0.45rem;
  background: linear-gradient(145deg, #c7d2fe, #fbcfe8);
  position: relative;
}

.jp-tile:nth-child(2n) { background: linear-gradient(145deg, #99f6e4, #bfdbfe); }
.jp-tile:nth-child(3n) { background: linear-gradient(145deg, #fde68a, #fdba74); }

.jp-tile span {
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  bottom: 0.2rem;
  color: #0f172a;
  font-size: 0.55rem;
  font-weight: 600;
  line-height: 1.2;
}

.jp-gallery .jp-btn { margin: 0.45rem 0.55rem 0.55rem; }

.jp-camera { background: #111827; color: #fff; }

.jp-viewfinder {
  flex: 1;
  margin: 0.4rem 0.45rem;
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px),
    #1f2937;
  position: relative;
}

.jp-stamp {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  color: #facc15;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.jp-remain {
  position: absolute;
  right: 0.45rem;
  bottom: 0.4rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.jp-camera-meta { color: #e2e8f0; }

.jp-shutter {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.7rem;
  border-radius: 999px;
  border: 3px solid #fff;
  background: #e2e8f0;
}

.jp-section { min-width: 0; }

.jp-empty,
.jp-event-card,
.jp-price-card,
.jp-step,
.jp-faq-item,
.jp-tier,
.jp-addon {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
}

.jp-empty,
.jp-event-card {
  padding: 1rem;
  text-align: center;
}

.jp-empty-icon,
.jp-card-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.6rem;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 1.1rem;
}

.jp-empty h3,
.jp-event-card h3 { margin: 0; font-size: 1rem; }

.jp-empty p,
.jp-event-card p { margin: 0.35rem 0 0; color: #64748b; font-size: 0.875rem; }

.jp-banner {
  margin: 0 0 0.6rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.7rem;
  background: #eef2ff;
  color: #312e81;
  font-size: 0.8125rem;
  font-weight: 600;
}

.jp-event-card { text-align: left; }

.jp-status {
  display: inline-flex;
  margin-top: 0.45rem;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.6875rem;
  font-weight: 700;
}

.jp-stats {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.7rem;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 600;
}

.jp-how {
  --jp-ink: #3b352e;
  --jp-ivory: #e1dad3;
  --jp-paper: #faf7f3;
  --jp-muted: #8d8478;
  --jp-line: #cfc6ba;
  --jp-rose: #d7a49a;
  --jp-rose-deep: #b57e71;
  --jp-rose-soft: #ecd6d0;
  margin: 0.5rem -0.75rem 0;
}
.jp-how:not(.jp-how--mitra) {
  background: var(--jp-ivory);
  color: var(--jp-ink);
  font-family: Poppins, "Plus Jakarta Sans", sans-serif;
}
.jp-how:not(.jp-how--mitra) .jp-how-display { font-family: "Playfair Display", Georgia, serif; }
.jp-how:not(.jp-how--mitra) .jp-how-mono { font-family: "Space Mono", ui-monospace, monospace; }
.jp-how--mitra .jp-how-phone {
  color: var(--jp-ink);
  font-family: Poppins, "Plus Jakarta Sans", sans-serif;
}
.jp-how--mitra .jp-how-phone .jp-how-display { font-family: "Playfair Display", Georgia, serif; }
.jp-how--mitra .jp-how-phone .jp-how-mono { font-family: "Space Mono", ui-monospace, monospace; }

.jp-how-intro { max-width: 72rem; margin: 0 auto; padding: 3.5rem 1rem 2.5rem; text-align: center; }
.jp-how-intro .jp-how-kicker { justify-content: center; }
.jp-how-plain {
  display: grid;
  gap: 1rem;
  max-width: 64rem;
  margin: 2rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.jp-how-plain li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
  margin: 0;
  padding: 1.25rem 1.25rem 1.5rem;
  overflow: hidden;
  border: 1px solid var(--jp-line);
  border-radius: 1.25rem;
  background: var(--jp-paper);
}
.jp-how--mitra .jp-how-plain li {
  background: transparent;
  border-color: color-mix(in srgb, currentColor 22%, transparent);
}
.jp-how-plain-num {
  position: absolute;
  top: 0.35rem;
  right: 0.85rem;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
}
.jp-how--mitra .jp-how-plain-num { font-size: 1.75rem; }
.jp-how:not(.jp-how--mitra) .jp-how-plain-num {
  font-family: "Playfair Display", Georgia, serif;
  color: color-mix(in srgb, var(--jp-ink) 14%, transparent);
}
.jp-how--mitra .jp-how-plain-num { color: color-mix(in srgb, currentColor 20%, transparent); }
.jp-how-plain-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
}
.jp-how:not(.jp-how--mitra) .jp-how-plain-icon {
  background: var(--jp-rose-soft);
  color: var(--jp-rose-deep);
}
.jp-how--mitra .jp-how-plain-icon {
  background: color-mix(in srgb, currentColor 12%, transparent);
  color: inherit;
}
.jp-how-plain strong {
  display: block;
  max-width: 14rem;
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}
.jp-how--mitra .jp-how-plain strong { font-size: 0.9375rem; }
.jp-how:not(.jp-how--mitra) .jp-how-plain strong { color: var(--jp-ink); }
.jp-how-plain-body {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.jp-how--mitra .jp-how-plain-body { font-size: 0.8125rem; }
.jp-how:not(.jp-how--mitra) .jp-how-plain-body { color: var(--jp-ink); }
@media (min-width: 768px) {
  .jp-how-plain { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}
.jp-how-kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.jp-how:not(.jp-how--mitra) .jp-how-kicker {
  font-family: "Space Mono", ui-monospace, monospace;
  color: var(--jp-muted);
}
.jp-how-kicker span { width: 0.5rem; height: 0.5rem; }
.jp-how:not(.jp-how--mitra) .jp-how-kicker span { background: var(--jp-rose); }
.jp-how--mitra .jp-how-kicker span,
.jp-how--mitra .jp-how-titlebar-inner span { background: currentColor; }
.jp-how h2.jp-how-display {
  margin: 1rem 0 0 !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em;
}
.jp-how:not(.jp-how--mitra) h2.jp-how-display { font-size: 2.25rem !important; }
.jp-how--mitra h2.jp-how-display { font-size: 1rem !important; margin-top: 0 !important; line-height: 1.5 !important; letter-spacing: 0 !important; }
.jp-how--mitra { margin: 0; }
.jp-how--mitra .jp-how-intro { max-width: none; padding: 0 0 1.25rem; }
.jp-how:not(.jp-how--mitra) h2.jp-how-display { color: var(--jp-ink); }
.jp-how-sub {
  max-width: 42rem;
  margin: 1rem auto 0;
  font-size: 1.125rem;
  line-height: 1.5;
}
.jp-how--mitra .jp-how-sub { font-size: 0.875rem; }
.jp-how:not(.jp-how--mitra) .jp-how-sub { color: var(--jp-muted); }

.jp-how-titlebar {
  position: sticky;
  top: var(--cl-header-h, 4.5rem);
  z-index: 25;
  height: 2.5rem;
  border-bottom: 1px solid transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, border-color 0.3s;
}
.jp-how:not(.jp-how--mitra) .jp-how-titlebar.is-on {
  border-bottom-color: var(--jp-line);
  background: color-mix(in srgb, var(--jp-ivory) 90%, transparent);
}
.jp-how-titlebar.is-on {
  opacity: 1;
  backdrop-filter: blur(8px);
}
.jp-how-titlebar-inner {
  max-width: 72rem;
  height: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.jp-how-titlebar-inner span { width: 0.375rem; height: 0.375rem; }
.jp-how:not(.jp-how--mitra) .jp-how-titlebar-inner span { background: var(--jp-rose); }
.jp-how-titlebar p {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jp-how-layout { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.jp-how-sticky {
  position: sticky;
  top: calc(var(--cl-header-h, 4.5rem) + 2.6rem);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 16rem;
  margin: 0 -1rem 0.25rem;
  backdrop-filter: blur(6px);
}
.jp-how:not(.jp-how--mitra) .jp-how-sticky {
  background: color-mix(in srgb, var(--jp-ivory) 90%, transparent);
}
.jp-how-copy { padding-bottom: 1rem; }
.jp-how-step {
  padding: 2.5rem 0;
  opacity: 1;
  transition: opacity 0.3s;
}
.jp-how.is-live .jp-how-step { opacity: 0.45; }
.jp-how.is-live .jp-how-step.is-active { opacity: 1; }
.jp-how-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.jp-how:not(.jp-how--mitra) .jp-how-badge { color: var(--jp-rose-deep); }
.jp-how h3.jp-how-display {
  margin: 0.5rem 0 0 !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em;
}
.jp-how:not(.jp-how--mitra) h3.jp-how-display { font-size: 1.875rem !important; }
.jp-how--mitra h3.jp-how-display { font-size: 1.125rem !important; }
.jp-how:not(.jp-how--mitra) h3.jp-how-display { color: var(--jp-ink); }
.jp-how:not(.jp-how--mitra) h3.jp-how-display span { color: var(--jp-rose-deep); }
.jp-how-step > p {
  max-width: 46ch;
  margin: 0.75rem 0 0;
  line-height: 1.6;
}
.jp-how:not(.jp-how--mitra) .jp-how-step > p { color: var(--jp-muted); }
.jp-how-step ul { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.jp-how-step li { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.jp-how-check {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.jp-how:not(.jp-how--mitra) .jp-how-check {
  background: var(--jp-rose-soft);
  color: var(--jp-rose-deep);
}
.jp-how--mitra .jp-how-check {
  background: color-mix(in srgb, currentColor 14%, transparent);
  color: inherit;
}
.jp-how-step li p { margin: 0; font-size: 0.875rem; line-height: 1.6; }
.jp-how:not(.jp-how--mitra) .jp-how-step li p { color: var(--jp-ink); }
.jp-how:not(.jp-how--mitra) .jp-how-step li p span { color: var(--jp-muted); }

.jp-how-close {
  text-align: center;
  padding: 5rem 1rem;
}
.jp-how:not(.jp-how--mitra) .jp-how-close {
  border-top: 1px solid var(--jp-line);
  background: var(--jp-paper);
}
.jp-how--mitra .jp-how-close {
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  background: transparent;
}
.jp-how-quote {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
}
.jp-how--mitra .jp-how-quote { font-size: 1.125rem; }
.jp-how-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  border-radius: 999px;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  text-decoration: none;
}
.jp-how:not(.jp-how--mitra) .jp-how-cta {
  background: var(--jp-ink);
  color: var(--jp-paper);
}
.jp-how:not(.jp-how--mitra) .jp-how-cta:hover { background: color-mix(in srgb, var(--jp-ink) 85%, transparent); color: var(--jp-paper); }
.jp-how--mitra .jp-how-cta {
  background: transparent;
  color: inherit;
  border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
}
.jp-how--mitra .jp-how-cta:hover {
  background: color-mix(in srgb, currentColor 10%, transparent);
  color: inherit;
}

.jp-how-phone { position: relative; width: 108px; }
.jp-how-phone-space { aspect-ratio: 9 / 19.5; width: 100%; }
.jp-how-phone-scale {
  position: absolute;
  left: 0;
  top: 0;
  width: 250px;
  transform-origin: top left;
  transform: scale(0.432);
}
.jp-how-device { position: relative; width: 100%; aspect-ratio: 9 / 19.5; }
.jp-how-btn { position: absolute; width: 3px; border-radius: 2px; background: #171717; }
.jp-how-btn-l1 { left: -3px; top: 18%; height: 2.25rem; }
.jp-how-btn-l2 { left: -3px; top: 30%; height: 3.5rem; }
.jp-how-btn-l3 { left: -3px; top: 45%; height: 3.5rem; }
.jp-how-btn-r { right: -3px; top: 35%; height: 5rem; }
.jp-how-bezel {
  height: 100%;
  border-radius: 3rem;
  padding: 3px;
  background: linear-gradient(#404040, #262626 40%, #171717);
  box-shadow: 0 18px 36px -12px rgba(59, 53, 46, 0.32), 0 48px 90px -28px rgba(59, 53, 46, 0.5);
}
.jp-how-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 2.85rem;
  background: #000;
  padding: 7px;
}
.jp-how-glass {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 2.35rem;
  background: var(--jp-ivory);
  display: flex;
  flex-direction: column;
}
.jp-how-screen.is-cam .jp-how-glass { background: #0c0c0e; color: #f4f2ee; }
.jp-how-island {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 50%;
  width: 78px;
  height: 22px;
  margin-left: -39px;
  border-radius: 999px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}
.jp-how-island span { width: 7px; height: 7px; border-radius: 999px; background: #404040; }
.jp-how-status {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 8px 18px 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--jp-ink);
}
.jp-how-screen.is-cam .jp-how-status { color: #f4f2ee; }
.jp-how-status-icons { display: flex; align-items: center; gap: 4px; }
.jp-how-status-icons svg { width: 14px; height: 10px; fill: currentColor; }
.jp-how-battery {
  width: 18px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.7;
  padding: 1px;
  display: inline-flex;
}
.jp-how-battery span { flex: 1; background: currentColor; border-radius: 1px; }
.jp-how-ui { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.jp-how-ui[hidden],
.jp-how-fan[hidden],
.jp-how-phone[hidden] { display: none !important; }
.jp-how-setup {
  margin: auto 14px;
  border: 1px solid var(--jp-line);
  border-radius: 1.6rem;
  background: var(--jp-paper);
  padding: 1.15rem;
  box-shadow: 0 24px 50px -30px rgba(28, 42, 68, 0.55);
}
.jp-how-setup-top, .jp-how-field-split, .jp-how-gal-head { display: flex; align-items: center; justify-content: space-between; }
.jp-how-wordmark { font-size: 13px; letter-spacing: -0.03em; }
.jp-how-pill {
  border-radius: 999px;
  background: var(--jp-rose-soft);
  color: var(--jp-rose-deep);
  padding: 0.2rem 0.55rem;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.jp-how-field {
  margin-top: 0.65rem;
  border: 1px solid var(--jp-line);
  border-radius: 0.75rem;
  background: var(--jp-ivory);
  padding: 0.45rem 0.65rem;
}
.jp-how-field p { margin: 0; }
.jp-how-field p.jp-how-mono { font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--jp-muted); }
.jp-how-field p:last-child { margin-top: 0.1rem; font-size: 13px; font-weight: 600; }
.jp-how-field-row { display: flex; align-items: center; gap: 0.4rem; font-size: 11px; }
.jp-how-field-row svg { width: 14px; height: 14px; color: var(--jp-rose-deep); flex: none; }
.jp-how-field-split strong { font-size: 12px; }
.jp-how-pay {
  margin-top: 0.85rem;
  border-radius: 999px;
  background: var(--jp-ink);
  color: var(--jp-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.55rem;
  font-size: 11px;
  font-weight: 600;
}
.jp-how-pay svg { width: 13px; height: 13px; }

.jp-how-ui-cam { background: #0c0c0e; color: #f4f2ee; padding-bottom: 12px; }
.jp-how-cam-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.35rem;
  align-items: start;
  padding: 4px 12px 0;
}
.jp-how-cam-top strong { font-size: 9px; padding-top: 2px; }
.jp-how-cam-top p { margin: 0; text-align: center; }
.jp-how-cam-top p:first-child { font-family: "Playfair Display", Georgia, serif; font-size: 12px; font-weight: 600; }
.jp-how-cam-top p:last-child { margin-top: 2px; font-size: 8px; color: #8b8b93; }
.jp-how-cam-top > span { padding-top: 2px; font-size: 8px; font-weight: 700; letter-spacing: 0.12em; color: #e8875a; }
.jp-how-finder {
  position: relative;
  flex: 1;
  margin: 8px 12px 0;
  border-radius: 1rem;
  border: 2px solid #e8875a;
  background:
    radial-gradient(circle at 50% 38%, rgba(232, 135, 90, 0.18), transparent 42%),
    linear-gradient(160deg, #3a2a22, #14120f 55%, #2c241c);
  min-height: 0;
}
.jp-how-finder > span {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #e8875a;
  font-size: 11px;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(232, 135, 90, 0.8);
}
.jp-how-zoom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
  display: flex;
  justify-content: center;
}
.jp-how-zoom span {
  min-width: 1.5rem;
  height: 1.5rem;
  margin: 0 1px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.75);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 8px;
  font-weight: 700;
}
.jp-how-zoom .is-on { background: #fff; color: #0c0c0e; }
.jp-how-cam-tools, .jp-how-cam-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: 10px 16px 0;
}
.jp-how-cam-tools span, .jp-how-count, .jp-how-film {
  width: 2rem;
  height: 2rem;
  border: 1px solid #2a2a2e;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}
.jp-how-cam-tools span:nth-child(2) {
  width: auto;
  height: auto;
  border: 0;
  justify-self: center;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b8b93;
}
.jp-how-cam-tools span:last-child, .jp-how-film { justify-self: end; }
.jp-how-cam-tools svg, .jp-how-film svg { width: 15px; height: 15px; }
.jp-how-count, .jp-how-film {
  width: 3rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: #18181b;
  flex-direction: column;
}
.jp-how-count strong { color: #e8875a; font-size: 1.05rem; line-height: 1; }
.jp-how-count small { color: #8b8b93; font-size: 7px; letter-spacing: 0.15em; text-transform: uppercase; }
.jp-how-shutter {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.jp-how-shutter span { width: 44px; height: 44px; border-radius: 999px; border: 4px solid #0c0c0e; background: #e8875a; }

.jp-how-ui-gal { background: var(--jp-paper); }
.jp-how-gal-head { padding: 8px 14px 6px; }
.jp-how-gal-head p { margin: 0.15rem 0 0; font-size: 14px; font-weight: 700; }
.jp-how-gal-head > span { font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--jp-muted); }
.jp-how-chips { display: flex; gap: 0.3rem; padding: 0 12px 8px; }
.jp-how-chips span {
  border: 1px solid var(--jp-line);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  font-size: 8px;
  color: var(--jp-muted);
}
.jp-how-chips .is-on { border-color: var(--jp-rose); background: var(--jp-rose-soft); color: var(--jp-rose-deep); }
.jp-how-masonry { flex: 1; min-height: 0; display: flex; gap: 6px; padding: 0 12px; overflow: hidden; }
.jp-how-masonry > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.jp-how-shot { border-radius: 0.7rem; border: 1px solid var(--jp-line); }
.jp-how-shot.is-tall { height: 5.2rem; }
.jp-how-shot.is-mid { height: 4.3rem; }
.jp-how-shot.is-short { height: 3.4rem; }
.jp-how-shot.tone-a { background: linear-gradient(145deg, #c7d2fe, #fbcfe8); }
.jp-how-shot.tone-b { background: linear-gradient(145deg, #99f6e4, #bfdbfe); }
.jp-how-shot.tone-c { background: linear-gradient(145deg, #fde68a, #fdba74); }
.jp-how-shot.tone-d { background: linear-gradient(160deg, #fecdd3, #ddd6fe); }
.jp-how-shot.tone-e { background: linear-gradient(160deg, #bbf7d0, #a5f3fc); }
.jp-how-masonry figcaption { margin-top: 1px; font-size: 7px; color: var(--jp-muted); white-space: nowrap; overflow: hidden; }
.jp-how-save {
  margin: 8px 12px 10px;
  border-radius: 999px;
  background: var(--jp-ink);
  color: var(--jp-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.45rem;
  font-size: 9px;
  font-weight: 600;
}
.jp-how-save svg { width: 11px; height: 11px; }
.jp-how-ui-qr {
  align-items: center;
  justify-content: center;
  padding: 8px 16px 16px;
  background: var(--jp-ivory);
}
.jp-how-qr-sheet {
  --card-ink: #3b352e;
  --card-qr: #fff;
  width: 100%;
  border: 1px solid var(--jp-line);
  border-radius: 1.4rem;
  background: var(--jp-paper);
  color: var(--jp-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  padding: 0.85rem 0.7rem 1rem;
  box-shadow: 0 18px 36px -24px rgba(28, 42, 68, 0.55);
}
.jp-how-qr-sheet .jp-how-display { font-size: 15px; font-weight: 700; line-height: 1.15; }
.jp-how-qr-sheet .jp-how-mono {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jp-rose-deep);
}
.jp-how-qr-sheet .jp-how-qr { width: 72%; }
.jp-how-qr-note { margin: 0; font-size: 9px; color: var(--jp-muted); }

.jp-how-fan { width: 100%; }
.jp-how-fan-stage { position: relative; height: 190px; }
.jp-how-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96px;
  height: 144px;
  margin-left: -48px;
  margin-top: -72px;
  border-radius: 1.4rem;
  background: var(--card-bg);
  color: var(--card-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  padding: 0.6rem;
  box-shadow: 0 20px 40px -20px rgba(28, 42, 68, 0.5);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s;
}
.jp-how-card p { margin: 0; }
.jp-how-card .jp-how-display { font-size: 12px; font-weight: 700; line-height: 1.15; }
.jp-how-card .jp-how-mono { font-size: 8px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--jp-rose-deep); }
.jp-how-qr {
  width: 62%;
  aspect-ratio: 1;
  border-radius: 0.45rem;
  background:
    linear-gradient(var(--card-ink) 0 0) 18% 18% / 22% 22% no-repeat,
    linear-gradient(var(--card-ink) 0 0) 60% 18% / 22% 22% no-repeat,
    linear-gradient(var(--card-ink) 0 0) 18% 60% / 22% 22% no-repeat,
    repeating-linear-gradient(90deg, var(--card-ink) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(0deg, var(--card-ink) 0 2px, transparent 2px 5px),
    var(--card-qr);
}
.jp-how-fan-nav { display: flex; justify-content: center; gap: 0.5rem; }
.jp-how-fan-nav button {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--jp-line);
  background: var(--jp-paper);
  color: var(--jp-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.jp-how-fan-nav svg { width: 14px; height: 14px; }

.jp-price-card { padding: 1rem; margin-top: 0.85rem; }

.jp-tier-name { margin: 0; font-size: 1.35rem; }

.jp-usecase { margin: 0.2rem 0 0.8rem; color: #64748b; font-size: 0.875rem; }

.jp-guest-num {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.jp-range {
  width: 100%;
  margin: 0.45rem 0 0.6rem;
  accent-color: #4f46e5;
}

.jp-presets,
.jp-shots,
.jp-tier-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.jp-presets button,
.jp-shots button,
.jp-tier {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  min-height: 2rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.jp-shots button[aria-pressed="true"],
.jp-presets button[aria-pressed="true"],
.jp-tier.is-active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
}

.jp-shots button:disabled {
  opacity: 1;
  background: #f8fafc;
  color: #475569;
  cursor: not-allowed;
}

.jp-includes {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: #334155;
  font-size: 0.875rem;
  line-height: 1.5;
}

.jp-price {
  margin: 0.9rem 0 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.jp-once,
.jp-fx {
  margin: 0.15rem 0 0;
  color: #64748b;
  font-size: 0.8125rem;
}

.jp-tier-row { margin-top: 0.75rem; }

.jp-tier {
  flex: 1 1 6rem;
  border-radius: 0.8rem;
  padding: 0.65rem 0.7rem;
  cursor: default;
}

.jp-tier strong { display: block; font-size: 0.875rem; }

.jp-tier span { display: block; margin-top: 0.15rem; font-size: 0.75rem; font-weight: 500; }

.jp-faq { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.75rem; }

.jp-faq-item { padding: 0; }

.jp-faq-item summary {
  cursor: pointer;
  padding: 0.75rem 0.9rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.jp-faq-item p {
  margin: 0;
  padding: 0 0.9rem 0.8rem;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.5;
}

.jp-sheet[hidden],
.jp-addon-panel[hidden] { display: none !important; }

.jp-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.jp-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  border: 0;
  padding: 0;
}

.jp-sheet-panel {
  position: relative;
  width: min(100%, 32rem);
  background: #fff;
  border-radius: 1.25rem 1.25rem 0 0;
  padding: 1.1rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
}

.jp-sheet-panel h2 { margin: 0; font-size: 1.15rem; }

.jp-sheet-panel p { margin: 0.45rem 0 0.9rem; color: #475569; font-size: 0.9rem; }

.jp-sheet-actions { display: flex; flex-direction: column; gap: 0.45rem; }

.jp-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border: 1px dashed #c7d2fe;
  border-radius: 1rem;
  background: #eef2ff;
  color: #1e1b4b;
}

.jp-card-icon { margin: 0; flex: 0 0 auto; background: #fff; }

.jp-card-copy { min-width: 0; flex: 1; }

.jp-card h2 { margin: 0; font-size: 0.95rem; }

.jp-card p { margin: 0.25rem 0 0.55rem; color: #4338ca; font-size: 0.8125rem; }

.jp-card-dismiss {
  border: 0;
  background: transparent;
  color: #6366f1;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
}

html[data-jp-card-dismissed="1"] .jp-card--dismissible { display: none !important; }

.jp-addon { margin-top: 0.75rem; padding: 0.75rem; }

.jp-addon h3 { margin: 0; font-size: 0.9rem; }

.jp-addon > p { margin: 0.25rem 0 0.55rem; color: #64748b; font-size: 0.75rem; }

.jp-check {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  font-weight: 600;
}

.jp-warn {
  margin: 0.55rem 0 0;
  color: #92400e;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .jp-h1 { font-size: 2.1rem; }
  .jp-sheet { align-items: center; padding: 1rem; }
  .jp-sheet-panel { border-radius: 1.25rem; }
  .jp-how:not(.jp-how--mitra) { margin-left: -1rem; margin-right: -1rem; }
  .jp-how:not(.jp-how--mitra) h2.jp-how-display { font-size: 3rem !important; }
  .jp-how--mitra h2.jp-how-display { font-size: 1.125rem !important; }
  .jp-how-intro { padding-top: 5rem; }
  .jp-how-sticky { height: 27rem; }
  .jp-how-phone { width: 190px; }
  .jp-how-phone-scale { transform: scale(0.76); }
  .jp-how-card { width: 132px; height: 198px; margin-left: -66px; margin-top: -99px; }
  .jp-how-fan-stage { height: 250px; }
}

@media (min-width: 1024px) {
  .jp-how:not(.jp-how--mitra) h2.jp-how-display { font-size: 3rem !important; }
  .jp-how:not(.jp-how--mitra) h3.jp-how-display { font-size: 2.25rem !important; }
  .jp-how:not(.jp-how--mitra) .jp-how-quote { font-size: 2.25rem; }
  .jp-how--mitra h2.jp-how-display { font-size: 1.25rem !important; }
  .jp-how--mitra h3.jp-how-display { font-size: 1.25rem !important; }
  .jp-how--mitra .jp-how-quote { font-size: 1.125rem; }
  .jp-how-layout { display: flex; align-items: flex-start; gap: 4rem; }
  .jp-how-sticky {
    top: calc(var(--cl-header-h, 5.25rem) + 1rem);
    width: 420px;
    flex: none;
    height: calc(100dvh - var(--cl-header-h, 5.25rem) - 2rem);
    margin: 0;
    background: transparent;
    backdrop-filter: none;
  }
  .jp-how-copy { flex: 1; padding-bottom: 50dvh; }
  .jp-how-step { padding: 3.5rem 0; }
  .jp-how-phone { width: 250px; }
  .jp-how-phone-scale { transform: none; }
  .jp-how-card { width: 150px; height: 225px; margin-left: -75px; margin-top: -112px; }
  .jp-how-fan-stage { height: 300px; }
}

@media (min-width: 1024px) {
  .jp-hero {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
  .jp-hero-copy { flex: 1 1 46%; }
  .jp-phones {
    flex: 1 1 54%;
    overflow: visible;
    scroll-snap-type: none;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 0;
  }
  .jp-phone-slot { flex-basis: auto; }
  .jp-phone-slot:nth-child(1) { transform: rotate(-4deg) translateY(12px); }
  .jp-phone-slot:nth-child(2) { z-index: 2; }
  .jp-phone-slot:nth-child(3) { transform: rotate(4deg) translateY(12px); }
}

.jp-phone-caption {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.35;
  font-weight: 600;
}

.mj-how .jp-hero { color: inherit; }
.mj-how .jp-kicker,
.mj-how .jp-h1,
.mj-how .jp-lead,
.mj-how .jp-phone-caption { color: inherit; }
.mj-how .jp-h1 { font-size: 1.125rem; letter-spacing: 0; }
.mj-how .jp-lead { font-size: 0.875rem; }
.mj-how .jp-btn-primary,
.mj-how .jp-btn-secondary {
  background: transparent;
  color: inherit;
  border-color: color-mix(in srgb, currentColor 40%, transparent);
}
.mj-how .jp-btn-primary:hover,
.mj-how .jp-btn-secondary:hover {
  background: color-mix(in srgb, currentColor 10%, transparent);
  color: inherit;
}
.mj-how .jp-phone .jp-btn-primary {
  background: #4f46e5;
  color: #fff;
  border-color: transparent;
}
.mj-how .jp-phone .jp-btn-secondary {
  background: #fff;
  color: #3730a3;
  border-color: #c7d2fe;
}

@keyframes jp-hero-in {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes jp-phone-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes jp-shutter-pulse {
  0%, 72%, 100% { transform: scale(1); }
  82% { transform: scale(0.9); }
}
.mj-how .jp-hero { animation: jp-hero-in 0.7s ease both; }
.mj-how .jp-phone-slot {
  animation: jp-phone-float 5.6s ease-in-out infinite;
}
.mj-how .jp-phone-slot:nth-child(2) { animation-delay: -1.8s; }
.mj-how .jp-phone-slot:nth-child(3) { animation-delay: -3.6s; }
.mj-how .jp-shutter { animation: jp-shutter-pulse 3.4s ease-in-out infinite; }

@media (min-width: 640px) {
  .mj-how .jp-h1 { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .jp-phone-slot,
  .jp-sheet-panel,
  .jp-btn,
  .jp-card,
  .jp-how-step,
  .jp-how-titlebar,
  .jp-how-card,
  .jp-shutter,
  .mj-how .jp-hero {
    transition: none !important;
    animation: none !important;
  }
  .jp-phone-slot { transform: none !important; }
}

/* Customer Jepret studio + detail. Scoped so mitra how-it-works stays intact. */

[data-jp-orders] { display: none; }
html[data-jp-has-orders="1"] [data-jp-empty] { display: none; }
html[data-jp-has-orders="1"] [data-jp-orders] { display: block; }

.jp-studio-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}
.jp-studio-copy { min-width: 0; }
.jp-studio-head .jp-btn { width: 100%; }

.jp-studio-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0.35rem 0 0.15rem;
  max-height: 16rem;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.3s ease, margin 0.45s ease;
}
.jp-studio-mark {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0e7ff;
  color: #4f46e5;
  font-size: 1.25rem;
}
.jp-studio-intro h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1e293b;
}
.jp-studio-intro p {
  margin: 0.4rem 0 0;
  max-width: 28rem;
  padding: 0 0.5rem;
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.jp-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
  transition: gap 0.45s ease, padding 0.45s ease, box-shadow 0.45s ease;
}
.jp-menu.jp-menu-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .jp-menu.jp-menu-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.jp-menu-item { display: flex; flex-direction: column; min-width: 0; }
.jp-menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  flex: 1;
  min-height: 11rem;
  padding: 1.1rem 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  color: #1e293b;
}
button.jp-menu-card {
  width: 100%;
  font: inherit;
  cursor: pointer;
  transition: min-height 0.45s ease, padding 0.45s ease, border-radius 0.45s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, gap 0.45s ease;
}
button.jp-menu-card:hover { border-color: #a5b4fc; }
.jp-menu-item.is-active .jp-menu-card {
  border: 2px solid #4338ca;
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.16);
}
.jp-menu-detail {
  display: inline-flex;
  align-items: center;
  margin-top: 0.7rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  max-height: 2.5rem;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.28s ease, margin 0.4s ease, padding 0.4s ease;
}
.jp-menu-open { width: 100%; margin-top: 0.55rem; }
.jp-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: 0.85rem;
  background: #eef2ff;
  color: #4338ca;
  font-size: 1.15rem;
  transition: width 0.45s ease, height 0.45s ease, margin 0.45s ease, font-size 0.45s ease, border-radius 0.45s ease;
}
.jp-menu-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  transition: font-size 0.45s ease;
}
.jp-menu-desc {
  margin-top: 0.4rem;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.4;
  max-height: 5.5rem;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.28s ease, margin 0.4s ease;
}
@media (max-width: 767px) {
  .jp-menu-card {
    min-height: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 0.35rem 0.7rem;
    padding: 0.75rem 0.85rem;
  }
  .jp-menu-icon {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0;
    font-size: 0.95rem;
  }
  .jp-menu-title { flex: 1; min-width: 0; }
  .jp-menu-desc {
    flex: 1 1 100%;
    margin-top: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .jp-menu-detail { margin-top: 0; margin-left: auto; }
}
.jp-page.is-docked {
  gap: 0;
  overflow-x: visible;
}
.jp-page.is-docked .jp-studio-intro {
  max-height: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.jp-page.is-docked .jp-menu {
  position: sticky;
  top: calc(var(--cl-header-h, 4.5rem) + var(--cl-header-gap, 0.5rem));
  z-index: 30;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  margin: 0 -0.75rem 0.85rem;
  padding: 0.3rem 0.75rem;
  background: #fff;
  box-shadow: 0 1px 0 #e2e8f0;
}
.jp-page.is-docked .jp-menu-card,
.jp-page.is-docked .jp-menu-item.is-active .jp-menu-card {
  min-height: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  border-color: transparent;
  border-radius: 0.7rem;
  background: transparent;
  box-shadow: none;
}
.jp-page.is-docked .jp-menu-item.is-active .jp-menu-card {
  background: #fff1f2;
}
.jp-page.is-docked .jp-menu-icon {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  border-radius: 0.4rem;
  font-size: 0.7rem;
  line-height: 1;
  flex: none;
}
.jp-page.is-docked .jp-menu-title {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 0.8125rem;
  line-height: 1.2;
}
.jp-page.is-docked .jp-menu-desc,
.jp-page.is-docked .jp-menu-detail {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  opacity: 0;
  pointer-events: none;
}
.jp-page.is-docked [data-jp-panel]:not([hidden]) {
  animation: jp-dock-panel 0.4s ease;
}
@keyframes jp-dock-panel {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 640px) {
  .jp-page.is-docked .jp-menu {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jp-page,
  .jp-studio-intro,
  .jp-menu,
  .jp-menu-card,
  .jp-menu-icon,
  .jp-menu-title,
  .jp-menu-desc,
  .jp-menu-detail,
  .jp-page.is-docked [data-jp-panel]:not([hidden]) {
    transition: none !important;
    animation: none !important;
  }
}
.jp-orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.jp-orders-toolbar .jp-view-toggle { display: none; }
.jp-order-grid .jp-order-card .jp-btn { width: 100%; }
.jp-orders-toolbar .jp-btn { width: auto; margin-bottom: 0; flex: 1; }

.jp-tour {
  --jp-ink: #3b352e;
  --jp-ivory: #e1dad3;
  --jp-paper: #faf7f3;
  --jp-muted: #8d8478;
  --jp-line: #cfc6ba;
  --jp-rose: #d7a49a;
  --jp-rose-deep: #b57e71;
  --jp-rose-soft: #ecd6d0;
  --jp-tour-ink: #4f46e5;
  overflow: hidden;
  color: var(--jp-ink);
  font-family: Poppins, "Plus Jakarta Sans", sans-serif;
}
.jp-tour .jp-how-mono { font-family: "Space Mono", ui-monospace, monospace; }
.jp-tour .jp-how-display { font-family: "Playfair Display", Georgia, serif; }
.jp-tour .jp-how-phone { width: 100%; }
.jp-tour .jp-how-phone-scale { transform: scale(0.64); }
.jp-tour .jp-how-bezel { box-shadow: 0 12px 22px -14px rgba(15, 23, 42, 0.4); }
.jp-tour-stage {
  position: relative;
  height: 22rem;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}
.jp-tour-stage.is-drag { cursor: grabbing; }
.jp-tour-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10rem;
  margin-left: -5rem;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s;
}
.jp-tour:not(.is-ready) .jp-tour-card { display: none; }
.jp-tour:not(.is-ready) .jp-tour-card:first-child {
  display: block;
  position: relative;
  left: auto;
  top: auto;
  width: min(11rem, 48vw);
  margin: 0 auto;
  transform: none;
}
.jp-tour-captions { min-height: 13.5rem; }
.jp-tour-copy { max-width: 34rem; margin: 0.35rem auto 0; text-align: center; }
.jp-tour-copy[hidden] { display: none !important; }
.jp-tour-copy .jp-tour-badge {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f46e5;
}
.jp-tour-copy h2 {
  margin: 0.3rem 0 0;
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 700;
  color: #1e293b;
}
.jp-tour-copy h2 span { color: #4f46e5; }
.jp-tour-body {
  margin: 0.4rem 0 0;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.5;
}
.jp-tour-points {
  margin: 0.75rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
  display: grid;
  gap: 0.4rem;
}
.jp-tour-points li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  color: #475569;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.jp-tour-points p { margin: 0; }
.jp-tour-check {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0e7ff;
  color: #4338ca;
}
.jp-tour-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.jp-tour-nav button[data-jp-tour-prev],
.jp-tour-nav button[data-jp-tour-next] {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 23, 23, 0.18);
  background: #fff;
  color: var(--jp-tour-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.jp-tour-nav button[data-jp-tour-prev]:hover,
.jp-tour-nav button[data-jp-tour-next]:hover { background: rgba(79, 70, 229, 0.06); }
.jp-tour-nav svg { width: 14px; height: 14px; }
.jp-tour-dots { display: flex; align-items: center; gap: 0.4rem; }
.jp-tour-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.28);
  cursor: pointer;
}
.jp-tour-dot.is-on { width: 1.15rem; background: var(--jp-tour-ink); }
@media (prefers-reduced-motion: reduce) {
  .jp-tour-card { transition: none; }
}
.jp-order-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr);
}
.jp-order-grid.is-list { grid-template-columns: minmax(0, 1fr); }
.jp-order-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
}
.jp-order-grid:not(.is-list) .jp-order-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jp-order-grid:not(.is-list) .jp-stats { flex-wrap: wrap; gap: 0.35rem 0.6rem; }
.jp-order-grid:not(.is-list) .jp-order-card .jp-btn { width: 100%; }
.jp-order-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.jp-order-card h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.jp-order-when { margin: 0; color: #64748b; font-size: 0.8125rem; }
.jp-order-card .jp-btn { align-self: flex-start; margin-top: 0.35rem; }
.jp-active { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.jp-active-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.6875rem;
}
.jp-active-left { font-weight: 600; color: #475569; font-variant-numeric: tabular-nums; }
.jp-active-track {
  height: 0.375rem;
  overflow: hidden;
  border-radius: 999px;
  background: #f1f5f9;
}
.jp-active-fill { height: 100%; border-radius: 999px; }
.jp-active-fill.is-ok { background: #10b981; }
.jp-active-fill.is-mid { background: #f59e0b; }
.jp-active-fill.is-low { background: #f43f5e; }

.jp-create-panel {
  width: min(100%, 40rem);
  max-height: min(92dvh, 46rem);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.jp-create-head,
.jp-create-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
}
.jp-create-head { border-bottom: 1px solid #e2e8f0; }
.jp-create-head h2 { margin: 0; font-size: 1.05rem; }
.jp-create-x {
  border: 0;
  background: transparent;
  color: #64748b;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.25rem;
}
.jp-create-body { overflow: auto; padding: 0.9rem 1rem 1rem; }
.jp-create-foot {
  border-top: 1px solid #e2e8f0;
  padding-bottom: calc(0.85rem + env(safe-area-inset-bottom));
}
.jp-create-foot .jp-btn { flex: 1; }
.jp-create-foot .jp-btn[hidden] { display: none !important; }
.jp-create-panel .jp-tier-name,
.jp-create-panel .jp-usecase,
.jp-create-panel #jp-guests-shots,
.jp-create-panel .jp-shots,
.jp-create-panel .jp-tier-row,
.jp-create-panel .jp-once,
.jp-create-panel .jp-quota-extra { display: none; }
.jp-keep { margin: 0.75rem 0 0.2rem; color: #334155; font-size: 0.875rem; line-height: 1.45; }
.jp-keep strong { color: #312e81; }
.jp-create-panel .jp-price-card { border: 0; padding: 0; margin: 0; box-shadow: none; }

.jp-stepper {
  display: flex;
  gap: 0.35rem;
  margin: 0;
  padding: 0.7rem 1rem 0;
  list-style: none;
}
.jp-stepper li {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid #e2e8f0;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}
.jp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: 0.68rem;
  line-height: 1;
}
.jp-stepper li.is-on,
.jp-stepper li.is-done { color: #3730a3; border-bottom-color: #4f46e5; }
.jp-stepper li.is-on .jp-step-num,
.jp-stepper li.is-done .jp-step-num { background: #4f46e5; color: #fff; }

.jp-field {
  display: block;
  margin: 0.75rem 0 0.3rem;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 600;
}
.jp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.jp-input {
  width: 100%;
  min-height: 2.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 0.4rem 0.7rem;
  color: #0f172a;
  background: #fff;
  font: inherit;
}
.jp-pay-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.45rem; }
.jp-pay-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  background: #fff;
  cursor: pointer;
}
.jp-pay-option:has(input:checked) { border-color: #4f46e5; background: #eef2ff; }
.jp-pay-option strong,
.jp-pay-option small { display: block; }
.jp-pay-option strong { font-size: 0.875rem; }
.jp-pay-option small { margin-top: 0.15rem; color: #64748b; font-size: 0.75rem; line-height: 1.4; }
.jp-summary {
  margin-top: 0.85rem;
  padding: 0.75rem;
  border-radius: 0.9rem;
  background: #f8fafc;
}
.jp-summary dl { margin: 0.45rem 0 0; }
.jp-summary div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.28rem 0;
  font-size: 0.8125rem;
}
.jp-summary dt { color: #64748b; }
.jp-summary dd { margin: 0; font-weight: 650; text-align: right; }

.jp-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #4338ca;
  font-size: 0.8125rem;
  font-weight: 650;
  text-decoration: none;
}
.jp-detail-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.jp-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.jp-expire {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.5rem 0.85rem;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  color: #9f1239;
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.16);
  white-space: nowrap;
}
.jp-expire span,
.jp-expire strong {
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.jp-detail-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 0.9rem;
  background: #f1f5f9;
}
.jp-detail-switch button {
  border: 0;
  border-radius: 0.7rem;
  min-height: 2.15rem;
  background: transparent;
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}
.jp-detail-switch button[aria-pressed="true"] { background: #fff; color: #312e81; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06); }
.jp-detail [data-jp-panel] { display: none; }
.jp-detail [data-jp-panel].is-on { display: block; }
.jp-detail-tools { display: contents; }
.jp-detail-layout { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }

.jp-drive {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.jp-drive [hidden] { display: none !important; }
.jp-drive-icons { display: contents; }
.jp-drive-side-actions { display: inline-flex; align-items: center; gap: 0.3rem; }
.jp-drive-crumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 8rem;
  font-size: 0.875rem;
}
.jp-drive-crumb button {
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  padding: 0.1rem 0.25rem;
  color: #1a73e8;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.jp-drive-crumb button[aria-current="page"] { color: #202124; cursor: default; }
.jp-drive-crumb button.is-drop { outline: 2px solid #1a73e8; background: #e8f0fe; }
.jp-drive-crumb strong {
  min-width: 0;
  overflow: hidden;
  color: #202124;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jp-folder-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #3730a3;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.jp-folder-add:hover { background: #eef2ff; border-color: #c7d2fe; }
.jp-folder-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  background-image: none;
  padding: 0;
}
.jp-folder-visual svg {
  display: block;
  width: 100%;
  height: 100%;
}
.jp-folder { touch-action: manipulation; }
.jp-folder.is-drop,
.jp-folder[aria-pressed="true"] { outline: 2px solid #1a73e8; background: #e8f0fe; }
.jp-folder-check { display: none; }
.jp-drag-hint { margin: 0; max-width: 100%; color: #64748b; font-size: 0.68rem; line-height: 1.35; }
.jp-folder-card { text-align: left; }
.jp-drive-main { min-width: 0; max-width: 100%; }
.jp-drive-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
  min-width: 0;
}
.jp-drive-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.jp-drive-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem; }
.jp-drive-actions .jp-btn { width: auto; }
.jp-drive-count { color: #64748b; font-size: 0.75rem; font-weight: 650; }
.jp-drive-toggles { display: inline-flex; align-items: center; gap: 0.35rem; }
@media (max-width: 767px) {
  .jp-drive-icons {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
    width: 100%;
    overflow-x: auto;
  }
  .jp-drive-side-actions,
  .jp-drive-toggles { flex: none; }
}
.jp-view-toggle {
  display: inline-flex;
  gap: 0.1rem;
  padding: 0.15rem;
  border: 0;
  border-radius: 999px;
  background: #f1f3f4;
}
.jp-view-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
}
.jp-view-toggle [data-jp-sort] { width: auto; min-width: 2rem; padding: 0 0.4rem; }
.jp-view-toggle [data-jp-sort] [data-jp-sort-icon] { display: none; font-size: 0.55rem; }
.jp-view-toggle [data-jp-sort][aria-pressed="true"] [data-jp-sort-icon] { display: inline-block; }
.jp-view-toggle button[aria-pressed="true"] {
  background: #fff;
  color: #1a73e8;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.28);
}
.jp-drive-grid {
  --jp-look: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 0.35rem;
}
.jp-drive-list-head { display: none; }
.jp-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.45rem 0.4rem 0.5rem;
  border: 0;
  border-radius: 0.85rem;
  background: transparent;
  text-align: left;
  min-width: 0;
  transition: background 0.16s ease;
}
.jp-photo:hover { background: #f1f3f4; }
.jp-photo.is-selected,
.jp-photo:has(input:checked) { background: #e8f0fe; }
.jp-photo-open {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}
.jp-photo-check {
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  left: 0.7rem;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3);
  opacity: 0;
}
.jp-photo:hover .jp-photo-check,
.jp-photo.is-selected .jp-photo-check,
.jp-photo:has(input:checked) .jp-photo-check,
.jp-photo:focus-within .jp-photo-check { opacity: 1; }
@media (hover: none) {
  .jp-photo-check { opacity: 1; }
}
.jp-photo-check input { margin: 0; }
.jp-photo-actions {
  position: absolute;
  z-index: 3;
  top: 0.4rem;
  right: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.28rem;
}
.jp-photo-rename,
.jp-photo-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.68rem;
  cursor: pointer;
}
.jp-btn-compact { width: auto; min-height: 2.15rem; padding: 0.35rem 0.7rem; font-size: 0.75rem; }
.jp-slider-label { margin: 0.35rem 0 0.55rem; font-size: 0.8125rem; font-weight: 750; color: #312e81; text-align: center; }
.jp-qr-fan { overflow: hidden; }
.jp-qr-fan-stage {
  position: relative;
  min-height: 22rem;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}
.jp-qr-fan-stage.is-drag { cursor: grabbing; }
.jp-qr-fan-card.jp-qr-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15rem;
  min-height: 0;
  margin: 0;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s;
}
.jp-qr-fan-card .jp-qr-image { width: 7.4rem; height: 7.4rem; }
.jp-qr-skin {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.jp-qr-fan-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}
.jp-qr-fan-nav button {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #312e81;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.jp-qr-fan-nav svg { width: 14px; height: 14px; }
.jp-qr-fan-dots { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 0.35rem; }
.jp-qr-fan-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
}
.jp-qr-fan-dot.is-on { width: 1.15rem; background: #4f46e5; }
.jp-qr-open { display: inline-block; margin: 0.7rem 0 0.2rem; }
@media (prefers-reduced-motion: reduce) {
  .jp-qr-fan-card.jp-qr-card,
  .jp-photo,
  .jp-folder-add { transition: none; }
  .jp-photo:hover { background: #f1f3f4; }
}
.jp-delete-card { text-align: left; }
.jp-delete-actions { display: flex; gap: 0.45rem; margin-top: 0.75rem; }
.jp-delete-actions .jp-btn { flex: 1; }
.jp-photo-visual {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 0.55rem;
  border: 1px solid #e8eaed;
  background-color: #f8f9fa;
  background-size: cover;
  background-position: center;
  filter: var(--jp-look, none);
}
.jp-photo-visual.tone-a { background: linear-gradient(145deg, #c7d2fe, #fbcfe8); }
.jp-photo-visual.tone-b { background: linear-gradient(145deg, #99f6e4, #bfdbfe); }
.jp-photo-visual.tone-c { background: linear-gradient(145deg, #fde68a, #fdba74); }
.jp-photo-visual.tone-d { background: linear-gradient(160deg, #fecdd3, #ddd6fe); }
.jp-photo-visual.tone-e { background: linear-gradient(160deg, #bbf7d0, #a5f3fc); }
.jp-photo-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  min-width: 0;
  padding: 0.28rem 0.2rem 0;
}
.jp-photo-meta strong,
.jp-photo-meta small { font-size: 0.78rem; }
.jp-photo-meta strong {
  max-width: 100%;
  overflow: hidden;
  color: #202124;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jp-photo-meta small { color: #5f6368; font-size: 0.68rem; }
.jp-photo-when {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #3c4043;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jp-drive-grid.is-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.jp-drive-grid.is-list .jp-drive-list-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.55rem 0.45rem;
  border-bottom: 1px solid #e8eaed;
  color: #5f6368;
  font-size: 0.72rem;
  font-weight: 650;
}
.jp-drive-list-gap { width: calc(1.25rem + 0.65rem + 2.4rem); flex: none; }
.jp-drive-list-gap.is-action { width: 3.8rem; }
.jp-drive-list-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}
.jp-drive-list-labels span:last-child { width: 8.6rem; text-align: right; }
.jp-drive-grid.is-list .jp-photo,
.jp-drive-grid.is-list .jp-photo-open {
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
}
.jp-drive-grid.is-list .jp-photo {
  padding: 0.35rem 0.55rem;
  border-radius: 0;
  border-bottom: 1px solid #f1f3f4;
  background: transparent;
}
.jp-drive-grid.is-list .jp-photo:hover { background: #f8f9fa; }
.jp-drive-grid.is-list .jp-photo.is-selected,
.jp-drive-grid.is-list .jp-photo:has(input:checked) { background: #e8f0fe; }
.jp-drive-grid.is-list .jp-photo-open { flex: 1; }
.jp-drive-grid.is-list .jp-photo-check {
  position: static;
  opacity: 1;
  box-shadow: none;
  background: transparent;
}
.jp-drive-grid.is-list .jp-photo-visual {
  width: 2.4rem;
  height: 2.4rem;
  aspect-ratio: auto;
  border-radius: 0.3rem;
}
.jp-drive-grid.is-list .jp-photo-meta {
  flex: 1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0;
}
.jp-drive-grid.is-list .jp-photo-meta strong { flex: 1; min-width: 0; }
.jp-drive-grid.is-list .jp-photo-meta small,
.jp-drive-grid.is-list .jp-photo-when {
  flex: 0 0 8.6rem;
  width: 8.6rem;
  text-align: right;
  white-space: nowrap;
}
.jp-drive-grid.is-list .jp-photo-actions {
  position: static;
  margin-left: auto;
  flex: none;
}
.jp-drive-grid.is-list .jp-folder-check {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}
.jp-drive-grid.is-list .jp-folder-visual {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
}
.jp-drive-grid.is-list .jp-folder::after { content: none; }
.jp-drive-empty { margin: 1rem 0; text-align: center; color: #64748b; font-size: 0.875rem; }
.jp-lightbox-card.jp-history-card { width: min(100%, 44rem); text-align: left; }
.jp-history-table-wrap { margin-top: 0.75rem; max-height: 18rem; overflow: auto; border: 1px solid #e2e8f0; border-radius: 0.7rem; }
.jp-history-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.jp-history-table th,
.jp-history-table td { padding: 0.5rem 0.65rem; text-align: left; vertical-align: middle; border-bottom: 1px solid #eef2f7; }
.jp-history-table th { position: sticky; top: 0; background: #f8fafc; color: #64748b; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.jp-history-table tr:last-child td { border-bottom: 0; }
.jp-history-table td:first-child { max-width: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.jp-history-table td:nth-child(2) { white-space: nowrap; color: #475569; }
.jp-history-table td:last-child { white-space: nowrap; text-align: right; }
.jp-move-loading {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.72);
}
.jp-move-loading[hidden] { display: none !important; }
.jp-move-spinner {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 3px solid #e0e7ff;
  border-top-color: #4f46e5;
  animation: jp-move-spin 0.7s linear infinite;
}
@keyframes jp-move-spin { to { transform: rotate(360deg); } }

.jp-tool-card {
  padding: 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
}
.jp-tool-card .jp-h2 { margin-bottom: 0.25rem; }
.jp-choice-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.jp-choice-row button {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  min-height: 2rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 650;
  cursor: pointer;
}
.jp-choice-row button[aria-pressed="true"] { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.jp-cam-preview {
  position: relative;
  min-height: 11rem;
  margin-top: 0.35rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.16), transparent 46%),
    linear-gradient(160deg, #6366f1, #f472b6 55%, #fbbf24);
  overflow: hidden;
}
.jp-cam-stamp {
  position: absolute;
  top: 0.6rem;
  left: 0.7rem;
  color: #facc15;
  font-size: 0.8rem;
  font-weight: 800;
}
.jp-cam-caption {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.65rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.jp-camera-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}
.jp-camera-actions .jp-btn {
  flex: 1 1 10rem;
}
.jp-qr-stage { display: flex; justify-content: center; margin: 0.8rem 0; }
.jp-qr-card {
  width: min(100%, 17rem);
  min-height: 21rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
  background: var(--card-bg, #1c1917);
  color: var(--card-ink, #f8f5ee);
  border: 1px solid color-mix(in srgb, var(--card-ink, #faf7f2) 18%, transparent);
  position: relative;
  overflow: hidden;
}
.jp-qr-decor {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, color-mix(in srgb, var(--card-ink) 34%, transparent), transparent 48%),
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--card-ink) 18%, transparent), transparent 44%),
    linear-gradient(160deg, color-mix(in srgb, var(--card-bg) 90%, #fff 10%), var(--card-bg));
  opacity: 0.6;
  pointer-events: none;
}
.jp-qr-card > * {
  position: relative;
  z-index: 1;
}
.jp-qr-card[data-skin="tinta"] {
  --card-bg: #1f1722;
  --card-ink: #f6ecdf;
}
.jp-qr-card[data-skin="sage"] {
  --card-bg: #dff3eb;
  --card-ink: #0f5132;
}
.jp-qr-card[data-skin="rose"] {
  --card-bg: #ffe7ea;
  --card-ink: #7a1a34;
}
.jp-qr-card[data-skin="editorial"] {
  --card-bg: #f5f0e9;
  --card-ink: #111111;
}
.jp-qr-card[data-skin="plain"] {
  --card-bg: #ffffff;
  --card-ink: #1e293b;
}
.jp-qr-card[data-skin="duotone"] {
  --card-bg: #f6efe6;
  --card-ink: #1c1917;
}
.jp-qr-card[data-skin="duotone"] .jp-qr-decor {
  opacity: 1;
  background:
    linear-gradient(#1c1917, #1c1917) left / 0.7rem 100% no-repeat,
    linear-gradient(#1c1917, #1c1917) right / 0.7rem 100% no-repeat,
    #f6efe6;
}
.jp-qr-card[data-skin="duotone"] .jp-qr-kicker,
.jp-qr-card[data-skin="duotone"] h3,
.jp-qr-card[data-skin="duotone"] .jp-qr-tagline {
  color: #1c1917;
  opacity: 1;
}
.jp-qr-card[data-skin="nocturne"] {
  --card-bg: #14110e;
  --card-ink: #f6ead2;
}
.jp-qr-card[data-skin="nocturne"] .jp-qr-decor {
  opacity: 1;
  background: linear-gradient(128deg, #1a140c 0 46%, #c4a574 46% 54%, #111111 54% 100%);
}
.jp-qr-card[data-skin="polka"] {
  --card-bg: #fffaf7;
  --card-ink: #7a1a34;
}
.jp-qr-card[data-skin="polka"] .jp-qr-decor {
  opacity: 1;
  background-color: #fffaf7;
  background-image: radial-gradient(circle, #e7a3b0 1.15px, transparent 1.25px);
  background-size: 13px 13px;
}
.jp-qr-card[data-skin="gilded"] {
  --card-bg: #fbf6ec;
  --card-ink: #5c4314;
}
.jp-qr-card[data-skin="gilded"] .jp-qr-decor {
  opacity: 1;
  background-color: #fbf6ec;
  background-image: radial-gradient(circle, #c4a574 1.05px, transparent 1.15px);
  background-size: 16px 16px;
}
.jp-qr-kicker {
  margin: 0.15rem 0 0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.jp-qr-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  white-space: pre-line;
}
textarea.jp-textarea {
  min-height: 4.6rem;
  resize: vertical;
  line-height: 1.4;
}
.jp-qr-tagline {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}
.jp-qr-image {
  width: 9.6rem;
  height: 9.6rem;
  padding: 0.45rem;
  border-radius: 0.7rem;
  background: #fff;
}
.jp-qr-image img { width: 100%; height: 100%; display: block; }
.jp-qr-note {
  margin: 0.2rem 0 0;
  font-size: 0.76rem;
  line-height: 1.45;
  max-width: 14rem;
}
.jp-qr-link {
  margin: 0.15rem 0 0;
  color: inherit;
  font-size: 0.67rem;
  line-height: 1.4;
  opacity: 0.8;
  text-decoration: underline;
  word-break: break-all;
}
.jp-tool-card > .jp-btn { width: 100%; }
.jp-qr-export { display: flex; gap: 0.45rem; }
.jp-qr-export .jp-btn { flex: 1; width: auto; }

.jp-lightbox[hidden] { display: none !important; }
.jp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.jp-lightbox-card {
  position: relative;
  width: min(100%, 28rem);
  margin: 0;
  padding: 0.8rem 0.8rem calc(0.8rem + env(safe-area-inset-bottom));
  border-radius: 1.2rem 1.2rem 0 0;
  background: #fff;
  text-align: center;
}
.jp-lightbox-stage {
  position: relative;
  display: inline-block;
  max-width: 100%;
}
.jp-lightbox-visual {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 9.5rem);
  margin: 0 auto;
  border-radius: 0.9rem;
  object-fit: contain;
  background: #111;
}
.jp-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 15, 18, 0.62);
  color: #fff;
  transform: translateY(-50%);
  cursor: pointer;
}
.jp-lightbox-nav.is-prev { left: 0.45rem; }
.jp-lightbox-nav.is-next { right: 0.45rem; }
.jp-lightbox-nav:disabled { opacity: 0.35; cursor: default; }
.jp-lightbox-nav[hidden] { display: none !important; }
.jp-lightbox-visual.tone-b { background: linear-gradient(145deg, #99f6e4, #bfdbfe); }
.jp-lightbox-visual.tone-c { background: linear-gradient(145deg, #fde68a, #fdba74); }
.jp-lightbox-visual.tone-d { background: linear-gradient(160deg, #fecdd3, #ddd6fe); }
.jp-lightbox-visual.tone-e { background: linear-gradient(160deg, #bbf7d0, #a5f3fc); }
.jp-lightbox-card figcaption { margin: 0.55rem 0 0.7rem; font-size: 0.875rem; font-weight: 650; }
.jp-cam-modal-card {
  text-align: left;
}
.jp-cam-live {
  margin-top: 0.65rem;
  border-radius: 0.95rem;
  overflow: hidden;
  background: #111827;
}
.jp-cam-live video {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@media (min-width: 640px) {
  .jp-studio-mark { width: 4rem; height: 4rem; border-radius: 1.15rem; font-size: 1.5rem; margin-bottom: 1rem; }
  .jp-studio-intro h1 { font-size: 1.5rem; }
  .jp-studio-intro p { font-size: 0.875rem; }
  .jp-menu { gap: 1rem; }
  .jp-orders-toolbar .jp-btn { flex: none; }
  .jp-menu-title { font-size: 1.05rem; }
  .jp-menu-desc { font-size: 0.875rem; }
  .jp-studio-head .jp-btn { width: auto; }
  .jp-drive-grid:not(.is-list) { grid-template-columns: repeat(auto-fill, minmax(10.25rem, 1fr)); }
  .jp-lightbox { align-items: center; padding: 1rem; }
  .jp-lightbox-card { border-radius: 1.2rem; }
}
@media (min-width: 768px) {
  .jp-orders-toolbar .jp-view-toggle { display: inline-flex; }
  .jp-studio-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .jp-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jp-menu-card { min-height: 13rem; padding: 1.4rem 1.1rem; }
  .jp-order-grid:not(.is-grid) { grid-template-columns: minmax(0, 1fr); }
  .jp-order-grid.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jp-order-grid.is-list .jp-order-card,
  .jp-order-grid:not(.is-grid) .jp-order-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
  }
  .jp-order-grid.is-list .jp-order-top,
  .jp-order-grid:not(.is-grid) .jp-order-top { flex: 1 1 12rem; min-width: 0; }
  .jp-order-grid.is-list .jp-order-when,
  .jp-order-grid:not(.is-grid) .jp-order-when { flex: 0 1 auto; margin: 0; }
  .jp-order-grid.is-list .jp-stats,
  .jp-order-grid:not(.is-grid) .jp-stats { flex: 1 1 12rem; margin-top: 0; }
  .jp-order-grid.is-list .jp-fx,
  .jp-order-grid:not(.is-grid) .jp-fx { flex: 0 1 auto; margin: 0; }
  .jp-order-grid.is-grid .jp-order-card .jp-btn { width: 100%; margin-left: 0; }
  .jp-order-grid.is-list .jp-order-card .jp-btn,
  .jp-order-grid:not(.is-grid) .jp-order-card .jp-btn { width: auto; margin-top: 0; margin-left: auto; }
  .jp-order-grid.is-list .jp-active,
  .jp-order-grid:not(.is-grid) .jp-active { flex: 1 1 100%; }
  .jp-drive-actions { justify-content: flex-end; }
  .jp-detail-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* Customer Jepret uses the wedding-prep rose, not the indigo used on mitra. */
.jp-rose {
  --jp-accent: #f43f5e;
  --jp-accent-ink: #e11d48;
  --jp-accent-deep: #be123c;
  --jp-accent-soft: #fff1f2;
  --jp-accent-wash: #ffe4e6;
  --jp-accent-line: #fecdd3;
}
.jp-rose :focus-visible {
  outline-color: var(--jp-accent);
}
.jp-rose .jp-kicker,
.jp-rose .jp-empty-icon,
.jp-rose .jp-card-icon,
.jp-rose .jp-studio-mark { color: var(--jp-accent-ink); }
.jp-rose .jp-empty-icon,
.jp-rose .jp-card-icon,
.jp-rose .jp-studio-mark,
.jp-rose .jp-banner,
.jp-rose .jp-status,
.jp-rose .jp-menu-icon,
.jp-rose .jp-menu-detail,
.jp-rose .jp-tour-check {
  background: var(--jp-accent-wash);
  color: var(--jp-accent-ink);
}
.jp-rose .jp-btn { color: var(--jp-accent-deep); }
.jp-rose .jp-btn-primary,
.jp-rose .jp-chip.is-on,
.jp-rose .jp-shots button[aria-pressed="true"],
.jp-rose .jp-presets button[aria-pressed="true"],
.jp-rose .jp-tier.is-active,
.jp-rose .jp-choice-row button[aria-pressed="true"],
.jp-rose .jp-stepper li.is-on .jp-step-num,
.jp-rose .jp-stepper li.is-done .jp-step-num {
  background: var(--jp-accent);
  border-color: var(--jp-accent);
  color: #fff;
}
.jp-rose .jp-btn-primary:hover { background: var(--jp-accent-ink); }
.jp-rose .jp-btn-secondary {
  border-color: var(--jp-accent-line);
  color: var(--jp-accent-deep);
}
.jp-rose .jp-btn-secondary:hover { background: var(--jp-accent-soft); }
.jp-rose .jp-banner,
.jp-rose .jp-status,
.jp-rose .jp-keep strong,
.jp-rose .jp-back,
.jp-rose .jp-menu-detail,
.jp-rose .jp-menu-icon { color: var(--jp-accent-ink); }
.jp-rose button.jp-menu-card:hover { border-color: #fda4af; }
.jp-rose .jp-menu-item.is-active .jp-menu-card {
  border-color: var(--jp-accent-ink);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.16);
}
.jp-rose .jp-tour { --jp-tour-ink: #e11d48; }
.jp-rose .jp-tour-copy .jp-tour-badge,
.jp-rose .jp-tour-copy h2 span { color: var(--jp-accent-ink); }
.jp-rose .jp-tour-nav button[data-jp-tour-prev]:hover,
.jp-rose .jp-tour-nav button[data-jp-tour-next]:hover { background: rgba(244, 63, 94, 0.08); }
.jp-rose .jp-range,
.jp-rose .jp-pay-option input { accent-color: var(--jp-accent); }
.jp-rose .jp-stepper li.is-on,
.jp-rose .jp-stepper li.is-done { color: var(--jp-accent-ink); border-bottom-color: var(--jp-accent); }
.jp-rose .jp-pay-option:has(input:checked) {
  border-color: var(--jp-accent);
  background: var(--jp-accent-soft);
}
.jp-rose .jp-folder-add { color: var(--jp-accent-ink); }
.jp-rose .jp-folder-add:hover {
  background: var(--jp-accent-soft);
  border-color: var(--jp-accent-line);
}
.jp-folder-add.is-loading i { animation: jp-move-spin 0.7s linear infinite; }
.jp-rose .jp-move-spinner {
  border-color: var(--jp-accent-wash);
  border-top-color: var(--jp-accent);
}
.jp-rose .jp-qr-fan-dot.is-on { background: var(--jp-accent); }
.jp-rose .jp-slider-label,
.jp-rose .jp-detail-switch button[aria-pressed="true"] { color: var(--jp-accent-deep); }
.jp-rose .jp-view-toggle button[aria-pressed="true"] { color: var(--jp-accent-ink); }
.jp-status.is-live,
.jp-rose .jp-status.is-live { background: #dcfce7; color: #166534; }
.jp-status.is-wait,
.jp-rose .jp-status.is-wait { background: #fef9c3; color: #854d0e; }
.jp-status.is-dead,
.jp-rose .jp-status.is-dead { background: #e5e7eb; color: #111827; }
.jp-order-card.is-disabled { opacity: 0.72; }
.jp-order-card.is-disabled .jp-btn,
.jp-order-card .jp-btn[aria-disabled="true"] {
  pointer-events: none;
  cursor: not-allowed;
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
}

@media print {
  body.jp-printing * {
    visibility: hidden !important;
  }
  body.jp-printing .jp-print-sheet,
  body.jp-printing .jp-print-sheet * {
    visibility: visible !important;
  }
  body.jp-printing .jp-print-sheet {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    z-index: 9999;
  }
  body.jp-printing .jp-print-sheet .jp-qr-card {
    width: 8.5cm;
    min-height: auto;
    box-shadow: none !important;
  }
}
