@import url("../kit/controls.css?v=b48fa2e54a37");
/* Phone connect (web/core/phone-connect.js). Uses the shell's Appearance tokens (--wz-*) when it has them; a host
 * without them (Mac onboarding) sets the --pc-* variables itself. QR tiles are white on purpose (dark-on-light scans
 * reliably on every phone). */
.pc {
  --pc-text: var(--wz-text, #f3efff);
  --pc-text-2: var(--wz-text-secondary, #b9b0d8);
  --pc-muted: var(--wz-text-muted, #8d85b0);
  --pc-border: var(--wz-border, rgba(205, 190, 255, .24));
  --pc-surface: var(--wz-surface-raised, color-mix(in srgb, #f3efff 10%, transparent));
  --pc-accent: var(--wz-accent, #b99bff);
  --pc-on-accent: var(--wz-on-accent, #05030c);
  --pc-ok: var(--wz-success, #5fd39a);
  --pc-warn: var(--wz-warning, #f2b56b);
  display: block; color: var(--pc-text);
}
.pc .pc-note { margin: 0 0 10px; color: var(--pc-text-2); font-size: 15px; line-height: 1.5; }
.pc .pc-note b { color: var(--pc-text); font-weight: 650; }
.pc .pc-note.small { font-size: 13px; color: var(--pc-muted); margin-top: 10px; }
.pc .pc-note.err { color: var(--pc-text); font-size: 14px; border-left: 2px solid var(--pc-warn); padding-left: 10px; }
.pc .pc-note.warn { color: var(--pc-warn); }
.pc .pc-note a { color: var(--pc-accent); }
.pc .pc-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 4px 0 2px; }

.pc .pc-btn.small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.pc .pc-btn:focus-visible { outline: 2px solid var(--pc-accent); outline-offset: 2px; }
.pc .pc-wait { display: inline-flex; align-items: center; gap: 10px; color: var(--pc-muted); font-size: 14px; }
.pc .pc-spin { width: 16px; height: 16px; flex: none; box-sizing: border-box; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--pc-accent) 30%, transparent);
  border-top-color: var(--pc-accent); animation: pc-spin 1s linear infinite; }
@keyframes pc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pc .pc-spin { animation-duration: 3s; } }
.pc .pc-copy { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; padding: 0 4px 0 12px; border-radius: 12px; background: var(--pc-surface); }
.pc .pc-copy-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 13px ui-monospace, "JetBrains Mono", monospace;
  color: var(--pc-text); user-select: text; -webkit-user-select: text; }
.pc .pc-manual { margin-top: 12px; }
.pc .pc-manual .pc-note { margin: 0; }
.pc .pc-pair { display: flex; gap: 18px; align-items: center; }
.pc .pc-side { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pc .pc-qr { flex: none; width: 152px; height: 152px; box-sizing: border-box; padding: 8px; border-radius: 12px; background: #fff; display: grid; place-items: center; }
.pc .pc-qr canvas { display: block; image-rendering: pixelated; }
.pc .pc-ok { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 16px; font-weight: 650; }
.pc .pc-check { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px;
  background: color-mix(in srgb, var(--pc-ok) 20%, transparent); color: var(--pc-ok); }
.pc .pc-again { margin-top: 14px; }
.pc .pc-banner { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: var(--pc-surface); font-size: 14px; }
.pc .pc-wall .pc-note { margin: 0; }
@media (max-width: 460px) { .pc .pc-pair { flex-direction: column; align-items: flex-start; } }

/* Domain layout only; buttons, cards and rows are the shared kit above. */
.pc .pc-flow-head { display:flex; align-items:center; gap:8px; margin-bottom:16px; }
.pc .pc-flow-head h4 { margin:0; font-size:20px; line-height:1.3; color:var(--wz-text); text-transform:none; letter-spacing:normal; }
.pc .pc-flow-step { margin:0 0 16px; padding:16px; }
.pc .pc-flow-step h5 { margin:0 0 10px; font-size:16px; color:var(--wz-text); }
.pc .pc-flow-step h5.pc-step-complete { display:flex; align-items:center; gap:10px; color:var(--pc-ok); }
.pc .pc-step-complete .pc-check { flex:none; }
.pc .pc-flow-step ol { margin:0; padding-left:20px; color:var(--wz-text-secondary); font-size:15px; line-height:1.6; }
.pc .pc-flow-step .pc-qr { margin:12px auto; width:216px; height:216px; }
.pc .pc-flow-step summary { font-size:16px; font-weight:600; cursor:pointer; }
.pc .pc-flow-step summary + div { margin-top:12px; }
.pc .pc-platforms { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0; }
.pc .pc-again { padding-top:12px; border-top:1px solid var(--wz-border); }

.pc .pc-checklist { padding:12px; border-radius:var(--wz-radius-tile,13px); background:var(--wz-surface); font-size:15px; margin-bottom:12px; }
