/* RemoteSupport — minimal shared styling (Milestone 0) */
:root {
  --bg: #0f1115;
  --panel: #1a1d24;
  --border: #2a2f3a;
  --text: #e6e9ef;
  --muted: #9aa3b2;
  --accent: #4f8cff;
  --accent-hover: #3b78ec;
  --ok: #34d399;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
.wrap { max-width: 920px; margin: 0 auto; padding: 24px; }
header h1 { margin: 0 0 4px; font-size: 22px; }
header p { margin: 0 0 20px; color: var(--muted); }
.brand { color: var(--accent); }
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 16px;
}
button {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}
button:hover { background: var(--accent-hover); }
button:disabled { opacity: 0.45; cursor: not-allowed; }
button.secondary { background: #2a2f3a; }
input[type="text"] {
  background: #0c0e12;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  width: 180px;
}
.status { color: var(--muted); margin: 12px 0; min-height: 1.4em; }
.code-pill {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--ok);
  background: #0c0e12;
  border: 1px dashed var(--border);
  padding: 8px 18px;
  border-radius: 8px;
  user-select: all;
}
video {
  width: 100%;
  background: #000;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-top: 12px;
}
pre.log {
  background: #0c0e12;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  color: var(--muted);
  height: 160px;
  overflow: auto;
  white-space: pre-wrap;
  margin: 12px 0 0;
}
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
a { color: var(--accent); }

/* --- M1: remote-input visualization --- */
.video-wrap { position: relative; line-height: 0; }
.rcursor {
  position: absolute;
  width: 18px;
  height: 18px;
  margin-left: -2px;
  margin-top: -2px;
  pointer-events: none;
  z-index: 5;
  /* simple arrow-ish cursor drawn with borders */
  border-left: 2px solid var(--ok);
  border-top: 2px solid var(--ok);
  background: rgba(52, 211, 153, 0.25);
  border-radius: 2px 8px 8px 8px;
  transition: left 0.03s linear, top 0.03s linear;
}
.muted-pill {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  background: #0c0e12;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  margin-left: 8px;
}
.cards { display: flex; gap: 16px; flex-wrap: wrap; }
.cards .panel { flex: 1; min-width: 240px; }
