/* Launch form only. Everything general lives in laptop.css; this file adds the
   two column desk layout, the picture drop zone, the sliders and the summary
   window that follows you down the page. */

.launch-head { max-width: 660px; margin-bottom: 22px; }
.launch-head h1 { margin-bottom: 10px; }
.launch-head p { margin-bottom: 0; }

.launch-grid {
  display: grid; gap: 18px; align-items: start;
  grid-template-columns: minmax(0, 1fr) 348px;
}
.launch-col { display: grid; gap: 16px; min-width: 0; }
.launch-side { display: grid; gap: 14px; min-width: 0; position: sticky; top: calc(var(--header-h) + 16px); }

@media (max-width: 1000px) {
  .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .launch-side { position: static; }
}

.field:last-child { margin-bottom: 0; }
.lbl-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.lbl-row label, .lbl-row .lbl { margin-bottom: 0; }
.lbl-row .count { margin-left: auto; font-size: 11.5px; color: var(--ink-3); }
.err:empty { display: none; }
input.bad, textarea.bad { border-color: var(--down); }

/* ---- pairing chips ------------------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--card); color: var(--ink);
  font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.chip:hover { background: var(--paper-2); }
.chip.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.chip .k { font-size: 11px; font-weight: 500; color: var(--ink-3); }
.chip.on .k { color: var(--accent); }
.chip:disabled { opacity: .45; cursor: not-allowed; }

/* ---- sliders ------------------------------------------------------------ */
.slider-head { display: flex; align-items: baseline; gap: 10px; }
.slider-head .lbl { margin-bottom: 0; }
.slider-head b { margin-left: auto; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.slider-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); margin-top: -4px; }

/* ---- picture ------------------------------------------------------------ */
.drop {
  display: flex; gap: 13px; align-items: center; padding: 12px;
  border: 1px dashed var(--line); border-radius: var(--r-sm); background: var(--paper);
  transition: border-color .15s ease, background .15s ease;
}
.drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop-prev {
  width: 62px; height: 62px; flex: none; border-radius: 12px; background: var(--paper-2);
  object-fit: cover; display: block;
}
.drop-ph { display: grid; place-items: center; color: var(--ink-3); }
.drop-main { min-width: 0; flex: 1; }
.drop-main .t { font-size: 13.5px; font-weight: 500; }
.drop-main .s { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.drop-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ---- notes -------------------------------------------------------------- */
.notebox {
  padding: 10px 12px; border-radius: var(--r-sm); background: var(--paper);
  border: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2);
}
.notebox b { color: var(--ink); font-weight: 600; }
.warnbox {
  display: flex; gap: 9px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-sm);
  background: rgba(178, 106, 0, .08); color: var(--warn); font-size: 12.5px;
}
.warnbox svg { flex: none; margin-top: 1px; }

/* ---- summary ------------------------------------------------------------ */
.supply-bar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; background: var(--paper-2); margin-bottom: 10px; }
.supply-bar i { display: block; height: 100%; transition: width .2s ease; }
.supply-bar .pool { background: var(--accent); }
.supply-bar .res { background: rgba(18, 21, 26, .24); }
.supply-key { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: var(--ink-3); margin-bottom: 12px; }
.supply-key i { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 5px; vertical-align: 0; }
.supply-key .pool { background: var(--accent); }
.supply-key .res { background: rgba(18, 21, 26, .24); }

.sum-row { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 13.5px; }
.sum-row:first-child { border-top: 0; padding-top: 0; }
.sum-row > span { color: var(--ink-3); }
.sum-row > b { margin-left: auto; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.sum-row > b.mono { font-weight: 500; }

.sum-row .s-copy { height: 22px; padding: 0 6px; margin-left: 6px; flex: none; }
.sum-row .s-copy[hidden] { display: none; }

.lf-go { margin-top: 14px; }
.lf-status { margin-top: 9px; font-size: 12.5px; color: var(--ink-2); min-height: 17px; }
.lf-status a { color: var(--accent); }
.lf-spin {
  display: inline-block; width: 11px; height: 11px; margin-right: 6px; vertical-align: -1px;
  border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%;
  animation: lf-turn .7s linear infinite;
}
@keyframes lf-turn { to { transform: rotate(360deg); } }

@media (max-width: 420px) {
  .drop { flex-wrap: wrap; }
  .slider-head b { font-size: 15px; }
}
