/* Belay parent pages. No web fonts, no CDNs: system fonts and this file. */
:root {
  color-scheme: light dark;
  --bg: #f6f7f5;
  --card: #ffffff;
  --text: #1d2521;
  --muted: #5d6b64;
  --line: #d9dfdb;
  /* A field's or a box's edge: 3:1 against the card and the page, so it can be seen (WCAG 1.4.11). */
  --field: #7b8781;
  --accent: #1f6f5c;
  --accent-text: #ffffff;
  --ok: #1f7a45;
  --warn: #a35d00;
  --bad: #b3261e;
  /* A red to fill a button or a badge with white words on it: --bad is for words, and in the dark it's light. */
  --bad-fill: #b3261e;
  --off: #6b6f72;
  --chip: #eef2ef;
  --focus: #2a7de1;
  /* The smallest thing to tap. */
  --tap: 44px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* The reader's own text size, 16px unless they chose larger: everything else is in rem and em. */
  font-size: 100%;
  line-height: 1.45;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111614;
    --card: #1a211e;
    --text: #e8eeea;
    --muted: #a3b1aa;
    --line: #2e3833;
    --field: #6f7b75;
    --accent: #5cc3a5;
    --accent-text: #0b1512;
    --ok: #6fd39a;
    --warn: #f0b45c;
    --bad: #ff8a80;
    --bad-fill: #c0352c;
    --off: #9aa0a4;
    --chip: #243029;
  }
}
* { box-sizing: border-box; }
/* Buttons set display, which would win over the hidden attribute: app.js shows these when they work. */
[hidden] { display: none !important; }
/* A long word (an address, a package name) breaks rather than push the page sideways. */
body { margin: 0; background: var(--bg); color: var(--text); overflow-wrap: break-word; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
/* For the keyboard: the first Tab shows it, Enter skips the menu. */
.skip { position: absolute; left: 16px; top: 8px; z-index: 1; min-height: var(--tap); padding: 10px 16px; border-radius: 8px; background: var(--card); color: var(--accent); font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }
header.top { background: var(--card); border-bottom: 1px solid var(--line); }
header.top .bar { max-width: 960px; margin: 0 auto; padding: 4px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
header.top .brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); }
header.top nav { display: flex; gap: 0 14px; flex-wrap: wrap; flex: 1; }
/* The menu and a phone's tabs: each link 44px tall, the current one underlined. */
header.top nav a, nav.tabs a { text-decoration: none; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); min-width: var(--tap); flex: none; border-bottom: 2px solid transparent; white-space: nowrap; }
header.top nav a[aria-current="page"], nav.tabs a[aria-current="page"] { color: var(--text); font-weight: 600; border-bottom-color: var(--accent); }
header.top form { margin: 0; }
main { max-width: 960px; margin: 0 auto; padding: 16px; }
main.narrow { max-width: 460px; padding-top: 40px; }
footer { max-width: 960px; margin: 0 auto; padding: 16px; color: var(--muted); font-size: 0.85rem; }
h1 { font-size: 1.5rem; margin: 8px 0 16px; }
h2 { font-size: 1.15rem; margin: 24px 0 10px; }
h3 { font-size: 1rem; margin: 16px 0 8px; }
/* A heading that's a card's title, the size of the card's words. */
h2.in-card { font-size: 1rem; margin: 0; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cards .card { margin: 0; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--accent); }
blockquote { margin: 4px 0 8px; padding-left: 10px; border-left: 3px solid var(--line); white-space: pre-wrap; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.spread { justify-content: space-between; }
.status { font-weight: 600; }
/* The dot is inline, so a status with a time in it wraps like a sentence. */
.status::before { content: ""; display: inline-block; width: 0.625em; height: 0.625em; margin-right: 0.4em; border-radius: 50%; background: currentColor; }
.status.ok { color: var(--ok); }
.status.attention { color: var(--warn); }
.status.silent { color: var(--bad); }
.status.disconnected, .status.waiting { color: var(--off); }
ul.problems { margin: 6px 0 0; padding-left: 20px; }
ul.problems li { margin: 2px 0; }
ul.problems li.tamper { color: var(--bad); font-weight: 600; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.chip { display: inline-block; background: var(--chip); border-radius: 999px; padding: 1px 9px; font-size: 0.8rem; margin: 2px 4px 2px 0; }
.chip.new { background: var(--accent); color: var(--accent-text); font-weight: 600; }
.chip.warn { background: #fde7c8; color: #6b3d00; }
@media (prefers-color-scheme: dark) { .chip.warn { background: #4a3413; color: #ffd9a1; } }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
.stack { display: grid; gap: 10px; }
label { font-weight: 600; font-size: 0.9rem; }
/* A checkbox or radio with its words: the whole row is the target, 44px at least, and the words wrap beside the box. */
label.check { font-weight: 400; display: block; position: relative; min-height: var(--tap); padding: 10px 0 10px calc(1.25em + 10px); }
label.check > input[type=checkbox], label.check > input[type=radio] { position: absolute; left: 0; top: calc(10px + 0.1em); width: 1.25em; height: 1.25em; margin: 0; font-size: inherit; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
input[type=text], input[type=password], input[type=search], input[type=number], textarea, select {
  width: 100%; font: inherit; color: inherit; background: var(--card); border: 1px solid var(--field); border-radius: 8px; padding: 9px 12px; min-height: var(--tap);
}
/* 16px at least, or a phone zooms in on the field. */
input, textarea, select { font-size: max(1em, 1rem); }
textarea { min-height: 70px; }
button, .button {
  font: inherit; font-weight: 600; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-text);
  border-radius: 8px; padding: 8px 16px; min-height: var(--tap); cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
}
button.quiet, .button.quiet { background: transparent; color: var(--accent); }
button.danger { background: transparent; border-color: var(--bad); color: var(--bad); }
button.link { background: none; border: none; color: var(--accent); padding: 0; font-weight: 400; text-decoration: underline; }
/* Sign in with Google, as Google's branding guidelines draw it: their light theme (white, a 1px
   #747775 edge, #1F1F1F words), a pill, 12px before the "G", 10px after it and 12px after the
   words, 14/20 text, a 20px "G" in its own colors. Light in the dark too, so the "G" is always on
   white, as the guidelines ask. Google Sans where the device has it; no font is loaded. 44px tall,
   like every button here, to tap. */
button.google {
  background: #ffffff; color: #1f1f1f; border: 1px solid #747775; border-radius: 999px; padding: 0 12px; gap: 10px;
  font-family: "Google Sans", Roboto, system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 500;
  font-size: 0.875rem; line-height: 1.25rem; letter-spacing: 0.25px; white-space: nowrap; max-width: 100%;
}
button.google:hover { background: #f2f2f2; }
button.google .g-mark { display: block; width: 1.25rem; height: 1.25rem; flex: none; }
/* On its own above the password form, as wide as that form's button, as on the setup page. */
form.google-way { display: grid; margin: 0 0 4px; }
/* "or with your username and password": a line each side, between Google and a password. */
.or { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--muted); font-size: 0.875rem; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
details.other-way { margin-top: 16px; }
details.other-way[open] > summary { margin-bottom: 6px; }
/* A link on its own line (back to the phone, an app's name, "Older"): a taller target, the same layout. */
main > p.small:first-child > a:only-child, a.name, a.go, .barrow > .label > a { display: inline-block; padding: 12px 0; margin: -12px 0; }
main > p.small:first-child { margin-bottom: 4px; }
.notice { border-left: 4px solid var(--accent); background: var(--card); padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; }
.notice.error { border-left-color: var(--bad); }
.notice.warn { border-left-color: var(--warn); }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.875rem; }
pre { background: var(--chip); padding: 10px 12px; border-radius: 8px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: clamp(1.25rem, 7vw, 2rem); letter-spacing: 0.12em; font-weight: 700; }
.qr { background: #fff; padding: 12px; border-radius: 12px; width: min(280px, 100%); }
.qr svg { display: block; width: 100%; height: auto; }
.applist .app { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.applist .app:last-child { border-bottom: none; }
.applist .name { font-weight: 600; overflow-wrap: anywhere; }
/* The checkbox for "Mark selected reviewed": a 44px target around it. */
.applist .pick { display: flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); margin: -11px -8px 0 -12px; }
.applist .pick input { width: 1.25em; height: 1.25em; margin: 0; }
/* Package names and numbers break only where they must, so a phone number moves to the next line whole. */
.pkg { color: var(--muted); font-size: 0.8rem; overflow-wrap: anywhere; }
.digest { overflow-wrap: anywhere; }
.day { margin-top: 18px; }
.day h2 { font-size: 1rem; color: var(--muted); margin: 0 0 6px; }
.change { display: grid; grid-template-columns: 5.5rem 1fr; gap: 4px 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.change time { color: var(--muted); font-size: 0.9rem; }
.kind { font-weight: 600; }
.kind.installed, .kind.reinstalled { color: var(--ok); }
.kind.removed { color: var(--bad); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.filters input[type=search] { width: auto; flex: 1; min-width: 160px; }
.danger-zone { border-color: var(--bad); }
.steps li { margin-bottom: 8px; }
form.inline { display: inline; margin: 0; }
/* A short form in a row (a note and "I've seen it", a name and "Add as contact"): a row of its own, the field beside its button. */
form.row.inline { display: flex; flex: 1 1 18rem; }
form.row.inline input[type=text] { flex: 1 1 14rem; width: auto; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.card > .change:last-child { border-bottom: none; }
/* Phase 2: rules, requests, proposals. */
.badge { display: inline-block; min-width: 1.4em; margin-left: 5px; padding: 0 6px; border-radius: 999px; background: var(--bad-fill); color: #fff; font-size: 0.75rem; font-weight: 700; line-height: 1.5; text-align: center; }
.chip.waiting { background: var(--accent); color: var(--accent-text); font-weight: 600; }
.chip.allowed { background: #dcefe3; color: #14532d; }
.chip.blocked { background: #f9d9d6; color: #7f1d1d; font-weight: 600; }
@media (prefers-color-scheme: dark) {
  .chip.allowed { background: #1d3a29; color: #b5ecc8; }
  .chip.blocked { background: #4a1f1c; color: #ffc9c3; }
}
/* The kid's own words, and an AI app's, set apart from everything else. */
blockquote.kid { border-left-color: var(--accent); background: var(--chip); padding: 6px 10px; border-radius: 0 8px 8px 0; }
blockquote.ai { border-left-color: var(--warn); background: var(--chip); padding: 6px 10px; border-radius: 0 8px 8px 0; }
.request { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.request p, .request blockquote { margin: 0; }
.request textarea { min-height: 48px; }
.decide { margin-top: 6px; }
/* A request first in its card needs no line above it. */
.card > .request:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 0; display: grid; gap: 6px; min-width: 0; }
legend { padding: 0 4px; }
details > summary { cursor: pointer; color: var(--accent); margin: 0; padding: 10px 0; min-height: var(--tap); }
.card > ul { padding-left: 20px; }
/* "On this page": a long page's sections. A section's box, jumped to, keeps its heading in view. */
details.jump { margin: 0 0 4px; }
details.jump nav { display: flex; flex-wrap: wrap; gap: 0 18px; padding-bottom: 8px; }
details.jump nav a { display: inline-flex; align-items: center; min-height: var(--tap); }
.card[id], form[id] { scroll-margin-top: 4rem; }
/* The request a tapped notice is about (/requests#request-…): marked, so it's the one you see. */
.card:target { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) {
  header.top .brand { flex: 1; }
  header.top nav { order: 3; flex-basis: 100%; }
  .change { grid-template-columns: 1fr; }
  dl.facts { grid-template-columns: 1fr; }
  dl.facts dt { margin-top: 6px; }
}
/* Phase 3: screen time. One hue for the bars (checked for contrast on both surfaces), a hatch
   for times Belay couldn't count, and widths as classes, since the CSP allows no inline style. */
:root { --bar: #168a6a; --gap: #8a948f; }
@media (prefers-color-scheme: dark) { :root { --bar: #34a385; --gap: #6f7a75; } }
nav.tabs { display: flex; flex-wrap: wrap; gap: 0 16px; margin: -6px 0 14px; border-bottom: 1px solid var(--line); }
/* On a phone, the menu and a phone's tabs are each one row that scrolls sideways (app.js starts it at
   the current page), with a shadow at an edge that has more: wrapped, they took three rows each. */
:root { --shade: rgba(29, 37, 33, 0.28); }
@media (prefers-color-scheme: dark) { :root { --shade: rgba(232, 238, 234, 0.22); } }
@media (max-width: 560px) {
  header.top nav, nav.tabs {
    position: relative; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin;
    margin-inline: -16px; padding-inline: 16px;
    background:
      linear-gradient(to right, var(--strip) 40%, transparent) left / 32px 100% no-repeat local,
      linear-gradient(to left, var(--strip) 40%, transparent) right / 32px 100% no-repeat local,
      radial-gradient(farthest-side at 0 50%, var(--shade), transparent) left / 14px 100% no-repeat scroll,
      radial-gradient(farthest-side at 100% 50%, var(--shade), transparent) right / 14px 100% no-repeat scroll var(--strip);
  }
  header.top nav { --strip: var(--card); }
  nav.tabs { --strip: var(--bg); }
}
.bars { display: grid; gap: 8px; margin-bottom: 8px; }
.barrow { display: grid; grid-template-columns: 9.5rem 1fr 8rem; grid-template-areas: "label bar value"; gap: 4px 12px; align-items: center; }
.barrow > .label { grid-area: label; overflow-wrap: anywhere; }
.barrow > .value { grid-area: value; font-variant-numeric: tabular-nums; text-align: right; color: var(--muted); font-size: 0.9rem; }
.barrow + .note { margin: -4px 0 2px; }
/* Only the chart's bars: the header's inner box is a .bar too, and a height here squeezed it. */
.barrow > .bar { grid-area: bar; display: block; height: 12px; }
.bar > i { display: block; height: 12px; background: var(--bar); border-radius: 0 4px 4px 0; min-width: 2px; }
.bar > i.w0 { min-width: 0; }
.barrow > .bar.unknown { height: auto; color: var(--muted); font-size: 0.85rem; }
figure.chart { margin: 0 0 8px; }
svg.hours { display: block; width: 100%; height: auto; }
svg.hours .col { fill: var(--bar); }
svg.hours .grid { stroke: var(--line); stroke-width: 1; }
svg.hours .gap-band { fill: url(#hatch); }
svg.hours .hatch-line { stroke: var(--gap); stroke-width: 1.5; }
svg.hours .hit { fill: transparent; }
svg.hours g:hover .col { opacity: 0.8; }
.axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.key { display: inline-block; width: 12px; height: 12px; vertical-align: -1px; margin-right: 4px; border-radius: 2px; }
.key.used { background: var(--bar); }
.key.gap { background: repeating-linear-gradient(45deg, var(--gap) 0 2px, transparent 2px 5px); border: 1px solid var(--gap); }
.days-picker { display: flex; flex-wrap: wrap; gap: 0 14px; }
.days-picker label { font-weight: 400; display: inline-flex; gap: 8px; align-items: center; min-height: var(--tap); }
.days-picker input { width: 1.25em; height: 1.25em; margin: 0; }
.by-day { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: 6px; }
.by-day label { font-weight: 400; font-size: 0.85rem; }
input[type=time], input[type=date] { font: inherit; color: inherit; background: var(--card); border: 1px solid var(--field); border-radius: 8px; padding: 9px 12px; min-height: var(--tap); }
.rule { padding: 10px 0; border-bottom: 1px solid var(--line); }
.rule:last-child { border-bottom: none; }
.chip.stage { background: var(--chip); color: var(--muted); }
.chip.changed { background: #fde7c8; color: #6b3d00; }
@media (prefers-color-scheme: dark) { .chip.changed { background: #4a3413; color: #ffd9a1; } }
@media (max-width: 560px) {
  /* Halves: with an auto value column, a large text size squeezed the day's name to a letter a line. */
  .barrow { grid-template-columns: 1fr 1fr; grid-template-areas: "label value" "bar bar"; }
}
.bar > i.w0 { width: 0%; } .bar > i.w1 { width: 1%; } .bar > i.w2 { width: 2%; } .bar > i.w3 { width: 3%; } .bar > i.w4 { width: 4%; } .bar > i.w5 { width: 5%; } .bar > i.w6 { width: 6%; } .bar > i.w7 { width: 7%; } .bar > i.w8 { width: 8%; } .bar > i.w9 { width: 9%; }
.bar > i.w10 { width: 10%; } .bar > i.w11 { width: 11%; } .bar > i.w12 { width: 12%; } .bar > i.w13 { width: 13%; } .bar > i.w14 { width: 14%; } .bar > i.w15 { width: 15%; } .bar > i.w16 { width: 16%; } .bar > i.w17 { width: 17%; } .bar > i.w18 { width: 18%; } .bar > i.w19 { width: 19%; }
.bar > i.w20 { width: 20%; } .bar > i.w21 { width: 21%; } .bar > i.w22 { width: 22%; } .bar > i.w23 { width: 23%; } .bar > i.w24 { width: 24%; } .bar > i.w25 { width: 25%; } .bar > i.w26 { width: 26%; } .bar > i.w27 { width: 27%; } .bar > i.w28 { width: 28%; } .bar > i.w29 { width: 29%; }
.bar > i.w30 { width: 30%; } .bar > i.w31 { width: 31%; } .bar > i.w32 { width: 32%; } .bar > i.w33 { width: 33%; } .bar > i.w34 { width: 34%; } .bar > i.w35 { width: 35%; } .bar > i.w36 { width: 36%; } .bar > i.w37 { width: 37%; } .bar > i.w38 { width: 38%; } .bar > i.w39 { width: 39%; }
.bar > i.w40 { width: 40%; } .bar > i.w41 { width: 41%; } .bar > i.w42 { width: 42%; } .bar > i.w43 { width: 43%; } .bar > i.w44 { width: 44%; } .bar > i.w45 { width: 45%; } .bar > i.w46 { width: 46%; } .bar > i.w47 { width: 47%; } .bar > i.w48 { width: 48%; } .bar > i.w49 { width: 49%; }
.bar > i.w50 { width: 50%; } .bar > i.w51 { width: 51%; } .bar > i.w52 { width: 52%; } .bar > i.w53 { width: 53%; } .bar > i.w54 { width: 54%; } .bar > i.w55 { width: 55%; } .bar > i.w56 { width: 56%; } .bar > i.w57 { width: 57%; } .bar > i.w58 { width: 58%; } .bar > i.w59 { width: 59%; }
.bar > i.w60 { width: 60%; } .bar > i.w61 { width: 61%; } .bar > i.w62 { width: 62%; } .bar > i.w63 { width: 63%; } .bar > i.w64 { width: 64%; } .bar > i.w65 { width: 65%; } .bar > i.w66 { width: 66%; } .bar > i.w67 { width: 67%; } .bar > i.w68 { width: 68%; } .bar > i.w69 { width: 69%; }
.bar > i.w70 { width: 70%; } .bar > i.w71 { width: 71%; } .bar > i.w72 { width: 72%; } .bar > i.w73 { width: 73%; } .bar > i.w74 { width: 74%; } .bar > i.w75 { width: 75%; } .bar > i.w76 { width: 76%; } .bar > i.w77 { width: 77%; } .bar > i.w78 { width: 78%; } .bar > i.w79 { width: 79%; }
.bar > i.w80 { width: 80%; } .bar > i.w81 { width: 81%; } .bar > i.w82 { width: 82%; } .bar > i.w83 { width: 83%; } .bar > i.w84 { width: 84%; } .bar > i.w85 { width: 85%; } .bar > i.w86 { width: 86%; } .bar > i.w87 { width: 87%; } .bar > i.w88 { width: 88%; } .bar > i.w89 { width: 89%; }
.bar > i.w90 { width: 90%; } .bar > i.w91 { width: 91%; } .bar > i.w92 { width: 92%; } .bar > i.w93 { width: 93%; } .bar > i.w94 { width: 94%; } .bar > i.w95 { width: 95%; } .bar > i.w96 { width: 96%; } .bar > i.w97 { width: 97%; } .bar > i.w98 { width: 98%; } .bar > i.w99 { width: 99%; }
.bar > i.w100 { width: 100%; }
/* Phase 7: "I need help" stays at the top, set apart, until a parent has seen it. */
.card.help { border: 2px solid var(--bad); }
.card.help strong.title { color: var(--bad); }
.help-banner { border-left: 4px solid var(--bad); background: var(--card); padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; }
.help-banner strong { color: var(--bad); }
a.button.call { background: var(--bad-fill); border-color: var(--bad-fill); color: #ffffff; }
/* Phase 4: where the phone is, in words and numbers; never a map. */
.coords { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.875rem; }
.numbers .row input[type=text] { min-width: 0; flex: 1 1 10rem; }
/* npm run demo (docs/demo.md): on every page, so a screenshot can't pass for a real family's. The same colors in the dark. */
.demo-banner { background: #ffe08a; color: #1d2521; border-bottom: 2px solid #a35d00; padding: 8px 16px; text-align: center; font-weight: 700; }
/* The Phones page's Getting started card. Each step's state is in words, in a chip; the ring beside
   it, with a tick once it's done, only decorates them, drawn with borders so nothing reads it out.
   role="list" keeps the list a list for VoiceOver, which drops it without list-style. */
.card.start { margin-top: 12px; }
.start h2.in-card + p { margin-top: 6px; }
.start-steps { list-style: none; margin: 12px 0 0; padding: 0; }
.start-steps > li.step { position: relative; padding: 0 0 10px 2.1rem; margin: 0 0 10px; border-bottom: 1px solid var(--line); }
.start-steps > li.step:last-child { border-bottom: none; margin-bottom: 0; }
.start-steps li p { margin: 0 0 4px; }
.start-steps ul { margin: 2px 0 4px; padding-left: 18px; }
.step::before { content: ""; position: absolute; left: 0; top: 0.1rem; width: 1.35rem; height: 1.35rem; border: 2px solid var(--field); border-radius: 50%; }
.step.done::before { background: var(--ok); border-color: var(--ok); }
.step.done::after { content: ""; position: absolute; left: 0.5rem; top: 0.33rem; width: 0.36rem; height: 0.7rem; border: solid var(--card); border-width: 0 0.16rem 0.16rem 0; transform: rotate(45deg); }
.step.waiting::before { border-color: var(--warn); border-style: dashed; }
.step.open::before { border-style: dotted; }
.chip.state.done { background: #dcefe3; color: #14532d; font-weight: 600; }
.chip.state.waiting { background: #fde7c8; color: #6b3d00; }
@media (prefers-color-scheme: dark) {
  .chip.state.done { background: #1d3a29; color: #b5ecc8; }
  .chip.state.waiting { background: #4a3413; color: #ffd9a1; }
}
/* A step's links, each 44px tall, in a row that wraps on a phone. */
.start-steps .links { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; }
.start-steps .links a { display: inline-flex; align-items: center; min-height: var(--tap); }
/* Links in a sentence: padding that widens what a finger hits without spacing the lines unevenly. */
.start .later { padding-left: 20px; line-height: 1.6; }
.start .later li { margin: 4px 0; }
.start .later a { padding: 6px 0; white-space: nowrap; }
.start form.row { margin-top: 8px; }
