/* The instruction page (/opsaetning/ and /en/setup/): one narrow column of numbered steps that reads on a
   phone. It builds on styles.css (tokens, .night, .wrap, .day). Green carries "you should see this". */
.guide-head { padding-top: 32px; padding-bottom: 56px; }
.guide-head h1 { margin-top: 16px; max-width: 16ch; font-size: clamp(2.1rem, 5.4vw, 3.4rem); font-weight: 800;
  letter-spacing: -0.03em; }
.crumbs { margin: 0; color: var(--on-night-quiet); font-size: 0.9375rem; }
.crumbs a { color: var(--on-night); text-underline-offset: 4px; }
.earlier { margin-top: 14px; max-width: 34em; color: var(--on-night-quiet); }
.earlier a { color: var(--on-night); text-underline-offset: 4px; }
.toc { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { padding: 6px 14px; border: 1px solid rgba(163, 179, 202, 0.35); border-radius: 999px;
  color: var(--on-night); font-size: 0.9375rem; text-decoration: none; }
.toc a:hover { background: var(--night-2); }

.guide { padding: 72px 0; overflow-wrap: break-word; }
.guide .wrap > * { max-width: 42em; }
.guide h2 { margin-bottom: 16px; scroll-margin-top: 16px; }
.guide p + p, .guide p + ul, .guide ul + p { margin-top: 14px; }
.guide a { text-underline-offset: 4px; }
.guide code { padding: 1px 6px; border-radius: 6px; background: var(--mist); font: 0.95em ui-monospace, monospace; }

/* Steps: one action each, the result to expect after it */
.procedure { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: step; }
.procedure > li { counter-increment: step; position: relative; padding: 0 0 28px 56px; }
.procedure > li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid;
  place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--night);
  color: var(--on-night); font-weight: 700; }
.procedure > li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 46px; bottom: 8px;
  width: 2px; background: var(--line); }
.procedure p { margin: 0; }
.procedure > li > p:first-child { padding-top: 5px; font-weight: 600; }
.procedure .expect { margin-top: 10px; padding: 8px 14px; border-left: 3px solid var(--ok);
  border-radius: 0 10px 10px 0; background: #eaf8f0; color: #11603a; font-size: 1rem; }
.procedure .expect b { font-weight: 700; }
.note { margin-top: 8px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--mist); }

/* What the guard writes, and what you can write to it */
.messages { margin: 24px 0 0; }
.messages > div { padding: 16px 0; border-top: 1px solid var(--line); }
.messages > div:last-child { border-bottom: 1px solid var(--line); }
.messages dt { font-weight: 700; }
.messages dd { margin: 4px 0 0; color: var(--quiet); }
.messages .urgent dt::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px;
  border-radius: 50%; background: var(--urgent); }
.plain { margin: 20px 0 0; padding-left: 1.2em; }
.plain li { margin: 0 0 12px; }

@media (max-width: 560px) {
  .guide { padding: 56px 0; }
  .procedure > li { padding-left: 48px; }
  .procedure > li:not(:last-child)::after { left: 18px; }
  .toc a { padding: 8px 12px; }
}
