:root {
  --studio-navy: #0d1c32;
  --studio-navy-mid: #10233d;
  --studio-navy-deep: #071321;
  --studio-gold: #c5a059;
  --studio-gold-light: #efd18d;
  --studio-silver: #b9c2d0;
  --studio-blue: #0a84ff;
}

.photo-studio-page [hidden] {
  display: none !important;
}

.photo-studio-page {
  min-width: 320px;
  color: #f7f8fb;
  background:
    radial-gradient(circle at 85% 5%, rgba(197, 160, 89, 0.13), transparent 30rem),
    linear-gradient(180deg, #0d1c32 0, #071321 72rem);
}

.photo-studio-page h1,
.photo-studio-page h2,
.photo-studio-page h3,
.photo-studio-page p {
  color: inherit;
}

.studio-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(13, 28, 50, 0.12);
  backdrop-filter: blur(18px);
}

.studio-brand {
  width: clamp(210px, 23vw, 290px);
}

.studio-brand img,
.studio-footer img {
  width: 100%;
  height: auto;
}

.studio-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preview-badge,
.workspace-state,
.annotation-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-badge {
  padding: 8px 12px;
  color: #70531a;
  background: #f6ecd4;
  border: 1px solid rgba(197, 160, 89, 0.42);
}

.studio-account-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  color: var(--studio-navy);
  background: transparent;
  border: 1px solid rgba(13, 28, 50, 0.22);
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.account-dot,
.state-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--studio-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.14);
}

.studio-intro,
.access-strip,
.studio-workspace,
.package-section {
  width: min(calc(100% - 48px), 1440px);
  margin-inline: auto;
}

.studio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 44px;
  padding: clamp(24px, 3vw, 42px) 0 30px;
}

.studio-intro h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.studio-lede {
  max-width: 860px;
  margin: 0;
  color: var(--studio-silver) !important;
  font-size: clamp(1.03rem, 1.7vw, 1.34rem);
  line-height: 1.65;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .studio-intro h1,
  .workspace-heading h2,
  .package-heading h2 {
    color: transparent;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(115deg, #fffef9 0%, #e0e6ef 24%, #ffffff 43%, #bdc9da 60%, #fff9e9 80%, #f5f7fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(0 2px 12px rgba(220, 231, 249, 0.12));
  }

  .package-heading h2 {
    background-image: linear-gradient(110deg, #fff7e2 0%, #dfc084 24%, #fffef6 45%, #bccbdd 65%, #f0d59c 88%, #fff7e2 100%);
  }
}

.studio-print-note {
  max-width: 1020px;
  margin-top: 24px;
  padding: 24px clamp(20px, 3vw, 30px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-left: 3px solid var(--studio-gold);
  border-radius: 12px;
  background: linear-gradient(125deg, rgba(230, 236, 248, 0.12), rgba(197, 160, 89, 0.08) 48%, rgba(31, 63, 101, 0.35));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 36px rgba(0, 0, 0, 0.12);
}

.studio-print-note strong {
  color: var(--studio-gold-light);
}

.studio-print-note > strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.4;
}

.studio-print-note p {
  margin: 14px 0;
  font-size: 1.25rem;
  line-height: 1.6;
}

.studio-print-note small {
  display: block;
  margin-top: 16px;
  color: #d6deea;
  font-size: 1.125rem;
  line-height: 1.6;
}

.print-dialog { width: min(1100px, calc(100vw - 32px)); max-width: 1100px; font-size: 18px; }
.print-dialog p { font-size: 18px; line-height: 1.6; }
.print-dialog h2 { padding-right: 32px; }
.print-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 24px; }
.print-dialog canvas { display: block; width: 100%; max-height: 480px; object-fit: contain; background: #060e19; }
.print-dialog label { display: grid; gap: 8px; margin: 14px 0; font-size: 18px; }
.print-dialog input:not([type=checkbox]):not([type=range]):not([type=file]), .print-dialog select { width: 100%; min-height: 48px; padding: 10px; font-size: 18px; color: #102037; background: #fffaf1; border: 1px solid #bdc9d8; border-radius: 8px; }
.print-dialog input[type=range] { width: 100%; }
.print-dialog .print-consent { display: flex; align-items: flex-start; gap: 14px; }
.print-consent input { flex: 0 0 22px; height: 22px; margin-top: 4px; }
.print-dialog [data-print-message] { color: #f0cf86; }
.print-dialog [data-print-price], .print-dialog [data-print-final-price] { padding: 16px 24px; margin: 24px 0; border: 1px solid #bd9b58; border-radius: 12px; }
.print-dialog [data-print-order] { margin-top: 24px; }
@media (max-width: 720px) { .print-grid { grid-template-columns: 1fr; } }

.studio-eyebrow,
.studio-kicker {
  margin: 0 0 10px;
  color: var(--studio-gold) !important;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.access-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
  padding: 26px clamp(22px, 4vw, 46px);
  color: var(--studio-navy);
  background: linear-gradient(115deg, #fff8e7 0%, #f3e8ce 22%, #eef1fa 45%, #f5e8ed 66%, #e5eeed 83%, #fff7e6 100%);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 24px 70px rgba(0, 0, 0, 0.16);
}

.access-strip .studio-kicker {
  color: #80621f !important;
}

.access-strip h2 {
  margin-bottom: 8px;
  color: var(--studio-navy);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.access-strip p {
  max-width: 760px;
  margin: 0;
  color: #4f5b6b;
}

.access-actions {
  display: flex;
  gap: 10px;
}

.guest-access-guide {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(13, 28, 50, 0.18);
}

.guest-access-guide h3 {
  margin: 0 0 12px;
  color: var(--studio-navy);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
}

.access-strip .guest-access-guide p {
  max-width: 1050px;
  font-size: 1.125rem;
  line-height: 1.65;
}

.access-strip .guest-access-guide p + p {
  margin-top: 12px;
}

.guest-access-guide strong {
  color: var(--studio-navy);
}

.dialog-option .guest-return-help {
  font-size: 1rem;
  line-height: 1.6;
}

.studio-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.studio-button:hover,
.preset-button:hover,
.package-card:hover {
  transform: translateY(-2px);
}

.studio-button:focus-visible,
.preset-button:focus-visible,
.package-card:focus-visible,
.plain-action:focus-visible,
.annotation-marker:focus-visible,
.annotation-list-button:focus-visible,
.studio-account-button:focus-visible,
.checkout-method:focus-visible,
.dialog-close:focus-visible {
  outline: 3px solid rgba(239, 209, 141, 0.84);
  outline-offset: 3px;
}

.studio-button-gold {
  color: var(--studio-navy);
  background: linear-gradient(120deg, var(--studio-gold-light), #aa7b23);
  box-shadow: 0 10px 22px rgba(121, 84, 18, 0.19);
}

.studio-button-outline {
  color: var(--studio-navy);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(13, 28, 50, 0.26);
}

.studio-button-light {
  color: var(--studio-navy);
  background: #fffdf8;
}

.studio-button-gradient {
  color: var(--studio-navy-deep);
  background: linear-gradient(105deg, #f4d991 0%, #c5a059 48%, #9b6d1d 100%);
  box-shadow: 0 15px 30px rgba(197, 160, 89, 0.18);
}

.studio-button[data-access-mode="guest"],
.studio-button[data-preview-guest],
.studio-button[for="studio-photo-input"] {
  color: var(--studio-navy);
  background: linear-gradient(115deg, #fffef8 0%, #e8edf6 23%, #ffffff 43%, #f5eefa 63%, #e8f1f2 82%, #fff9e9 100%);
  border: 1px solid #c2ccd9;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(157, 173, 194, 0.24), 0 8px 20px rgba(5, 17, 34, 0.18);
}

.studio-button[data-access-mode="guest"]:hover,
.studio-button[data-preview-guest]:hover,
.studio-button[for="studio-photo-input"]:hover {
  border-color: #e1c88e;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(157, 173, 194, 0.2), 0 10px 24px rgba(185, 206, 233, 0.24);
}

.studio-workspace {
  padding: clamp(25px, 4vw, 48px);
  color: #f7f8fb;
  background: rgba(6, 17, 31, 0.74);
  border: 1px solid rgba(185, 194, 208, 0.16);
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.workspace-heading,
.panel-topline,
.inspector-header,
.package-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.workspace-heading h2,
.package-heading h2 {
  margin-bottom: 0;
  padding: 0.05em 0.12em 0.18em 0.04em;
  line-height: 1.25;
  overflow: visible;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.3vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.workspace-state {
  flex: 0 0 auto;
  padding: 9px 13px;
  color: var(--studio-silver);
  background: var(--studio-navy-mid);
  border: 1px solid rgba(185, 194, 208, 0.18);
}

.preset-toolbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 32px 0 18px;
}

.preset-button {
  min-width: 0;
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: #f7f8fb;
  background: var(--studio-navy-mid);
  border: 1px solid rgba(185, 194, 208, 0.17);
  border-radius: 13px;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.preset-icon {
  width: 46px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.preset-icon img {
  display: block;
  width: 42px;
  height: 38px;
  object-fit: contain;
}

.preset-button:active .preset-icon {
  transform: scale(0.96);
}

.preset-button strong,
.preset-button small {
  display: block;
}

.preset-button strong {
  font-size: 1.25rem;
  line-height: 1.3;
  white-space: normal;
}

.preset-button small {
  margin-top: 6px;
  color: #d5dfed;
  font-size: 1rem;
  line-height: 1.4;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(340px, 0.58fr);
  gap: 18px;
}

.photo-panel,
.edit-inspector {
  min-width: 0;
  padding: 18px;
  background: var(--studio-navy-mid);
  border: 1px solid rgba(185, 194, 208, 0.16);
  border-radius: 18px;
}

.panel-topline,
.inspector-header {
  align-items: center;
  margin-bottom: 14px;
}

.panel-topline h3,
.inspector-header h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.36rem);
  letter-spacing: -0.025em;
}

.plain-action,
.remove-tag {
  min-height: 42px;
  padding: 6px 4px;
  color: var(--studio-gold-light);
  background: transparent;
  border: 0;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.plain-action span {
  color: var(--studio-silver);
  font-weight: 400;
}

.photo-view-controls { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:0 0 14px; }
.photo-view-controls button { min-height:44px; padding:10px 16px; border:1px solid #c5a059; border-radius:9px; color:#0d1c32; background:linear-gradient(135deg,#fff,#e4eaf2 60%,#f4ecdb); font:600 1rem "Inter",sans-serif; cursor:pointer; }
.photo-view-controls button:disabled { opacity:.5; cursor:default; }
.photo-view-controls button:focus-visible { outline:3px solid #4ba2ff; outline-offset:3px; }
.photo-view-controls output { min-width:55px; text-align:center; font-size:1rem; font-variant-numeric:tabular-nums; }
.photo-view-controls > span { flex-basis:100%; color:var(--studio-muted); font-size:1rem; line-height:1.5; }
.photo-frame.is-zoomed { cursor:grab; }
.photo-frame.is-panning { cursor:grabbing; }
.photo-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 430px;
  display: grid;
  place-items: center;
  background: #02070d;
  border: 1px solid rgba(185, 194, 208, 0.2);
  border-radius: 14px;
  touch-action: none;
  cursor: crosshair;
}

.photo-frame.is-empty {
  cursor: default;
  background:
    radial-gradient(circle at 50% 12%, rgba(197, 160, 89, 0.18), transparent 38%),
    linear-gradient(145deg, #0d1c32 0%, #06111f 100%);
}

.photo-frame > img {
  width: 100%;
  height: min(68vh, 780px);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.photo-frame > img[hidden],
.photo-empty[hidden],
.placement-hint[hidden] {
  display: none;
}

.photo-empty {
  width: min(100% - 44px, 760px);
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 28px 20px;
  text-align: center;
}

.photo-empty-copy {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.photo-empty h4 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.photo-empty-copy > p:last-child {
  max-width: 590px;
  margin: 0;
  color: var(--studio-silver);
  font-size: 0.82rem;
  line-height: 1.55;
}

.photo-example-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.photo-example-grid li {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px;
  color: var(--studio-silver);
  background: rgba(16, 35, 61, 0.68);
  border: 1px solid rgba(185, 194, 208, 0.16);
  border-radius: 10px;
  font-size: 1rem;
}

.photo-example-grid strong {
  color: var(--studio-gold-light);
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-example-grid span {
  line-height: 1.35;
}

.photo-empty .studio-button {
  width: min(100%, 280px);
}

.photo-empty > small {
  color: var(--studio-silver);
  font-size: 0.68rem;
}

.annotation-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.annotation-marker {
  position: absolute;
  z-index: 2;
  width: 38px;
  height: 49px;
  display: grid;
  place-items: start center;
  padding: 6px 0 0;
  color: #fff;
  background: var(--studio-blue);
  border: 2px solid #fff;
  border-radius: 19px 19px 19px 5px;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.45);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  transform: translate(-50%, -100%) rotate(-1deg);
  transform-origin: 50% 100%;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}

.annotation-marker::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: -2px;
  width: 12px;
  height: 12px;
  background: var(--studio-blue);
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-18deg) skew(-14deg);
}

.annotation-marker.is-selected {
  background: #0067d9;
  box-shadow: 0 0 0 5px rgba(10, 132, 255, 0.3), 0 9px 22px rgba(0, 0, 0, 0.5);
}

.annotation-marker:active {
  cursor: grabbing;
}

.placement-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: grid;
  grid-template-columns: 30px auto;
  column-gap: 9px;
  align-items: center;
  max-width: calc(100% - 36px);
  padding: 9px 13px 9px 9px;
  color: #fff;
  background: rgba(7, 19, 33, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.33);
  transform: translateX(-50%);
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.placement-hint > span {
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--studio-blue);
  border-radius: 50%;
  font-size: 1.2rem;
}

.placement-hint strong,
.placement-hint small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.placement-hint strong {
  font-size: 0.76rem;
}

.placement-hint small {
  color: var(--studio-silver);
  font-size: 0.68rem;
}

.photo-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

[data-photo-choose][hidden] {
  display: none;
}

.photo-actions [data-optional-reference] {
  margin-left: auto;
}

.photo-disclosure,
.studio-security,
.dialog-footnote {
  margin: 10px 0 0;
  color: var(--studio-silver) !important;
  font-size: 0.74rem;
}

.edit-inspector {
  display: flex;
  flex-direction: column;
}

.annotation-count {
  padding: 7px 10px;
  color: var(--studio-gold-light);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.28);
}

.selected-card {
  padding: 16px;
  background: rgba(7, 19, 33, 0.7);
  border: 1px solid rgba(10, 132, 255, 0.52);
  border-radius: 14px;
}

.empty-inspector {
  display: grid;
  justify-items: center;
  padding: 28px 20px;
  color: var(--studio-silver);
  background: rgba(7, 19, 33, 0.5);
  border: 1px dashed rgba(185, 194, 208, 0.3);
  border-radius: 14px;
  text-align: center;
}

.empty-inspector[hidden] {
  display: none;
}

.empty-inspector strong {
  margin-top: 10px;
  color: #fff;
}

.empty-inspector p {
  max-width: 310px;
  margin: 5px 0 0;
  color: var(--studio-silver);
  font-size: 0.78rem;
}

.empty-pin {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--studio-blue);
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
}

.selected-card-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}

.selected-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--studio-blue);
  border: 2px solid #fff;
  border-radius: 50%;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.selected-card-heading span,
.selected-card-heading strong {
  display: block;
}

.selected-card-heading div > span {
  color: var(--studio-silver);
  font-size: 0.7rem;
}

.selected-card-heading strong {
  margin-top: 2px;
  font-size: 1rem;
}

.selected-card label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.selected-card label span {
  color: var(--studio-silver);
  font-weight: 400;
}

.selected-card textarea,
.dialog-option input {
  width: 100%;
  color: #fff;
  background: #071321;
  border: 1px solid rgba(185, 194, 208, 0.28);
  border-radius: 9px;
}

.selected-card textarea {
  min-height: 98px;
  padding: 12px;
  resize: vertical;
}

.selected-card textarea:focus,
.dialog-option input:focus {
  outline: 2px solid var(--studio-blue);
  border-color: transparent;
}

.note-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
  color: var(--studio-silver);
  font-size: 0.68rem;
}

.remove-tag {
  min-height: 34px;
  margin-top: 3px;
  color: #efb3ad;
}

.annotation-list {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}

.annotation-list-button {
  width: 100%;
  min-height: 50px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(7, 19, 33, 0.5);
  border: 1px solid rgba(185, 194, 208, 0.13);
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
}

.annotation-list-button.is-selected {
  border-color: rgba(10, 132, 255, 0.65);
}

.annotation-list-number {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--studio-blue);
  border-radius: 50%;
  font-size: 0.73rem;
  font-weight: 800;
}

.annotation-list-copy {
  min-width: 0;
}

.annotation-list-copy strong,
.annotation-list-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.annotation-list-copy strong {
  font-size: 0.77rem;
}

.annotation-list-copy small {
  margin-top: 2px;
  color: var(--studio-silver);
  font-size: 0.66rem;
}

.annotation-list-chevron {
  color: var(--studio-gold-light);
}

.edit-total {
  margin-top: auto;
  padding: 14px 0;
  border-top: 1px solid rgba(185, 194, 208, 0.16);
}

.edit-total > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.edit-total span,
.edit-total p {
  color: var(--studio-silver) !important;
  font-size: 0.75rem;
}

.edit-total strong {
  color: var(--studio-gold-light);
}

.edit-total p {
  margin: 5px 0 0;
}

.studio-submit {
  width: 100%;
}

.studio-security {
  text-align: center;
}

.package-section {
  padding: clamp(70px, 9vw, 126px) 0;
}

.package-heading {
  margin-bottom: 30px;
}

.workspace-heading h2 {
  font-style: italic;
}

.package-policy {
  width: 100%;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: 15px;
  background: linear-gradient(115deg, rgba(197, 160, 89, 0.1), rgba(153, 185, 225, 0.08));
}

.package-policy strong {
  color: var(--studio-gold-light);
}

.package-policy p {
  margin: 8px 0 0;
  color: var(--studio-silver);
  font-size: 0.9rem;
  line-height: 1.65;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.package-card {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  color: var(--studio-navy);
  background: linear-gradient(135deg, #fffefa 0%, #e1e7ef 32%, #ffffff 50%, #eff1f6 72%, #d0d9e6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 12px 28px rgba(0, 0, 0, 0.18);
  border: 2px solid transparent;
  border-radius: 18px;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

.package-card.is-featured {
  background: linear-gradient(135deg, #fff9e9 0%, #e4c581 32%, #fff0c9 50%, #e6c987 72%, #c9a454 100%);
  border-color: var(--studio-gold);
}

.package-card[data-package="10"] {
  background: linear-gradient(135deg, #edf6ff 0%, #abc7e8 32%, #deeeff 50%, #b6cee9 72%, #7fa7d4 100%);
  border-color: rgba(95, 151, 210, 0.55);
}

.package-card[data-package="20"] {
  color: #fff;
  background: linear-gradient(135deg, #244c76 0%, #0d1c32 38%, #233b52 54%, #665632 78%, #b18b3e 100%);
  border-color: rgba(239, 209, 141, 0.65);
  box-shadow: inset 0 0 40px rgba(197, 160, 89, 0.1);
}

.package-card[data-package="20"] .package-name,
.package-card[data-package="20"] .package-price {
  color: var(--studio-gold-light);
}

.package-card[data-package="20"] small {
  color: #d5dce6;
}

.package-flag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 9px;
  color: #fff;
  background: var(--studio-navy);
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.package-name {
  color: #6e5725;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.package-card > strong {
  width: 100%;
  margin: 9px 0 -7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.package-price {
  font-size: 1.08rem;
  font-weight: 800;
}

.package-card small {
  margin-top: 7px;
  color: #657080;
}

.subscriber-note {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  margin-top: 15px;
  padding: 17px 20px;
  background: var(--studio-navy-mid);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 15px;
}

.subscriber-note img {
  width: 48px;
  height: auto;
}

.subscriber-note strong {
  color: #fff;
}

.subscriber-note p {
  margin: 2px 0 0;
  color: var(--studio-silver);
  font-size: 0.82rem;
}

.studio-footer {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px clamp(24px, 5vw, 70px);
  color: var(--studio-navy);
  background: #fffdf8;
}

.studio-footer img {
  width: 230px;
}

.studio-footer p {
  max-width: 520px;
  margin: 0;
  color: #536070;
  font-size: 0.82rem;
  text-align: right;
}

.studio-dialog {
  width: min(calc(100% - 32px), 900px);
  max-height: min(88vh, 800px);
  overflow: auto;
  padding: clamp(25px, 5vw, 50px);
  color: #fff;
  background: var(--studio-navy);
  border: 1px solid rgba(197, 160, 89, 0.46);
  border-radius: 22px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55);
}

.studio-dialog::backdrop {
  background: rgba(1, 7, 13, 0.78);
  backdrop-filter: blur(8px);
}

.studio-dialog h2 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(185, 194, 208, 0.28);
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

.dialog-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dialog-option {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--studio-navy-mid);
  border: 1px solid rgba(185, 194, 208, 0.16);
  border-radius: 16px;
}

.dialog-option h3 {
  margin: 10px 0;
  font-size: 1.35rem;
}

.dialog-option p {
  color: var(--studio-silver);
  font-size: 0.86rem;
}

.dialog-option .studio-button {
  width: 100%;
  margin-top: auto;
}

.dialog-option label {
  margin: auto 0 7px;
  font-size: 0.76rem;
  font-weight: 700;
}

.dialog-option input {
  min-height: 48px;
  margin-bottom: 10px;
  padding: 10px 12px;
}

.option-number {
  color: var(--studio-gold);
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.checkout-dialog {
  width: min(calc(100% - 32px), 590px);
}

.checkout-price {
  margin: -14px 0 22px;
  color: var(--studio-gold-light) !important;
  font-size: 1.45rem;
  font-weight: 800;
}

.checkout-acknowledgment {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  margin: 0 0 18px;
  padding: 14px;
  color: var(--studio-silver);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.5;
  cursor: pointer;
}

.checkout-acknowledgment input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--studio-gold);
}

.checkout-acknowledgment strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 0.82rem;
}

.checkout-methods {
  display: grid;
  grid-template-columns: 1fr;
}

.checkout-method {
  min-height: 92px;
  padding: 15px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.checkout-method:disabled {
  opacity: 0.42;
  filter: grayscale(0.45);
  cursor: not-allowed;
}

.checkout-method span,
.checkout-method strong {
  display: block;
}

.checkout-method span {
  margin-bottom: 3px;
  font-size: 0.72rem;
}

.checkout-method strong {
  font-size: 1.22rem;
}

.checkout-card {
  color: var(--studio-navy-deep);
  background: linear-gradient(105deg, #f4d991 0%, #c5a059 48%, #9b6d1d 100%);
}

.review-summary {
  display: grid;
  gap: 8px;
}

.review-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  padding: 12px;
  background: var(--studio-navy-mid);
  border: 1px solid rgba(185, 194, 208, 0.16);
  border-radius: 12px;
}

.review-row .annotation-list-number {
  grid-row: 1 / span 2;
}

.review-row strong,
.review-row span {
  display: block;
}

.review-row span {
  margin-top: 3px;
  color: var(--studio-silver);
  font-size: 0.78rem;
}

.review-safety {
  margin: 14px 0;
  padding: 15px;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.33);
  border-radius: 12px;
}

.review-safety p {
  margin: 4px 0 0;
  color: var(--studio-silver);
  font-size: 0.8rem;
}

.review-dialog > .studio-button {
  width: 100%;
}

@media (max-width: 1040px) {
  .studio-grid {
    grid-template-columns: 1fr;
  }

  .preset-toolbar,
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .edit-total {
    margin-top: 8px;
  }
}

@media (max-width: 760px) {
  .studio-header {
    min-height: 70px;
    padding-inline: 16px;
  }

  .studio-brand {
    width: 180px;
  }

  .preview-badge {
    display: none;
  }

  .studio-account-button {
    max-width: 124px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  .studio-intro,
  .access-strip,
  .studio-workspace,
  .package-section {
    width: min(calc(100% - 24px), 1440px);
  }

  .studio-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 24px;
  }

  .access-strip {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .access-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .workspace-heading,
  .package-heading {
    display: block;
  }

  .workspace-state {
    margin-top: 16px;
  }

  .studio-workspace {
    padding: 14px;
    border-radius: 20px;
  }

  .preset-toolbar {
    gap: 7px;
    margin-top: 24px;
  }

  .preset-button {
    min-height: 68px;
    padding: 9px;
  }

  .preset-icon {
    width: 38px;
    height: 36px;
  }

  .preset-icon img {
    width: 36px;
    height: 34px;
  }

  .preset-button strong {
    font-size: 1.125rem;
  }

  .preset-button small {
    display: none;
  }

  .photo-panel,
  .edit-inspector {
    padding: 11px;
  }

  .photo-frame {
    min-height: 360px;
  }

  .photo-frame > img {
    height: min(62vh, 650px);
  }

  .photo-actions,
  .subscriber-note {
    grid-template-columns: 1fr;
  }

  .photo-actions {
    display: grid;
  }

  .photo-actions .studio-button,
  .photo-actions .plain-action {
    width: 100%;
  }

  .subscriber-note {
    text-align: center;
  }

  .subscriber-note img {
    margin-inline: auto;
  }

  .package-heading > p {
    margin-top: 14px;
  }

  .package-card {
    min-height: 190px;
    padding: 18px;
  }

  .package-card > strong {
    font-size: 3.8rem;
  }

  .studio-footer {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .studio-footer p {
    text-align: center;
  }

  .dialog-option-grid,
  .checkout-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 470px) {
  .studio-header {
    gap: 10px;
  }

  .studio-brand {
    width: 148px;
  }

  .studio-account-button {
    max-width: 112px;
    font-size: 0.65rem;
  }

  .studio-intro h1 {
    font-size: 3.15rem;
  }

  .preset-toolbar,
  .package-grid {
    grid-template-columns: 1fr 1fr;
  }

  .preset-button {
    gap: 7px;
  }

  .photo-frame {
    min-height: 310px;
  }

  .photo-empty {
    width: calc(100% - 20px);
    gap: 10px;
    padding: 16px 8px;
  }

  .photo-empty-copy {
    gap: 4px;
  }

  .photo-empty h4 {
    font-size: 1.38rem;
  }

  .photo-empty-copy > p:last-child {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .photo-example-grid {
    gap: 6px;
  }

  .photo-example-grid li {
    padding: 7px 8px;
    font-size: 0.9375rem;
  }

  .photo-example-grid strong {
    font-size: 1rem;
  }

  .photo-empty .studio-button {
    min-height: 42px;
  }

  .photo-empty > small {
    font-size: 0.6rem;
  }

  .photo-frame > img {
    height: 54vh;
    min-height: 310px;
  }

  .panel-topline {
    align-items: flex-start;
  }

  .panel-topline .plain-action {
    flex: 0 0 auto;
  }

  .selected-card label {
    display: block;
  }

  .selected-card label span {
    display: block;
    margin-top: 2px;
  }

  .placement-hint {
    bottom: 10px;
  }

  .package-card {
    min-height: 174px;
  }

  .package-card > strong {
    font-size: 3.35rem;
  }
}

.studio-results { scroll-margin-top: 110px; }
.studio-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
.studio-result-grid figure { margin: 0; min-width: 0; }
.studio-result-grid figcaption { margin-bottom: 12px; font-size: 20px; color: #f0d18a; }
.studio-result-grid img { display: block; width: 100%; height: 500px; object-fit: contain; border-radius: 16px; background: #071320; }
.studio-results [data-correction-form] { margin-top: 24px; }
.studio-results label { display: block; font-size: 20px; margin-bottom: 12px; }
.studio-results textarea { display: block; width: 100%; padding: 16px; margin-bottom: 16px; border-radius: 12px; background: #f8f7f3; color: #102039; font: inherit; font-size: 19px; }
@media (max-width: 650px) {
  .studio-result-grid { grid-template-columns: 1fr; }
  .studio-result-grid img { height: auto; max-height: 65vh; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
