.masthead .head-row { justify-content: space-between; }
.studio { max-width: 1050px; padding-block: 28px 52px; }
.studio h1 { font: 400 clamp(35px, 5vw, 62px)/1.05 var(--serif); letter-spacing: -.04em; }
.studio h1 em { color: var(--wine); }
.studio-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: clamp(20px, 4vw, 56px); margin-top: 22px; }
.photo-stage { display: grid; place-items: center; background: var(--blush); border-radius: 14px; overflow: hidden; }
#cover { width: 100%; height: clamp(190px, 38vh, 360px); object-fit: cover; }
#preview { display: block; max-width: 100%; max-height: 56vh; width: auto; height: auto; }
#preview[role=button] { cursor: crosshair; }
#preview:focus-visible { outline-offset: -3px; }
#photo-help, #shade-info { margin: 12px 0; line-height: 1.5; }
.upload { position: relative; cursor: pointer; }
.upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload:focus-within { outline: 3px solid var(--wine); outline-offset: 3px; }
.studio .camera-upload { display: none; }
@media (any-pointer: coarse), (max-width: 700px) {
  .studio .camera-upload { display: inline-flex; }
}
.remember-photo { display: flex; align-items: center; gap: .65em; width: fit-content; min-height: 44px; margin-top: 8px; cursor: pointer; }
.remember-photo input { width: 18px; height: 18px; accent-color: var(--wine); }
#storage-status:not(:empty) { margin: 4px 0 8px; }
.studio-actions, #swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.studio .page-link { display: inline-flex; align-items: center; min-height: 44px; }
#adjustments { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
#compare { font-size: .88rem; padding: 8px 14px; }
#compare[aria-pressed=true] { color: white; background: var(--wine-dark); }
.studio details { margin-top: 14px; border-top: 1px solid var(--line); }
.studio summary { padding-block: 12px; cursor: pointer; color: var(--wine); }
.studio details label { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 40px; gap: 10px; }
.studio input[type=range] { width: 100%; accent-color: var(--wine); }
.palette h2 { font-size: clamp(32px, 4vw, 48px); }
#swatches { gap: 4px; }
#swatches button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
#swatches button[aria-pressed=true] { box-shadow: inset 0 0 0 2px var(--wine); }
#swatches img { border-radius: 50%; width: 32px; height: 32px; object-fit: cover; }
.palette .primary-button { margin-top: 16px; }
#selection-status:not(:empty) { margin-block: 10px; }
.mobile-shades { display: none; }
@media (max-width: 700px) {
  .mobile-shades { display: flex; flex: 1; align-items: center; justify-content: space-between; color: var(--wine); border-radius: 24px; background: var(--blush); }
  .mobile-shades button { width: 44px; height: 44px; font-size: 1.25rem; }
  .studio { padding-top: 18px; }
  .studio-grid { grid-template-columns: minmax(0, 1fr); }
}
