.launch-editor-root { margin-top: 1.5rem; min-inline-size: 0; }
.launch-editor-root h3 { margin: 0 0 .75rem; }
.launch-editor-root p { max-inline-size: 65ch; }
.launch-editor-root a { overflow-wrap: anywhere; }
.launch-editor-tabs { display: flex; flex-wrap: wrap; gap: .4rem; border-block-end: 1px solid var(--line-soft); padding-bottom: .5rem; }
.launch-editor-tabs button { border: 1px solid transparent; background: transparent; color: var(--muted); font: inherit; min-block-size: 44px; padding: .5rem .75rem; border-radius: .65rem; }
.launch-editor-tabs button:hover { color: var(--ink); }
.launch-editor-tabs button[aria-selected="true"] { background: var(--surface-strong); border-color: var(--line); color: var(--ink); }
.launch-editor-panel { margin-block: 1rem; }
.launch-editor-panel fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.launch-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.launch-editor-field { display: grid; align-content: start; gap: .35rem; min-inline-size: 0; font-weight: 600; }
.launch-editor-field small { font-weight: 400; color: var(--muted); }
.launch-editor-field :is(input, select, textarea) { width: 100%; box-sizing: border-box; min-width: 0; min-height: 44px; padding: .55rem .75rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: .65rem; font: inherit; font-weight: 400; scroll-margin-block: 5rem 1rem; }
.launch-editor-field textarea { resize: vertical; }
.launch-editor-field input[type="file"]::file-selector-button { margin-inline-end: .6rem; padding: .3rem .6rem; font: inherit; color: var(--ink); background: var(--surface-strong); border: 1px solid var(--line); border-radius: .4rem; cursor: pointer; }
.launch-editor-field select { appearance: none; padding-inline-end: 2rem; }
.launch-editor-field select option { color: var(--ink); background: var(--surface-strong); }
.launch-editor-field:has(> select) { position: relative; }
.launch-editor-field:has(> select)::after { content: ""; position: absolute; inset-inline-end: 1rem; inset-block-end: 1.25rem; inline-size: .42rem; block-size: .42rem; border-block-end: 1.5px solid; border-inline-end: 1.5px solid; transform: rotate(45deg); pointer-events: none; }
.launch-editor-root :is(input, select, textarea, button, summary, a):focus-visible { outline: 2px solid var(--violet, currentColor); outline-offset: 2px; }
.launch-editor-item { border: 1px solid var(--line-soft); border-radius: .75rem; margin-block: .5rem; overflow-wrap: anywhere; }
.launch-editor-item > summary { padding: .65rem .875rem; min-block-size: 44px; cursor: pointer; }
.launch-editor-item > summary span + span { margin-inline-start: .75rem; color: var(--muted); }
.launch-editor-item-content { padding: .875rem; display: grid; gap: .75rem; }
.launch-editor-item-content > button { justify-self: start; }
.launch-editor-extra { margin-top: .25rem; }
.launch-editor-extra[open] > summary { margin-bottom: .6rem; }
.launch-editor-toolbar, .launch-editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; }
.launch-editor-toolbar { justify-content: space-between; margin-bottom: .65rem; }
.launch-editor-toolbar p { margin: 0; }
.launch-editor-actions :is(a, button) { min-block-size: 44px; }
.launch-editor-root button:disabled { opacity: .58; cursor: default; }
.launch-editor-status { margin-block: .75rem 0; color: var(--muted); }
.launch-editor-status[role="alert"] { color: var(--ink); }
.launch-editor-prompt { display: grid; gap: .8rem; max-inline-size: 44rem; }
@media (max-width: 540px) {
  .launch-editor-grid { grid-template-columns: minmax(0, 1fr); }
  .launch-editor-tabs button { max-inline-size: 100%; }
  .launch-editor-actions > * { max-inline-size: 100%; }
}
/* German upload button instead of the native file control (Erison 25.11.) */
.launch-editor-upload { position: relative; }
.launch-editor-file { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); }
.launch-editor-file-button { display: inline-flex; align-items: center; justify-content: center; align-self: start; min-block-size: 44px; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--surface-strong); color: var(--ink); font-weight: 600; cursor: pointer; }
.launch-editor-upload:hover .launch-editor-file-button { border-color: var(--ink); }
.launch-editor-file:focus-visible + .launch-editor-file-button { outline: 2px solid var(--violet, #6b35d4); outline-offset: 2px; }
.launch-editor-discount { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 9rem) auto; gap: .6rem; align-items: end; }
@media (max-width: 640px) {
  /* Tabs scroll sideways on phones instead of wrapping into three rows */
  .launch-editor-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .launch-editor-tabs::-webkit-scrollbar { display: none; }
  .launch-editor-tabs button { flex: 0 0 auto; white-space: nowrap; }
  .launch-editor-discount { grid-template-columns: minmax(0, 1fr) minmax(0, 6rem); }
  .launch-editor-discount .quiet-button { grid-column: 1 / -1; justify-self: start; }
}
