/* Shared workshop controls for the engraving and embossing configurators. */
.redesign .configurator-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid #d9cfc5; border-radius: 10px; margin-block: 0 22px; background: #ece6de; font-family: Manrope, system-ui, sans-serif; }
.redesign .configurator-switch a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 18px; border-radius: 7px; color: #62564d; font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: background-color .16s, color .16s; }
.redesign .configurator-switch a:hover { background: #fffdf9; color: #1c1714; }
.redesign .configurator-switch a[aria-current=page] { background: #1c1714; color: #fffaf4; }
.redesign .configurator-switch a:focus-visible { outline: 2px solid #a84a1a; outline-offset: 3px; }
.redesign .interactive-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 16px 18px; border: 1px solid #d9cfc5; border-radius: 12px; background: #eee8e0; color: #62564d; font-family: Manrope, system-ui, sans-serif; font-size: 14px; line-height: 1.55; text-align: left; }
.redesign .interactive-note > svg { flex: none; margin-top: 1px; color: #9b461b; }
.redesign .interactive-note strong { color: #312720; font-weight: 600; }
.redesign .approval-visualization-note { margin-block: 18px 24px; }
.redesign .order-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 32px; border: 0; border-radius: 16px; background: #f4efe9; color: #1c1714; scrollbar-color: #a99481 #e8dfd4; scrollbar-width: thin; }
.redesign .order-dialog h2 { font-family: Jost, system-ui, sans-serif; font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -.025em; text-transform: none; }
.redesign .order-dialog :is(input:not([type=checkbox]), select, textarea) { min-height: 44px; border: 1px solid #cbbcaf; border-radius: 9px; background: #fffdf9; font-family: Manrope, system-ui, sans-serif; font-size: 16px; }
.redesign .order-dialog .button { justify-content: center; min-height: 52px; border-radius: 10px; background: #a84a1a; color: #fffaf4; font-size: 15px; }
.redesign .order-dialog .icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #d9cfc5; border-radius: 50%; background: transparent; }
.redesign .order-dialog .dialog-top { display: flex; justify-content: flex-end; margin-bottom: 12px; }
@media (max-width:520px) { .redesign .configurator-switch { display: flex; width: 100%; } .redesign .configurator-switch a { flex: 1; padding-inline: 10px; } .redesign .interactive-note { padding: 14px; gap: 10px; } }
@media (prefers-reduced-motion:reduce) { .redesign .configurator-switch a { transition: none; } }

/* A single layout and control system for both workshop editors. */
:is(.engraving-page, #stamp-app) .studio-page { width: min(1440px, calc(100% - 80px)); margin-inline: auto; padding-block: 26px 80px; font: 400 16px/1.55 Manrope, system-ui, sans-serif; }
:is(.engraving-page, #stamp-app) .studio-breadcrumbs,
.redesign .stamp-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-block: 0 20px; color: #70645b; font: 400 13px/20px Manrope, system-ui, sans-serif; }
:is(.engraving-page, #stamp-app) .studio-breadcrumbs a { color: inherit; text-decoration: none; }
:is(.engraving-page, #stamp-app) .studio-breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.redesign .stamp-breadcrumbs { width: min(1440px, calc(100% - 80px)); padding: 26px 0 0; margin-inline: auto; }
.redesign .stamp-breadcrumbs .breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font: inherit; }
#stamp-app .studio-page { padding-top: 0; }
:is(.engraving-page, #stamp-app) .studio-page-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; margin: 0 0 24px; }
:is(.engraving-page, #stamp-app) .studio-heading-copy { grid-column: 1; grid-row: 1; min-width: 0; }
:is(.engraving-page, #stamp-app) .studio-heading-copy h1 { max-width: none; margin: 0; color: #1c1714; font: 500 44px/1.08 Jost, system-ui, sans-serif; letter-spacing: -.03em; text-transform: none; text-wrap: balance; }
:is(.engraving-page, #stamp-app) .studio-heading-copy p { max-width: 65ch; margin: 9px 0 0; color: #70645b; font-size: 16px; line-height: 1.55; }
:is(.engraving-page, #stamp-app) .studio-page-heading .configurator-switch { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
:is(.engraving-page, #stamp-app) .studio-context { display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 90px; padding: 12px 18px 12px 12px; border: 1px solid #ddd2c8; border-radius: 14px; background: #fffdf9; }
:is(.engraving-page, #stamp-app) .studio-context-photo { flex: none; display: grid; place-items: center; width: 72px; height: 64px; padding: 4px; overflow: hidden; border-radius: 8px; background: #e5ded6; color: #70645b; }
:is(.engraving-page, #stamp-app) .studio-context-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
:is(.engraving-page, #stamp-app) .studio-context-description { display: grid; gap: 2px; min-width: 0; }
:is(.engraving-page, #stamp-app) .studio-context-description > span { color: #70645b; font-size: 13px; line-height: 1.55; }
:is(.engraving-page, #stamp-app) .studio-context-description > span:first-child { font-size: 12px; }
:is(.engraving-page, #stamp-app) .studio-context-description strong { color: #1c1714; font: 500 20px/1.25 Jost, system-ui, sans-serif; }
:is(.engraving-page, #stamp-app) .studio-context-action { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 9px; min-width: 180px; min-height: 44px; margin-left: auto; padding: 10px 16px; border: 1px solid #ddd2c8; border-radius: 9px; background: #f4efe9; color: #1c1714; font: 600 14px/1.3 Manrope, system-ui, sans-serif; text-decoration: none; }
:is(.engraving-page, #stamp-app) .studio-context-action:hover { background: #e8dfd5; }
:is(.engraving-page, #stamp-app) .studio-context-action[aria-expanded=true] { border-color: #1c1714; background: #1c1714; color: #fffdf9; }
:is(.engraving-page, #stamp-app) .studio-context-caption { margin: 7px 0 0 2px; color: #70645b; font-size: 12px; line-height: 18px; }
#stamp-app .studio-context-caption { margin-bottom: 24px; }
:is(.engraving-page, #stamp-app) .studio-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); align-items: start; gap: 28px; border: 0; border-radius: 0; background: transparent; }
:is(.engraving-page, #stamp-app) .studio-preview { position: sticky; top: 24px; min-width: 0; }
:is(.engraving-page, #stamp-app) .studio-preview-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 50px; margin: 0 0 14px; padding: 0; border: 0; background: transparent; }
:is(.engraving-page, #stamp-app) .studio-preview-title h2 { margin: 0 0 5px; color: #1c1714; font: 500 23px/1.2 Jost, system-ui, sans-serif; letter-spacing: -.025em; }
:is(.engraving-page, #stamp-app) .studio-preview-title a { color: #70645b; font-size: 13px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
:is(.engraving-page, #stamp-app) .studio-scene { position: relative; isolation: isolate; overflow: hidden; border: 0; border-radius: 16px; background: #171b1e; }
:is(.engraving-page, #stamp-app) .studio-stage { position: relative; display: block; width: 100%; height: clamp(355px, 41vw, 550px); min-height: 0; aspect-ratio: auto; overflow: hidden; }
:is(.engraving-page, #stamp-app) .studio-stage-meta { position: absolute; inset: 22px 24px auto; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; color: #d7d9d8; font-size: 12px; font-weight: 500; line-height: 1.5; font-variant-numeric: tabular-nums; pointer-events: none; }
:is(.engraving-page, #stamp-app) .studio-stage[data-view=drawing] .studio-stage-meta { color: #66584c; }
:is(.engraving-page, #stamp-app) .studio-stage-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; margin: 0; padding: 10px 18px; border: 0; border-top: 1px solid #3d474d; background: #232d32; color: #e1e5e6; }
:is(.engraving-page, #stamp-app) .studio-stage-instruction { display: flex; flex: 1 1 190px; align-items: center; gap: 8px; max-width: 37ch; min-height: 40px; margin: 0; color: #d0d6d9; font-size: 13px; line-height: 1.5; }
:is(.engraving-page, #stamp-app) .studio-stage-instruction svg { flex: none; }
:is(.engraving-page, #stamp-app) .studio-view-switch { display: inline-flex; flex: none; flex-wrap: nowrap; gap: 0; margin: 0; padding: 3px; border: 1px solid #586267; border-radius: 8px; background: transparent; }
:is(.engraving-page, #stamp-app) .studio-view-switch :is(button, .mc-choice) { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; margin: 0; padding: 7px 10px; border: 0; border-radius: 5px; background: transparent; color: #d9dfe2; font: 500 14px/1.2 Manrope, system-ui, sans-serif; white-space: nowrap; }
:is(.engraving-page, #stamp-app) .studio-view-switch :is([aria-pressed=true], [data-state=checked]) { background: #eee8e0; color: #211c18; }
:is(.engraving-page, #stamp-app) .studio-view-switch button:hover:not([aria-pressed=true], [data-state=checked]) { background: #3b484f; color: #fff; }
:is(.engraving-page, #stamp-app) .interactive-note { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0 0; padding: 16px 18px; border: 1px solid #d9cfc5; border-radius: 12px; background: #eee8e0; color: #62564d; font-size: 14px; line-height: 1.55; text-align: left; }
:is(.engraving-page, #stamp-app) .studio-inspector { display: block; min-width: 0; padding: 24px; border: 1px solid #ddd2c8; border-radius: 16px; background: #fffdf9; scroll-margin-top: 24px; }
:is(.engraving-page, #stamp-app) .studio-inspector h2 { margin: 0 0 14px; color: #1c1714; font: 500 21px/1.2 Jost, system-ui, sans-serif; letter-spacing: -.025em; }
:is(.engraving-page, #stamp-app) .studio-inspector :is(input:not([type=checkbox],[type=range]), textarea, select) { font-size: 16px; }
:is(.engraving-page, #stamp-app) .studio-inspector :is(.studio-primary, .stamp-actions .button) { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 10px; font-size: 15px; }
#stamp-app .studio-inspector .stamp-inspector { min-height: 0; padding: 0; border: 0; background: transparent; }
#stamp-app .studio-step-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 0 0 24px; padding: 4px; border: 1px solid #d9cfc5; border-radius: 10px; background: #ece6de; }
#stamp-app .studio-step-switch button { min-height: 42px; margin: 0; padding: 9px 4px; border: 0; border-radius: 7px; background: transparent; color: #62564d; font: 600 14px/1.3 Manrope, system-ui, sans-serif; }
#stamp-app .studio-step-switch button[aria-current=step] { background: #1c1714; color: #fffaf4; }
#stamp-app .studio-step-switch button:hover:not([aria-current=step]) { background: #fffdf9; color: #1c1714; }
#stamp-app .studio-inspector .mc-choice { min-height: 44px; border-radius: 9px; }
#stamp-app .studio-inspector .stamp-text { min-height: 46px; border-color: #cbbcaf; border-radius: 9px; background: #faf7f2; font-size: 16px; }
#stamp-app .studio-inspector .stamp-fonts > .mc-choice { min-height: 68px; }
#stamp-app .studio-inspector .stamp-fonts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#stamp-app .studio-inspector .stamp-fonts .mc-choice > span { font-size: 24px; }
#stamp-app .studio-inspector .stamp-fields > label > div { min-height: 46px; border-color: #cbbcaf; border-radius: 9px; background: #faf7f2; }
#stamp-app .studio-inspector .stamp-fields input { min-height: 30px; }
#stamp-app .studio-inspector .stamp-upload { border-color: #b9a696; border-radius: 10px; background: #f5efe8; }
#stamp-app .studio-inspector .stamp-actions { margin-top: 20px; padding-top: 20px; }
#stamp-app .studio-inspector .stamp-back { width: auto; min-width: 64px; padding-inline: 12px; }
@media (max-width:1050px) {
  :is(.engraving-page, #stamp-app) .studio-page, .redesign .stamp-breadcrumbs { width: calc(100% - 40px); }
}
@media (max-width:900px) {
  :is(.engraving-page, #stamp-app) .studio-page-heading { grid-template-columns: minmax(0,1fr); gap: 18px; }
  :is(.engraving-page, #stamp-app) .studio-heading-copy { grid-row: 2; }
  :is(.engraving-page, #stamp-app) .studio-page-heading .configurator-switch { grid-column: 1; grid-row: 1; justify-self: start; }
  :is(.engraving-page, #stamp-app) .studio-workspace { grid-template-columns: minmax(0,1fr); }
  :is(.engraving-page, #stamp-app) .studio-preview { position: static; }
  :is(.engraving-page, #stamp-app) .studio-stage { height: clamp(320px,62vw,460px); }
  :is(.engraving-page, #stamp-app) .studio-inspector { padding: 20px; }
}
@media (max-width:520px) {
  :is(.engraving-page, #stamp-app) .studio-page, .redesign .stamp-breadcrumbs { width: calc(100% - 28px); }
  :is(.engraving-page, #stamp-app) .studio-page { padding-top: 20px; }
  .redesign .stamp-breadcrumbs { padding-top: 20px; }
  #stamp-app .studio-page { padding-top: 0; }
  :is(.engraving-page, #stamp-app) .studio-heading-copy h1 { font-size: 38px; }
  :is(.engraving-page, #stamp-app) .studio-context { gap: 12px; min-height: 108px; padding: 10px; }
  :is(.engraving-page, #stamp-app) .studio-context-photo { width: 56px; height: 56px; }
  :is(.engraving-page, #stamp-app) .studio-context-description strong { font-size: 18px; }
  :is(.engraving-page, #stamp-app) .studio-context-action { width: 44px; min-width: 44px; padding: 10px; }
  :is(.engraving-page, #stamp-app) .studio-context-action > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  :is(.engraving-page, #stamp-app) .studio-preview-toolbar { min-height: 50px; flex-wrap: nowrap; }
  :is(.engraving-page, #stamp-app) .studio-preview-title h2 { font-size: 21px; }
  :is(.engraving-page, #stamp-app) .studio-stage-meta { inset: 18px 18px auto; }
  :is(.engraving-page, #stamp-app) .studio-stage-footer { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 14px; }
  :is(.engraving-page, #stamp-app) .studio-stage-instruction { flex: none; max-width: none; }
  :is(.engraving-page, #stamp-app) .studio-view-switch { align-self: flex-start; }
  :is(.engraving-page, #stamp-app) .interactive-note { gap: 10px; padding: 14px; }
}
/* Operate surfaces: one quiet control system, with the workpiece as the focal point. */
:is(.engraving-page, #stamp-app) .studio-page {
  --editor-line: #d8cec4;
  --editor-field: #faf7f2;
  --editor-muted: #62564d;
  --editor-accent: #a84a1a;
  padding-bottom: 64px;
}
:is(.engraving-page, #stamp-app) .studio-page-heading { gap: 20px; margin-bottom: 20px; }
:is(.engraving-page, #stamp-app) .studio-heading-copy h1 { font-size: 40px; line-height: 1.12; }
:is(.engraving-page, #stamp-app) .studio-heading-copy p { margin-top: 8px; color: var(--editor-muted, #62564d); }
:is(.engraving-page, #stamp-app) .studio-context { min-height: 78px; gap: 14px; border-radius: 12px; }
:is(.engraving-page, #stamp-app) .studio-context-photo { width: 62px; height: 56px; }
:is(.engraving-page, #stamp-app) .studio-context-description > span { font-size: 14px; color: var(--editor-muted, #62564d); }
:is(.engraving-page, #stamp-app) .studio-context-description > span:first-child { font-size: 12px; }
:is(.engraving-page, #stamp-app) .studio-context-caption { font-size: 13px; line-height: 1.6; margin-top: 8px; }
:is(.engraving-page, #stamp-app) .studio-workspace { grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); gap: 24px; }
:is(.engraving-page, #stamp-app) .studio-preview { top: 16px; }
:is(.engraving-page, #stamp-app) .studio-stage { height: clamp(340px, calc(100dvh - 310px), 520px); }
:is(.engraving-page, #stamp-app) .studio-stage-meta { inset: 18px 20px auto; font-size: 13px; }
:is(.engraving-page, #stamp-app) .studio-preview-toolbar { margin-bottom: 12px; }
:is(.engraving-page, #stamp-app) .studio-preview-title h2 { font-size: 22px; }
:is(.engraving-page, #stamp-app) .studio-view-switch :is(button,.mc-choice) { min-height: 40px; }
:is(.engraving-page, #stamp-app) .studio-inspector { padding: 22px; border-radius: 14px; }
:is(.engraving-page, #stamp-app) .studio-inspector h2 { font-size: 22px; line-height: 1.25; margin-bottom: 16px; }
:is(.engraving-page, #stamp-app) .interactive-note { padding: 0; margin: 14px 0 0; gap: 10px; border: 0; border-radius: 0; background: transparent; color: var(--editor-muted, #62564d); font-size: 14px; line-height: 1.6; }
:is(.engraving-page, #stamp-app) .interactive-note > svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
:is(.engraving-page, #stamp-app) :is(button,a,input,select,textarea,summary):focus-visible { outline: 2px solid var(--editor-accent, #a84a1a); outline-offset: 3px; }
:is(.engraving-page, #stamp-app) :is(input,textarea) { caret-color: var(--editor-accent, #a84a1a); }
:is(.engraving-page, #stamp-app) ::selection { background: #dec3ad; color: #1c1714; }
:is(.engraving-page, #stamp-app) .studio-advanced { margin-top: 20px; border-top: 1px solid var(--editor-line, #d8cec4); border-bottom: 1px solid var(--editor-line, #d8cec4); }
:is(.engraving-page, #stamp-app) .studio-advanced summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding-block: 10px; color: #51453b; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
:is(.engraving-page, #stamp-app) .studio-advanced summary::-webkit-details-marker { display: none; }
:is(.engraving-page, #stamp-app) .studio-advanced summary::after { content: ''; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
:is(.engraving-page, #stamp-app) .studio-advanced[open] summary::after { transform: rotate(225deg) translate(-2px,-2px); }
:is(.engraving-page, #stamp-app) .studio-advanced :is(.artwork-transform,.stamp-transform) { margin-top: 0; padding-top: 6px; border-top: 0; }
.engraving-page .font-panel { margin-block: 20px; }
.engraving-page .font-choices { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.engraving-page .font-choice { min-height: 86px; padding: 10px 5px; border-radius: 8px; }
.engraving-page .font-choice svg { width: 56px; height: 28px; }
.engraving-page .font-choice span { font-size: 14px; line-height: 1.35; }
.engraving-page .font-upload { border-radius: 8px; color: #51453b; }
.engraving-page :is(.font-help,.font-status,.artwork-help) { font-size: 13px; line-height: 1.6; }
.engraving-page .settings-body .controls { display: block; width: 100%; min-width: 0; }
.engraving-page .type-size-panel { width: 100%; min-width: 0; }
.engraving-page .type-size-row { display: grid; grid-template-columns: 46px minmax(0,1fr) 46px; gap: 8px; }
.engraving-page .type-size-row > :is(button,.number-field) { min-height: 46px; }
.engraving-page .type-size-row > select { grid-column: 1/-1; width: 100%; min-width: 0; min-height: 46px; padding-inline: 12px 36px; font-size: 16px; }
.engraving-page .alignment { display: grid; align-items: stretch; gap: 10px; width: 100%; min-width: 0; margin-top: 20px; }
.engraving-page .alignment-label { font-size: 14px; font-weight: 600; }
.engraving-page .alignment-axis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; min-width: 0; }
.engraving-page .alignment-axis .quiet-button { display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; min-height: 62px; padding: 8px 4px; border: 1px solid var(--editor-line, #d8cec4); border-radius: 8px; background: var(--editor-field, #faf7f2); color: #51453b; font-size: 14px; line-height: 1.3; }
.engraving-page .alignment-axis .quiet-button:hover:not(:disabled) { background: #eee4d9; border-color: #ad9582; }
.engraving-page .alignment #center-text { min-height: 44px; justify-content: center; font-size: 14px; }
.engraving-page .studio-inspector .order-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.engraving-page .order-panel > :is(p,#open-photo-preview,#review-order) { grid-column: 1/-1; }
.engraving-page .order-panel > :is(.save-preview-image,.share-preview-button) { width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: 10px 8px; font-size: 14px; line-height: 1.4; }
.engraving-page .order-panel > p:not(.geometry-status) { font-size: 13px; }
.engraving-page .artwork-file { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
.engraving-page .artwork-file .upload-button { display: flex; justify-content: center; gap: 8px; min-height: 48px; padding: 12px; margin: 0; border: 1px solid var(--editor-line, #d8cec4); border-radius: 8px; background: var(--editor-field, #faf7f2); color: #51453b; font: 500 16px/1.4 Manrope,system-ui,sans-serif; text-align: center; cursor: pointer; }
.engraving-page .artwork-file .upload-button:hover { background: #eee4d9; }
#stamp-app .stamp-help { margin-bottom: 16px; color: var(--editor-muted, #62564d); }
#stamp-app .stamp-label { margin-top: 20px; font-weight: 600; }
#stamp-app .stamp-text { line-height: 1.5; }
#stamp-app :is(.stamp-own-font,.stamp-own-vector) { border-color: var(--editor-line, #d8cec4); border-radius: 8px; color: #51453b; background: var(--editor-field, #faf7f2); }
#stamp-app .stamp-build-status { font-size: 13px; }
#stamp-app .stamp-fonts .mc-choice:last-child:nth-child(odd) { grid-column: 1/-1; }
#stamp-app .stamp-drawing-view { padding-block: 40px 74px; }
#stamp-app .stamp-drawing-zoom { bottom: 34px; }
#stamp-app .stamp-drawing-hint { bottom: 10px; line-height: 1.4; }
#stamp-app .stamp-stage[data-view=drawing] .studio-stage-meta { inset: 0 0 auto; min-height: 40px; padding: 8px 20px; border-bottom: 1px solid #d8cec4; background: #ebe1d6; }
@media(min-width:901px) and (max-width:1100px) {
 :is(.engraving-page,#stamp-app) .studio-workspace { grid-template-columns: minmax(0,1fr) 360px; gap: 20px; }
}
@media(max-width:900px) {
 :is(.engraving-page,#stamp-app) .studio-workspace { grid-template-columns: minmax(0,1fr); gap: 28px; }
 :is(.engraving-page,#stamp-app) .studio-stage { height: clamp(320px,66vw,460px); }
 :is(.engraving-page,#stamp-app) .studio-inspector { padding: 20px; }
 :is(.engraving-page,#stamp-app) .studio-context { min-height: 78px; }
}
@media(max-width:520px) {
 :is(.engraving-page,#stamp-app) .studio-heading-copy h1 { font-size: 34px; }
 :is(.engraving-page,#stamp-app) .studio-inspector { padding: 18px; }
 :is(.engraving-page,#stamp-app) .studio-stage-footer { gap: 8px; }
 :is(.engraving-page,#stamp-app) .studio-stage-instruction { min-height: 0; }
 :is(.engraving-page,#stamp-app) .studio-context-photo { width: 50px; height: 52px; }
 :is(.engraving-page,#stamp-app) .studio-context-description > span { font-size: 13px; }
 :is(.engraving-page,#stamp-app) .studio-context-description strong { font-size: 18px; }
 .engraving-page .zoom-controls > span { font-size: 13px; }
 .engraving-page .studio-inspector .order-panel { gap: 8px; }
}
@media(max-width:360px) {
 .engraving-page .font-choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .engraving-page .order-panel > :is(.save-preview-image,.share-preview-button) { grid-column: 1/-1; }
}

.studio-mobile-jump {display:none;}
@media(max-width:900px){
 .engraving-page .studio-mobile-jump {display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:-12px;color:#713711;font-size:14px;text-underline-offset:4px;}
 .engraving-page #engraving-settings {scroll-margin-top:16px;}
}

.engraving-page .is-photo-preview .studio-mobile-jump {display:none;}
