.create-page { background: #f8f4ec; color: #253138; }
.create-main { max-width: 1240px; padding-top: 46px; padding-bottom: 56px; }
.create-heading { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 34px; }
.create-heading h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); max-width: none; margin-bottom: 14px; }
.create-heading .eyebrow { color: #98604d; font-size: 0.7rem; }
.create-intro { color: #61645e; max-width: 31rem; margin: 0; }
.opening-note { flex-shrink: 0; margin-bottom: 4px; padding: 14px 18px; border: 1px solid #dcd9cc; border-radius: 9px; font-size: 0.79rem; }
.opening-note span:last-child { color: #747870; }
.opening-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 100%; background: #b77860; }
.studio-layout { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 0.87fr); gap: 64px; align-items: start; }
.preview-panel { min-width: 0; position: sticky; top: 105px; }
.preview-topline { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.preview-topline h2 { font-family: "Segoe UI", Arial, sans-serif; font-size: 0.85rem; letter-spacing: 0; font-weight: 600; margin: 0; }
.preview-label { color: #6b7068; font-size: 0.72rem; text-align: right; }
.preview-label.is-fallback { color: #925436; }
.preview-view { position: relative; max-width: 510px; margin: 0 auto; box-shadow: 0 18px 35px #29302714; background: #ede4d4; }
#artwork, #product-mockup { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; }
.product-preview-caption { margin: 12px auto 0; font-size: 0.75rem; text-align: center; color: #666e63; }
.creator-template-label { font-size: 0.8rem; font-weight: 500; margin: 22px 0 10px; }
.creator-price { margin: 9px 0 0; color: #94624c; font-size: 0.74rem; }
.studio-controls select { width: 100%; min-height: 48px; padding: 11px 13px; font: inherit; font-size: 0.9rem; border: 1px solid #d5d2c5; border-radius: 5px; color: #253138; background: #fffdf7; }
.original-view { position: absolute; inset: 0; background: #ede5d7; }
.original-view img { width: 100%; height: 100%; object-fit: contain; }
.original-view span { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 100px; color: #fff; background: #253138d9; font-size: 0.75rem; }
.preview-tabs { display: flex; width: fit-content; gap: 3px; padding: 4px; border: 1px solid #dedbcc; border-radius: 99px; margin: 22px auto 14px; }
.preview-tabs button { font: inherit; font-size: 0.77rem; color: #555d57; background: transparent; border: 0; padding: 10px 16px; min-height: 44px; border-radius: 99px; cursor: pointer; }
.preview-tabs button[aria-pressed="true"] { background: #253138; color: #fff9ef; }
.preview-disclaimer { max-width: 420px; margin: 0 auto; color: #6d7068; font-size: 0.8rem; text-align: center; }
.local-note { display: flex; align-items: center; justify-content: center; gap: 7px; color: #586655; font-size: 0.75rem; margin: 16px 0 0; }
.local-note svg { flex-shrink: 0; }
.studio-controls { min-width: 0; }
.control-section { border: 0; border-top: 1px solid #ddd9ce; margin: 0 0 30px; padding: 20px 0 0; min-width: 0; }
.control-section legend { padding: 0 14px 0 0; font-family: Georgia, serif; font-size: 1.25rem; letter-spacing: -0.03em; }
.control-number { display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 100%; background: #ece3d7; color: #99674f; font: 600 0.63rem "Segoe UI", sans-serif; margin-right: 9px; vertical-align: middle; }
.template-choices { display: grid; gap: 9px; }
.template-choice { display: flex; align-items: center; gap: 13px; width: 100%; border: 1px solid #dcd8cc; background: #fbf8f1; color: #253138; padding: 12px; border-radius: 8px; text-align: left; font: inherit; cursor: pointer; }
.template-choice[aria-pressed="true"] { border-color: #9f5d45; background: #f3e6da; box-shadow: inset 0 0 0 1px #9f5d45; }
.template-icon { display: grid; place-items: center; width: 39px; height: 47px; flex-shrink: 0; background: #e7a58e; font: bold 24px Georgia, serif; color: #253138; border-radius: 2px; }
.job-icon { background: #b9cbb8; font-family: "Segoe UI", sans-serif; font-size: 17px; }
.profile-icon { background: #d4c5e9; font-family: "Segoe UI", sans-serif; font-size: 30px; }
.template-choice strong, .template-choice small { display: block; }
.template-choice strong { font-size: 0.87rem; font-weight: 600; }
.template-choice small { font-size: 0.72rem; color: #727369; margin-top: 2px; }
.choice-check { display: none; margin-left: auto; color: #9f5d45; padding-right: 5px; }
.template-choice[aria-pressed="true"] .choice-check { display: block; }
.upload-zone { display: flex; align-items: center; flex-direction: column; gap: 6px; padding: 22px 15px; background: #edece2; border: 1px dashed #b8baaa; border-radius: 8px; transition: background 0.15s; }
.upload-zone.is-over { background: #e0e9d7; border-color: #708162; }
.upload-zone svg { color: #6d785f; margin-bottom: 4px; }
.upload-zone p { margin: 0; font-size: 0.72rem; color: #737567; }
.upload-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: #253138; color: #fff7e9; border-radius: 4px; padding: 8px 18px; margin: 0; cursor: pointer; font-size: 0.84rem; }
.upload-zone:focus-within .upload-button { outline: 2px solid #9f5d45; outline-offset: 3px; }
.upload-hint, .processing-hint, .field-hint { color: #6e7269; font-size: 0.73rem; line-height: 1.6; margin: 9px 0 0; }
.upload-error { color: #925436; font-size: 0.79rem; margin: 10px 0 0; }
.processing-hint { margin-top: 12px; }
.processing-status { margin-top: 12px; padding: 13px; border: 1px solid #d6d7c8; border-radius: 6px; background: #f3f1e6; }
.processing-status.is-error { border-color: #d4b3a4; background: #f6e9df; }
.processing-status p { font-size: 0.8rem; margin: 0; }
.processing-status progress { width: 100%; height: 8px; margin-top: 10px; accent-color: #778869; }
.processing-actions { display: flex; flex-wrap: wrap; gap: 0 18px; }
.processing-actions .linkish { font-size: 0.76rem; }
.position-controls { margin-top: 12px; }
.position-controls summary { font-size: 0.79rem; cursor: pointer; padding: 10px 0; min-height: 44px; }
.position-controls label { display: flex; justify-content: space-between; font-size: 0.75rem; margin-top: 12px; }
.position-controls input { border: 0; padding: 0; min-height: 44px; background: transparent; accent-color: #9f5d45; cursor: pointer; }
.studio-controls input[type="text"] { padding: 11px 13px; border-radius: 5px; border-color: #d5d2c5; background: #fffdf7; color: #253138; }
.studio-controls label { font-size: 0.8rem; font-weight: 500; }
.trait-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.trait-fields input { margin-top: 6px; padding: 11px 9px !important; font-size: 0.86rem; }
.color-label { display: block; font-size: 0.8rem; font-weight: 500; margin: 19px 0 10px; }
.color-choices { display: flex; gap: 13px; }
.color-choice { width: 44px; height: 44px; padding: 0; border: 5px solid #f8f4ec; border-radius: 100%; outline: 1px solid #d4d1c4; background: var(--swatch); cursor: pointer; position: relative; }
.color-choice[aria-pressed="true"] { outline: 2px solid #253138; }
.color-choice[aria-pressed="true"]::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #253138; font-size: 16px; }
.studio-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #6d7268; font-size: 0.67rem; border-top: 1px solid #dcd8ce; padding-top: 4px; }
.studio-bottom .linkish { font-size: 0.77rem; }
.launch-card { margin-top: 23px; border-radius: 8px; border: 1px solid #d8d3c7; padding: 23px; background: #eee8dc; }
.launch-card .eyebrow { font-size: 0.61rem; margin-bottom: 9px; color: #896d55; }
.launch-card h2 { font-size: 1.8rem; }
.launch-card p:not(.eyebrow) { font-size: 0.82rem; color: #62665d; margin-bottom: 13px; }
.launch-card a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 0.79rem; color: #253138; margin-top: 10px; text-underline-offset: 3px; }
.launch-pill { display: inline-block; font-size: 0.67rem; border-radius: 100px; background: #e1ddcf; padding: 6px 11px; }
@media (max-width: 1050px) {
  .studio-layout { gap: 34px; }
  .opening-note { font-size: 0.7rem; padding: 12px; }
  .trait-fields { grid-template-columns: 1fr; gap: 0; }
  .trait-fields label { margin-top: 10px; }
}
@media (max-width: 760px) {
  .create-main { padding-top: 28px; }
  .create-heading { display: block; margin-bottom: 23px; }
  .create-heading h1 { font-size: 2.9rem; }
  .create-intro { font-size: 0.88rem; max-width: 27rem; }
  .opening-note { display: inline-block; margin-top: 17px; padding: 8px 12px; font-size: 0.72rem; }
  .opening-note br { display: none; }
  .opening-note span:last-child { margin-left: 5px; }
  .studio-layout { grid-template-columns: 1fr; gap: 33px; }
  .preview-panel { position: static; }
  .preview-view { max-width: 420px; }
  .preview-topline h2 { font-size: 0.8rem; }
  .preview-label { font-size: 0.67rem; }
  .preview-disclaimer { font-size: 0.74rem; }
  .trait-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .control-section { margin-bottom: 28px; }
  .local-note { font-size: 0.7rem; }
}
@media (max-width: 380px) {
  .create-heading h1 { font-size: 2.55rem; }
  .trait-fields { grid-template-columns: 1fr; gap: 0; }
  .opening-note span:last-child { display: block; margin-left: 13px; }
  .studio-bottom { align-items: flex-start; flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .upload-zone { transition: none; }
}
