/* Launcher release backend additions on top of the Matcher admin styles. */

@layer views {
  a.btn { text-decoration: none; }
  #login-fields, #login-extra { display: grid; gap: 14px; }
  .md-preview ul { list-style: disc; }
  .md-preview ol { list-style: decimal; }
  .channel-head { display: flex; align-items: center; gap: 10px; }
  .channel-head h2 { margin: 0; }
  .channel-version { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
  .channel-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); }
  .mono-break { font-family: var(--font-mono); font-size: 12px; overflow-wrap: anywhere; }

  .dropzone { display: grid; place-items: center; gap: 8px; padding: 36px 16px; border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-lg); background: var(--surface-2); text-align: center; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
  .dropzone:hover, .dropzone.is-over { border-color: var(--focus); background: color-mix(in srgb, var(--focus) 6%, var(--surface)); }
  .dropzone strong { font-size: 15px; }
  .dropzone input { display: none; }

  .lang-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
  .lang-tabs button { border: 0; background: none; padding: 8px 12px; font-size: 13px; color: var(--text-2); cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -1px; }
  .lang-tabs button.is-active { color: var(--text); border-bottom-color: var(--brand); font-weight: 500; }
  .lang-tabs button .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-left: 6px; background: var(--success); vertical-align: middle; }
  .lang-pane[hidden] { display: none; }
  .notes-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  textarea.input { height: auto; min-height: 220px; padding: 8px 10px; line-height: 1.6; resize: vertical; font-family: var(--font-mono); font-size: 13px; }
  .md-preview { border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; background: var(--surface-2);
    min-height: 220px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
  .md-preview h1, .md-preview h2, .md-preview h3 { margin: 10px 0 6px; font-size: 15px; }
  .md-preview h1 { font-size: 17px; }
  .md-preview p { margin: 0 0 8px; }
  .md-preview ul, .md-preview ol { margin: 0 0 8px; padding-left: 1.4em; }
  .md-preview code { font-family: var(--font-mono); font-size: 12px; background: var(--surface-3); padding: 1px 4px; border-radius: 4px; }
  .md-preview .md-title { font-weight: 600; font-size: 15px; margin-bottom: 8px; }

  .qr-box { display: grid; justify-items: center; gap: 10px; padding: 8px 0; }
  .qr-box img { width: 180px; height: 180px; image-rendering: pixelated; border-radius: 8px; background: #fff; padding: 6px; }
  .secret { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; user-select: all; overflow-wrap: anywhere; text-align: center; }
  .once { font-family: var(--font-mono); font-size: 18px; letter-spacing: 0.08em; user-select: all; padding: 10px 14px;
    background: var(--surface-2); border-radius: var(--radius); text-align: center; }

  .check-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
  .check-list li { display: flex; gap: 8px; align-items: flex-start; }
  .check-list .is-ok { color: var(--success); }
  .check-list .is-warn { color: var(--warning); }
  .log div.is-ok { color: var(--success); }
  .log div.is-warn { color: var(--warning); }

  @media (max-width: 900px) { .notes-grid { grid-template-columns: minmax(0, 1fr); } }
}
