:root {
  --bg: #0d0f13; --panel: #14171d; --panel2: #1b1f27; --panel3: #232834; --line: #262b35; --line2: #363d4b; --text: #e7e9ef; --muted: #8b91a3;
  --primary: #4f8cff; --primary-2: #3d7bf2; --accent: #22d3ee; --ok: #22c55e; --warn: #f59e0b; --bad: #ef4444;
  --radius: 12px; --r: 8px; --ctl: 34px; --ctl-sm: 28px;
  --grad: linear-gradient(135deg, var(--primary), var(--accent)); --ring: 0 0 0 3px rgba(79, 140, 255, .3);
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 1px 2px rgba(0, 0, 0, .25);
  --ok-text: #86efac; --bad-text: #fca5a5; --warn-text: #fcd34d; --code-bg: #0a0c10; --hover: rgba(255, 255, 255, .035);
  --sel-bg: rgba(79, 140, 255, .14); --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}
:root[data-theme=light] {
  --bg: #f5f7fb; --panel: #ffffff; --panel2: #f0f3f8; --panel3: #e6eaf1; --line: #e0e5ed; --line2: #c8cfda; --text: #151922; --muted: #5c6475;
  --ok-text: #15803d; --bad-text: #b91c1c; --warn-text: #92400e; --code-bg: #f7f9fc; --hover: rgba(0, 0, 0, .03);
  --sel-bg: rgba(79, 140, 255, .1); --card-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 66px; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--primary); }
code, .mono { font-family: var(--mono); font-size: 12.5px; }
code { background: var(--panel2); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
* { scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }

#app { display: grid; grid-template-columns: 196px minmax(0, 1fr); grid-template-rows: 52px auto; min-height: 100vh; min-height: 100dvh; }
#app.nav-collapsed { grid-template-columns: 56px minmax(0, 1fr); }
#main { min-width: 0; }
.only-sm { display: none !important; }
#top { grid-column: 1 / 3; position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 11px; min-width: 0;
  background: var(--panel); border-bottom: 1px solid var(--line); }
#top .navbtn { flex: none; margin-right: -2px; }
#top .navbtn svg { width: 18px; height: 18px; }
#top .toplink { flex: none; padding: 6px 8px; border-radius: var(--r); color: var(--muted); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
#top .toplink:hover { color: var(--text); background: var(--panel2); }
#top .toplink:focus-visible { outline: none; box-shadow: var(--ring); }
#top #support-pill { min-width: 0; overflow: hidden; }
#top #theme-btn { flex: none; }
#support-pill .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#nav .nav-ico { width: 22px; height: 22px; display: grid; place-items: center; flex: none; }
#nav .nav-ico svg { width: 16px; height: 16px; }

#nav { background: var(--panel); border-right: 1px solid var(--line); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px;
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  position: sticky; top: 52px; align-self: start; height: calc(100vh - 52px); height: calc(100dvh - 52px); }
#nav .nav-title { padding: 4px 10px 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
#nav .nav-item { position: relative; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 0; background: none;
  border-radius: 8px; cursor: pointer; color: var(--muted); text-align: left; text-decoration: none; white-space: nowrap; font: inherit; }
#nav .nav-item:hover { background: var(--panel2); color: var(--text); }
#nav .nav-item:focus-visible { outline: none; box-shadow: var(--ring); }
#nav .nav-item.active { background: var(--sel-bg); color: var(--text); }
#nav .nav-item.active::before { content: ""; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); }
#nav .nav-num { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 11.5px; font-weight: 650;
  background: var(--panel2); border: 1px solid var(--line2); color: var(--muted); }
#nav .nav-num svg { width: 12px; height: 12px; }
#nav .todo .nav-num { background: var(--grad); border-color: transparent; color: #fff; }
#nav .done .nav-num { background: rgba(34, 197, 94, .14); border-color: rgba(34, 197, 94, .5); color: var(--ok); }
#nav .failed .nav-num { background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .5); color: var(--bad); }
#nav .locked { opacity: .6; }
#nav .lbl { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
#nav .lbl b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
#nav .lbl small { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.nav-collapsed #nav .lbl, .nav-collapsed #nav .nav-title { display: none; }
.nav-collapsed #nav .nav-item { justify-content: center; padding: 8px 0; }
#nav .nav-link { display: none; }
#nav .nav-site small { font-size: 10.5px; }
.nav-backdrop { display: none; }
.brand { font-weight: 700; letter-spacing: .3px; display: flex; gap: 8px; align-items: center; white-space: nowrap; color: var(--text); text-decoration: none; }
.brand .logo { position: relative; width: 22px; height: 22px; border-radius: 6px; background: var(--grad); flex: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .14); }
.brand .logo::before { content: ""; position: absolute; left: 4px; right: 4px; top: 6.5px; bottom: 6.5px; border-radius: 2.5px;
  background: linear-gradient(#c7cbfa 0 34%, #f4f6fd 34%); box-shadow: 0 1px 1px rgba(10, 30, 80, .18); }
.wordmark { display: inline-flex; align-items: baseline; font-size: 17px; line-height: 1; letter-spacing: 0; color: var(--text); }
.wordmark .wm-micro { font-style: italic; font-weight: 400; margin-right: 1px; }
.wordmark .wm-gui { font-weight: 700; letter-spacing: -.01em; }
.brand .ver { font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--muted); background: var(--panel2); border: 1px solid var(--line);
  padding: 1px 7px; border-radius: 999px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; min-height: 22px; border-radius: 999px; background: var(--panel2);
  font-size: 12px; color: var(--muted); white-space: nowrap; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.pill.ok .dot { background: var(--ok); } .pill.warn .dot { background: var(--warn); } .pill.bad .dot { background: var(--bad); }
.pill.info .dot { background: var(--primary); }
.pill.ok { color: var(--ok-text); } .pill.warn { color: var(--warn-text); } .pill.bad { color: var(--bad-text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--ctl); padding: 0 13px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--panel2); cursor: pointer; white-space: nowrap; font-weight: 500; color: var(--text); text-decoration: none;
  transition: background-color .12s, border-color .12s, box-shadow .12s, color .12s; }
.btn:hover:not(:disabled) { border-color: var(--line2); background: var(--panel3); }
.btn:active:not(:disabled) { transform: translateY(.5px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(0, 0, 0, .18); }
.btn.primary:hover:not(:disabled) { background: var(--primary-2); border-color: var(--primary-2); }
.btn.danger { border-color: rgba(239, 68, 68, .45); color: var(--bad-text); }
.btn.danger:hover:not(:disabled) { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .6); }
.btn.ghost { background: none; border-color: transparent; }
.btn.ghost:hover:not(:disabled) { background: var(--hover); border-color: transparent; }
.btn.small { min-height: var(--ctl-sm); padding: 0 10px; font-size: 12px; border-radius: 7px; }
.btn.icon { width: var(--ctl); padding: 0; }
.btn.on { background: rgba(79, 140, 255, .16); border-color: var(--primary); }
.btn.big { min-height: 42px; padding: 0 22px; font-size: 15px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.small svg { width: 14px; height: 14px; }
.btn .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkbtn { border: 0; background: none; padding: 0; color: var(--primary); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; font-size: 12.5px; }
input[type=text], select { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 10px; min-width: 0; min-height: var(--ctl);
  transition: border-color .12s, box-shadow .12s; }
input[type=text]:hover, select:hover { border-color: var(--line2); }
input:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
select { -webkit-appearance: none; appearance: none; padding-right: 30px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a90a2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 14px 14px; }
select.small, input.small { min-height: var(--ctl-sm); font-size: 12px; padding-top: 2px; padding-bottom: 2px; }
label.check { display: inline-flex; gap: 8px; align-items: flex-start; cursor: pointer; }
label.check input { margin: 3px 0 0; accent-color: var(--primary); width: 15px; height: 15px; flex: none; }
.switch { position: relative; width: 38px; height: 22px; flex: none; display: inline-block; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: var(--line2); border-radius: 11px; transition: .15s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .15s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.switch input:focus-visible + span { box-shadow: var(--ring); }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:disabled + span { cursor: not-allowed; opacity: .5; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 9px; background: var(--panel2); border: 1px solid var(--line); }
.seg button { border: 0; background: none; color: var(--muted); padding: 2px 10px; border-radius: 6px; font-size: 12px; cursor: pointer; white-space: nowrap; min-height: 22px; }
.seg button.on { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.seg button:focus-visible { outline: none; box-shadow: var(--ring); }
.notice { padding: 10px 12px; border-radius: var(--r); background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .35); }
.notice.err { background: rgba(239, 68, 68, .09); border-color: rgba(239, 68, 68, .35); }
.notice.info { background: rgba(79, 140, 255, .08); border-color: rgba(79, 140, 255, .3); }
.notice.ok { background: rgba(34, 197, 94, .09); border-color: rgba(34, 197, 94, .35); }
.notice.warnbox { display: flex; gap: 8px; align-items: flex-start; color: var(--bad-text); }
.notice.warnbox svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--bad); }
.notice b:first-child { display: block; margin-bottom: 2px; }
.notice ul { margin: 4px 0 0; padding-left: 18px; }
.notice p { margin: 4px 0 0; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 4px 12px; font-size: 13px; }
.kv > :nth-child(odd) { color: var(--muted); }
details.more { border-top: 1px solid var(--line); padding-top: 8px; }
details.more > summary { cursor: pointer; color: var(--muted); font-size: 12.5px; user-select: none; list-style: none; display: inline-flex; gap: 6px; align-items: center; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg); transition: transform .12s; margin-right: 2px; }
details.more[open] > summary::before { transform: rotate(45deg); }
details.more > summary:hover { color: var(--text); }
details.more > .inner { padding: 8px 0 2px; }
.log { max-height: 220px; overflow: auto; margin: 0; padding: 8px 10px; background: var(--code-bg); border: 1px solid var(--line); border-radius: var(--r);
  font: 11.5px/1.5 var(--mono); white-space: pre-wrap; word-break: break-word; color: var(--muted); }
.log:empty::before { content: "Nothing yet."; }
.tips { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.tips li { margin: 3px 0; }
.tips b { color: var(--text); font-weight: 600; }

.page { max-width: 1000px; margin: 0 auto; padding: 26px 20px 40px; }
.intro h1 { font-size: 24px; font-weight: 650; letter-spacing: -.01em; margin: 0 0 4px; }
.intro .lead { color: var(--muted); margin: 0 0 12px; font-size: 14px; max-width: 760px; }
.needs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.needs .pill { min-height: 26px; padding: 0 11px; border: 1px solid var(--line); }
.needs svg { width: 14px; height: 14px; }
#no-serial { margin-bottom: 16px; }
.foot { max-width: 1000px; margin: 0 auto; padding: 4px 20px 32px; color: var(--muted); font-size: 12px; text-align: center; }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); transition: opacity .15s, border-color .15s; }
.step.active { border-color: rgba(79, 140, 255, .45); }
.step-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 60px; }
.step-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 13px; flex: none;
  background: var(--panel2); border: 1px solid var(--line2); color: var(--muted); }
.step-num svg { width: 15px; height: 15px; }
.step.active .step-num { background: var(--grad); border-color: transparent; color: #fff; }
.step.done .step-num { background: rgba(34, 197, 94, .14); border-color: rgba(34, 197, 94, .5); color: var(--ok); }
.step.failed .step-num { background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .5); color: var(--bad); }
.step-title { flex: 1; min-width: 0; }
.step-title h2 { font-size: 15px; font-weight: 650; margin: 0; }
.step-sub { margin: 1px 0 0; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.step-side { display: flex; gap: 6px; align-items: center; flex: none; }
.step-body { padding: 0 16px 16px 58px; display: flex; flex-direction: column; gap: 12px; }
.step-body.wide { padding-left: 16px; }
.step.locked { opacity: .55; }
.step.locked .step-body { filter: saturate(.6); }
.step-body > p { margin: 0; }

.boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 250px)); gap: 10px; }
.board { position: relative; display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 10px 10px 12px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--panel2); cursor: pointer; transition: border-color .12s, background-color .12s, box-shadow .12s; }
.board:hover:not(:disabled) { border-color: var(--line2); }
.board:focus-visible { outline: none; box-shadow: var(--ring); }
.board.on { border-color: var(--primary); background: var(--sel-bg); }
.board .art { display: block; width: 50%; height: auto; margin-bottom: 6px; }
.board .bname { font-weight: 650; }
.board .bmeta { font-size: 12px; color: var(--muted); line-height: 1.4; }
.board .tick { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; display: none; place-items: center; }
.board .tick svg { width: 12px; height: 12px; }
.board.on .tick { display: grid; }

.devcard { border: 1px solid var(--line); background: var(--panel2); border-radius: var(--r); padding: 10px 12px; }

.drop { border: 1.5px dashed var(--line2); border-radius: var(--radius); padding: 20px 16px; text-align: center; background: var(--panel2);
  transition: border-color .12s, background-color .12s; }
.drop.over { border-color: var(--primary); background: var(--sel-bg); }
.drop .big-ico { width: 34px; height: 34px; margin: 0 auto 6px; color: var(--muted); }
.drop .big-ico svg { width: 34px; height: 34px; }
.drop h3 { margin: 0 0 2px; font-size: 14px; font-weight: 600; }
.drop p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.drop .row { justify-content: center; }
.files { display: flex; flex-direction: column; gap: 6px; }
.file { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 12px; text-align: left;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--panel2); cursor: pointer; transition: border-color .12s, background-color .12s; }
.file:hover { border-color: var(--line2); }
.file:focus-visible { outline: none; box-shadow: var(--ring); }
.file.on { border-color: var(--primary); background: var(--sel-bg); }
.file .radio { width: 16px; height: 16px; border-radius: 50%; border: 1.6px solid var(--line2); display: grid; place-items: center; }
.file.on .radio { border-color: var(--primary); }
.file.on .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.file .fname { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .fmeta { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; white-space: nowrap;
  background: var(--panel3); color: var(--muted); }
.tag.full { background: rgba(79, 140, 255, .15); color: var(--primary); }
.tag.app { background: rgba(34, 211, 238, .14); color: #0ea5c4; }
:root:not([data-theme=light]) .tag.app { color: var(--accent); }
.fdetail { display: flex; flex-direction: column; gap: 10px; }
.fdetail .facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--muted); }
.fdetail .facts b { color: var(--text); font-weight: 600; }
.issues { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.issues li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.issues li svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.issues li.bad svg { color: var(--bad); } .issues li.warn svg { color: var(--warn); } .issues li.info svg { color: var(--primary); } .issues li.ok svg { color: var(--ok); }

.plan { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: baseline; font-size: 13px; }
.plan > :nth-child(odd) { color: var(--muted); }
.optrow { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel2); }
.optrow .switch { margin-top: 1px; }
.optrow { cursor: pointer; }
.optrow .t { display: block; font-weight: 600; }
.optrow .d { display: block; font-size: 12.5px; color: var(--muted); }
.progress-wrap { display: flex; flex-direction: column; gap: 6px; }
.progress-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.progress-top .pct { font-variant-numeric: tabular-nums; color: var(--muted); }
.progress { height: 10px; border-radius: 999px; background: var(--panel3); overflow: hidden; position: relative; }
.progress > span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--grad); border-radius: 999px; transition: width .25s; }
.progress.indet > span { width: 28%; animation: indet 1.3s ease-in-out infinite; }
.progress.done > span { background: var(--ok); }
.progress.fail > span { background: var(--bad); }
@keyframes indet { from { left: -28%; } to { left: 100%; } }

.mon { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 14px; align-items: start; }
.mon-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mon-bar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.term { height: 380px; overflow: auto; background: var(--code-bg); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 10px;
  font: 12px/1.55 var(--mono); white-space: pre-wrap; word-break: break-word;
  contain: strict; }
.term .ln { min-height: 1.55em; }
.term .ts { color: var(--muted); opacity: .7; margin-right: 8px; user-select: none; }
.term.no-ts .ts { display: none; }
.term .ln.bad { color: var(--bad-text); } .term .ln.warn { color: var(--warn-text); } .term .ln.ok { color: var(--ok-text); }
.term .ln.dim { color: var(--muted); }
.term .ln.sys { color: var(--primary); font-style: italic; }
.term-empty { color: var(--muted); font-family: var(--font); font-size: 13px; padding: 4px 2px; }
.next { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel2); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.next h3 { margin: 0; font-size: 14px; font-weight: 650; display: flex; gap: 8px; align-items: center; }
.next h3 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.next.ok h3 .dot { background: var(--ok); } .next.warn h3 .dot { background: var(--warn); } .next.bad h3 .dot { background: var(--bad); }
.next.info h3 .dot { background: var(--primary); animation: pulse 1.4s ease-in-out infinite; }
.next.act { border-color: rgba(79, 140, 255, .45); }
.next.act h3 .dot { background: var(--primary); }
@keyframes pulse { 50% { opacity: .35; } }
.next p { margin: 0; font-size: 13px; color: var(--muted); }
.next ol { margin: 0; padding-left: 20px; font-size: 13px; }
.next ol li { margin: 4px 0; }
.next .path { border-top: 1px solid var(--line); padding-top: 10px; }
.next .path h4 { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.addr { display: block; padding: 10px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); font: 600 16px var(--mono); color: var(--text);
  text-align: center; text-decoration: none; word-break: break-all; }
.addr:hover { border-color: var(--primary); }
.addr.sm { font-size: 13px; padding: 7px; }

@media (max-width: 860px) {
  .mon { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .only-sm { display: inline-flex !important; }
  #app, #app.nav-collapsed { grid-template-columns: minmax(0, 1fr); }
  #top { grid-column: 1; }
  #main { grid-column: 1; grid-row: 2; }
  #nav { position: fixed; z-index: 45; top: 52px; left: 0; bottom: 0; width: 240px; height: auto; align-self: auto; transform: translateX(-100%); transition: transform .18s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
  .nav-open #nav { transform: none; }
  .nav-open .nav-backdrop { display: block; position: fixed; z-index: 44; top: 52px; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, .45); }
  .nav-collapsed #nav .lbl { display: flex; }
  .nav-collapsed #nav .nav-title { display: block; }
  .nav-collapsed #nav .nav-item { justify-content: flex-start; padding: 8px 10px; }
}
@media (max-width: 640px) {
  #top .toplink { display: none; }
  #nav .nav-link { display: flex; }
  .page { padding: 18px 16px 32px; }
  .step-body { padding-left: 16px; }
  .step-head { padding: 12px 14px; }
  #top { padding: 0 10px 0 8px; gap: 6px; }
  #support-pill .t { display: none; }
  .kv { grid-template-columns: 110px 1fr; }
  .file { grid-template-columns: auto minmax(0, 1fr); }
  .file .tags { grid-column: 2; justify-content: flex-start; }
  .term { height: 300px; }
  .boards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
