/* PHOENIX's guides behind the sign-in (phoenix-handbook.js): the dashboard's Help tab and the Owners page's Guide and
   Commands. On phoenix.css's tokens. Text wears the text tokens; the ember is for numbers, bullets and the chips. */

.hb-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.hb-nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.hb-nav a:hover { color: var(--text); border-color: var(--line-hot); background: rgba(255, 106, 26, 0.08); }
.panel.hb { scroll-margin-top: 130px; outline: none; }
.panel.hb > p { color: var(--text); opacity: 0.92; font-size: 15px; margin: 0 0 14px; max-width: 78ch; }
.panel.hb > p:last-child { margin-bottom: 0; }
.panel.hb > h3.hb-h { margin: 20px 0 10px; font: 700 13px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--flame); }
.hb-steps { counter-reset: hb; list-style: none; margin: 4px 0 16px; padding: 0; display: grid; gap: 10px; max-width: 78ch; }
.hb-steps li { counter-increment: hb; position: relative; padding: 2px 0 2px 44px; color: var(--text); font-size: 15px; }
.hb-steps li::before {
  content: counter(hb); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 800 14px/1 var(--sans); color: var(--ink); background: linear-gradient(180deg, var(--gold), var(--flame));
  box-shadow: 0 0 14px rgba(255, 120, 40, 0.4);
}
.hb-list { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; gap: 8px; max-width: 78ch; }
.hb-list li { position: relative; padding-left: 22px; color: var(--text); font-size: 15px; overflow-wrap: anywhere; }
.hb-list li::before { content: ''; position: absolute; left: 4px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 8px rgba(255, 150, 60, 0.8); }
.hb-table th[scope="row"] { min-width: 10ch; }
.hb-table--grid th[scope="row"] { min-width: 220px; }
.hb-table td.yes, .hb-table td.no { text-align: center; white-space: nowrap; }
.hb-table td.yes { color: var(--good); font-weight: 700; }
.hb-table td.yes::before { content: '\2713'; margin-right: 6px; }
.hb-table td.no { color: var(--dim); font-weight: 400; }

.row.cmd { align-items: flex-start; }
.cmd-name {
  flex: none; min-width: 150px; padding: 6px 10px; border-radius: 8px; text-align: center;
  background: rgba(255, 106, 26, 0.1); border: 1px solid var(--line-hot);
  color: var(--gold) !important; font-weight: 700; word-break: normal !important; white-space: nowrap;
}
.row.cmd .main p { margin: 0 0 4px; color: var(--text); font-size: 14px; }

.hb-wrap { margin: 4px 0 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; border: 1px solid rgba(255, 170, 90, 0.1); }
.hb-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hb-table th, .hb-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 170, 90, 0.08); color: var(--muted); }
.hb-table thead th { background: #1d0d12; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.hb-table tbody th { font-weight: 600; color: var(--text); }
.hb-table tbody tr:last-child th, .hb-table tbody tr:last-child td { border-bottom: 0; }
.hb-table tbody tr:hover { background: rgba(255, 106, 26, 0.05); }

@media (max-width: 560px) {
  .hb-table { font-size: 13px; }
  .hb-table th, .hb-table td { padding: 9px 10px; }
  .hb-table--grid th[scope="row"] { min-width: 200px; }
  .row.cmd { flex-wrap: wrap; }
  .cmd-name { min-width: 0; }
}
