/* The remote page on top of the design system (ds/tokens.css, ds/components.css). Phone first, one readable column
   on a desktop. It loads no images or fonts of its own, the tokens bring the fonts from this origin. */
body { margin: 0; background: var(--cream); color: var(--ink); font: var(--text-body, 16px) / 1.45 var(--body); }
.remote {
  box-sizing: border-box; max-width: 720px; margin: 0 auto; display: grid; gap: var(--space-4, 16px);
  padding: calc(16px + var(--safe-t)) calc(16px + var(--safe-r)) calc(24px + var(--safe-b)) calc(16px + var(--safe-l));
}
.remote .title { margin: 0; font: 400 24px var(--pix); }
.remote .row { display: flex; flex-wrap: wrap; gap: var(--space-3, 12px); align-items: center; }
.remote .field { width: 100%; box-sizing: border-box; min-height: var(--tap); font: inherit; }
.remote .status { margin: 0; padding: 8px 12px; border-radius: var(--radius); background: var(--p-grey-b); color: var(--p-grey-f); }
.remote .status[data-status="online"] { background: var(--p-green-b); color: var(--p-green-f); }
.remote .status[data-status="office-offline"], .remote .status[data-status="offline"] { background: var(--p-red-b); color: var(--p-red-f); }
.remote h2 { margin: 8px 0; font: 700 var(--text-m) var(--body); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.remote ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3, 12px); }
.remote .card { display: grid; gap: 8px; padding: 12px 14px; border-radius: var(--radius); background: var(--paper); border-left: 4px solid var(--line); }
.remote .card.blocking { border-left-color: var(--amber); }
.remote .card.report { border-left-color: var(--green); }
.remote .card p { margin: 0; overflow-wrap: anywhere; }
.remote .who { font-weight: 700; }
.remote .raw { white-space: pre-wrap; max-height: 12em; overflow: auto; }
.remote .note { color: var(--red-ink); }
.remote .card .row .btn { flex: 1 1 140px; }
@media (min-width: 900px) {
  .remote { max-width: 860px; padding-top: 32px; }
  .remote .card .row .btn { flex: 0 0 auto; }
}
/* Devices (NOD-301). The code is always dark on white and big enough for a camera at arm's length. */
.remote .devices, .remote .pairing { display: grid; gap: var(--space-3, 12px); justify-items: start; }
.remote .devices[inert] { opacity: .55; }
.remote .devices ul, .remote .devices .field { width: 100%; }
.remote .qr { width: min(100%, 320px); height: auto; image-rendering: pixelated; border-radius: var(--radius); }
.remote .linktext { margin: 0; font: var(--text-m) var(--mono); overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.remote .check { display: flex; gap: var(--space-3, 12px); align-items: flex-start; min-height: var(--tap); }
.remote .check input { width: 22px; height: 22px; flex: none; margin: 2px 0 0; }
.remote .scan { width: min(100%, 320px); border-radius: var(--radius); }
