:root {
  --bg: #fafafa;
  --panel: #ffffff;
  --fg: #171b22;
  --dim: #5c6370;
  --line: #e4e7ec;
  --accent: #0a6c4d;
  --accent-fg: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  background: var(--bg);
  color: var(--fg);
  font-size: 14px;
  line-height: 1.65;
}

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 26px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.brand { display: flex; align-items: center; gap: 14px; }
.logo { width: 42px; height: 42px; border-radius: 10px; }
.topbar h1 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -1px; }
.tag { margin: 0; color: var(--dim); font-size: 12px; font-weight: 400; }

main { max-width: 920px; margin: 26px auto; padding: 0 18px 56px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 28px;
  margin-bottom: 18px;
}
.card h2 {
  margin: 0 0 10px; font-size: 24px; font-weight: 700; letter-spacing: -1px;
  line-height: 1.2;
}
.card h2::before { content: "$ "; color: var(--accent); font-weight: 600; }

.muted { color: var(--dim); margin: 4px 0 14px; }
.muted.small { font-size: 12px; }
.small { font-size: 12px; }

.video-wrap {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #000; border-radius: 8px; overflow: hidden;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 14px; }
.board {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 16px 16px 14px;
}
.board h3 { margin: 0 0 2px; font-size: 14px; font-weight: 600; letter-spacing: -0.3px; }
.meta { margin: 0 0 10px; color: var(--dim); font-size: 11.5px; line-height: 1.5; }
.board.manual { border-style: dashed; }
.steps { padding-left: 16px; margin: 8px 0 12px; color: var(--dim); font-size: 11.5px; }
.steps li { margin-bottom: 3px; }

.btn {
  display: inline-block; padding: 8px 16px; border-radius: 7px;
  background: var(--panel); color: var(--fg); border: 1px solid var(--line);
  text-decoration: none; font-weight: 600; cursor: pointer; font-size: 13px;
  transition: background .12s, border-color .12s;
}
.btn:hover { background: #f0f2f5; border-color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn.primary:hover { background: #0b7d59; }
.btn.ghost { background: transparent; font-weight: 500; }
.btn.primary + .btn { margin-left: 10px; }

esp-web-install-button {
  --esp-web-install-button-color: var(--accent);
  --esp-web-install-button-text-color: var(--accent-fg);
  --esp-tools-button-color: var(--accent);
  --esp-tools-button-text-color: var(--accent-fg);
  --esp-tools-button-border-radius: 7px;
  display: inline-block;
}

.tt { width: 100%; border-collapse: collapse; font-size: 12px; }
.tt td { padding: 7px 12px 7px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.tt td:first-child { color: var(--accent); white-space: nowrap; width: 1%; font-weight: 600; }

footer { text-align: center; color: var(--dim); font-size: 11px; padding: 18px; }

ol, ul { padding-left: 18px; }
ol li { margin-bottom: 6px; font-size: 13.5px; }
ol li::marker { color: var(--accent); font-weight: 600; }

@media (max-width: 560px) {
  .topbar { padding: 12px 14px; }
  .card { padding: 18px 16px; }
  .card h2 { font-size: 19px; }
}
