/* The screens before the app: pairing, and how to get a link. The app
   brings its own styles once it loads; these only have to stand alone. */
.bw-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: #f6f6f8; font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Inter Variable", "Segoe UI", sans-serif; color: #15151a; }
.bw-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid #e6e6ea; border-radius: 20px; padding: 28px 24px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.bw-mark { width: 40px; height: 40px; display: block; margin-bottom: 16px; }
.bw-card h1 { font-size: 23px; line-height: 1.25; margin: 0 0 10px; }
.bw-card p { margin: 0 0 14px; color: #5b5b66; }
.bw-host { color: #15151a; }
.bw-steps { margin: 4px 0 16px; padding-left: 20px; color: #15151a; }
.bw-steps li { margin: 6px 0; }
.bw-label { display: block; font-size: 13px; font-weight: 600; color: #15151a; margin: 18px 0 14px; }
.bw-input { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 11px 12px; border: 1px solid #d9d9df; border-radius: 10px; font: inherit; color: inherit; background: #fff; }
.bw-go { display: block; width: 100%; padding: 13px 16px; border: 0; border-radius: 12px; background: #15151a; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.bw-go:disabled { opacity: .6; cursor: default; }
.bw-small { font-size: 13px; margin-top: 16px !important; }
.bw-note { background: #fff7e6; border: 1px solid #f3e0b5; color: #6b4e12 !important; border-radius: 10px; padding: 10px 12px; }
.bw-error { color: #b42318 !important; margin-top: 12px !important; }
.bw-card code { font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; background: #f1f1f4; padding: 1px 5px; border-radius: 5px; }
.bw-status { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 9999; max-width: calc(100% - 32px); padding: 9px 14px; border-radius: 999px; background: #15151a; color: #fff; font: 13px/1.4 -apple-system, BlinkMacSystemFont, sans-serif; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
@media (prefers-color-scheme: dark) {
  .bw-page { background: #0e0e11; color: #ececf1; }
  .bw-card { background: #17171b; border-color: #2a2a31; }
  .bw-card p { color: #a0a0ab; }
  .bw-host, .bw-steps, .bw-label { color: #ececf1; }
  .bw-input { background: #0e0e11; border-color: #33333b; }
  .bw-go { background: #ececf1; color: #15151a; }
  .bw-card code { background: #24242a; }
  .bw-note { background: #2a2112; border-color: #4a3a18; color: #f0d9a6 !important; }
}
