/* Coffee-specific composition, sharing the wheel tools' restrained controls. */
.launch-maker { max-width: 1240px; margin: auto; padding: 32px 24px 48px; color: #3a2718; }
.launch-header { margin-bottom: 24px; }
.launch-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #806c5b; margin-bottom: 8px; }
.launch-header h1 { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; font-weight: 400; }
.launch-header > p:last-child { color: #806c5b; font-size: 15px; margin-top: 10px; }
.launch-workspace { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.launch-controls { background: #fff; border: 1px solid #e8d5b8; border-radius: 14px; padding: 18px; }
.launch-switch { display: flex; gap: 4px; background: #f5ede0; padding: 4px; border-radius: 10px; }
.launch-switch button { flex: 1; padding: 9px 6px; font-size: 12px; border-radius: 7px; min-height: 38px; }
.launch-switch button[aria-pressed=true] { color: #3a2718; background: #fff; box-shadow: 0 1px 4px #3a271817; font-weight: 600; }
.launch-label { display: block; font-size: 12px; font-weight: 600; margin: 16px 0 6px; }
.launch-field { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid #e8d5b8; border-radius: 8px; background: #fff; color: #3a2718; font-size: 14px; min-height: 42px; }
.launch-field:focus-visible, .launch-drop:focus-visible, .launch-switch button:focus-visible { outline: 2px solid #a5630d; outline-offset: 2px; }
.launch-hint { color: #806c5b; font-size: 11px; line-height: 1.5; margin-top: 7px; }
.launch-details { margin-top: 14px; font-size: 12px; }
.launch-details summary { cursor: pointer; color: #7c4a08; padding-block: 8px; }
.launch-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.launch-drop { border: 1px dashed #d4b896; border-radius: 10px; background: #fdf8f2; cursor: pointer; padding: 14px; }
.launch-drop:hover, .launch-drop.is-over { background: #f5ede0; border-color: #a5630d; }
.launch-logo-drop { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; }
.launch-logo-drop > span { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.launch-logo-drop > img { width: 32px; height: 32px; object-fit: contain; border-radius: 50%; }
.launch-art-drop { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; min-height: 180px; margin-top: 16px; }
.launch-art-drop strong { font-size: 14px; }
.launch-art-drop span { color: #7c4a08; font-size: 13px; }
.launch-art-drop small { font-size: 11px; color: #806c5b; }
#launch-art-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.launch-remove { text-decoration: underline; font-size: 11px; color: #7c4a08; margin-top: 6px; padding-block: 7px; }
.launch-primary { margin-top: 18px; background: #3a2718; border-radius: 8px; color: white; font-size: 13px; font-weight: 600; width: 100%; padding: 11px; min-height: 42px; }
.launch-primary:disabled { opacity: .6; }
.launch-status { color: #7c4a08; font-size: 12px; margin-top: 10px; }
.launch-status:empty { display: none; }
.launch-output { min-width: 0; }
.launch-scene { position: relative; width: 100%; aspect-ratio: 3/2; overflow: hidden; border-radius: 14px; background: #f5ede0; }
.launch-scene > #launch-background { display: block; width: 100%; height: 100%; object-fit: cover; }
.launch-scene > .launch-overlay { position: absolute; left: 37.1%; top: 26.9%; width: 24.5%; height: 45.4%; object-fit: contain; mix-blend-mode: multiply; }
.launch-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.launch-caption p { color: #806c5b; font-size: 11px; }
.launch-caption button { display: flex; align-items: center; gap: 6px; color: #7c4a08; border: 1px solid #e8d5b8; border-radius: 8px; padding: 8px 12px; font-size: 12px; min-height: 38px; }
.launch-caption button:disabled { opacity: .45; }
.launch-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.launch-piece { background: #fff; border: 1px solid #e8d5b8; border-radius: 10px; padding: 12px; min-width: 0; text-align: center; }
.launch-piece:hover { border-color: #a5630d; }
.launch-piece img { width: 100%; height: 155px; object-fit: contain; }
.launch-piece span { display: block; font-size: 11px; color: #806c5b; margin-top: 8px; }
.launch-continue { margin-top: 20px; padding: 16px 0; border-top: 1px solid #e8d5b8; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.launch-continue strong { font-size: 13px; font-weight: 600; }
.launch-continue p { color: #806c5b; font-size: 11px; margin-top: 5px; max-width: 280px; }
.launch-continue a { display: inline-flex; align-items: center; gap: 8px; color: #7c4a08; font-size: 12px; text-decoration: none; border-bottom: 1px solid #d4b896; padding-block: 7px; white-space: nowrap; }
.launch-guide { background: #f5ede0; padding: 60px 24px; }
.launch-guide > div { max-width: 720px; margin: auto; }
.launch-guide h2 { font-family: 'DM Serif Display', Georgia, serif; font-size: 30px; font-weight: 400; margin-bottom: 22px; }
.launch-guide > div > p:not(.launch-eyebrow) { color: #806c5b; font-size: 15px; line-height: 1.8; margin: 16px 0; }
.launch-guide a { color: #7c4a08; text-decoration: underline; }
.launch-guide details { border-top: 1px solid #d4b896; padding: 18px 0; }
.launch-guide summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.launch-guide details p { font-size: 14px; color: #806c5b; line-height: 1.8; margin-top: 12px; }
.launch-guide-link { display: inline-block; margin-top: 22px; font-size: 13px; }
.launch-maker [hidden] { display: none !important; }
@media (max-width: 900px) { .launch-workspace { grid-template-columns: 280px minmax(0,1fr); gap: 18px; } .launch-continue { display: block; } .launch-continue a { margin-top: 10px; } .launch-piece img { height: 115px; } }
@media (max-width: 639px) {
 .launch-field { font-size: 16px; }
 .launch-maker { padding: 24px 16px 36px; } .launch-header { margin-bottom: 18px; }
 .launch-workspace { display: flex; flex-direction: column; gap: 22px; } .launch-output { display: contents; }
 .launch-controls { order: 3; width: 100%; } .launch-scene { order: 1; } .launch-caption { order: 2; margin-top: -12px; width: 100%; }
 .launch-results { order: 5; margin-top: -10px; width: 100%; gap: 8px; }
 .launch-continue { order: 6; width: 100%; margin-top: -4px; } .launch-piece { padding: 8px; } .launch-piece img { height: 115px; }
 .launch-guide { padding: 40px 20px; } .launch-guide h2 { font-size: 26px; }
}

.launch-logo-editor { margin-top: 16px; }
.launch-logo-editor #wheel-logo-crop { width: 148px !important; }
.launch-continue a[aria-disabled=true] { opacity: .5; cursor: wait; }
@media (min-width: 640px) { .launch-scene-frame { position: sticky; top: 76px; z-index: 2; background: #fdf8f2; padding: 8px; border: 1px solid #e8d5b8; border-radius: 18px; box-shadow: 0 8px 26px #3a271817, 0 2px 5px #3a271809; } }
@media (max-width: 639px) { .launch-scene-frame { display: contents; } }

#launch-composition { position: absolute; inset: 0; width: 100%; height: 100%; }
.launch-pick-flavors { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #7c4a08; padding: 10px 0 2px; }

.launch-flavor-heading { display:flex; align-items: center; justify-content: space-between; gap:8px; margin-top:12px; }
.launch-flavor-heading .launch-label { margin: 0; }
.launch-flavor-heading .launch-pick-flavors { font-size:11px; padding:7px 0; }
.launch-field, .launch-pick-flavors { scroll-margin-top:80px; }

.launch-design-dialog { width: min(92vw, 620px); max-height: 90dvh; border: 1px solid #e8d5b8; border-radius: 14px; padding: 16px; background: #fdf8f2; color: #3a2718; margin: auto; box-shadow: 0 20px 70px #0003; }
.launch-design-dialog::backdrop { background: #22180e80; }
.launch-design-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.launch-design-heading h2 { font-size: 16px; font-weight: 600; }
.launch-design-heading button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; }
.launch-design-heading button:hover { background: #f5ede0; }
.launch-design-dialog > img { display: block; max-width: 100%; max-height: calc(90dvh - 92px); margin: auto; object-fit: contain; }
.launch-piece:focus-visible, .launch-design-heading button:focus-visible { outline: 2px solid #a5630d; outline-offset: 3px; }
@media (max-width: 639px) { .launch-scene { border: 1px solid #e8d5b8; box-shadow: 0 5px 18px #3a271812; } }

.launch-output { align-self: stretch; }
.launch-materials { grid-column: 2; min-width: 0; }
@media (max-width: 639px) { .launch-materials { display: contents; } }

.launch-design-heading h2:focus { outline: none; }
