/* Dark set. Every colour the rules use is a token here; a light set is a second block with the same names. */
:root {
  color-scheme: dark;
  --bg: #0e1110;
  --panel: #161b18;
  --raised: #1d2420;
  --line: #2a332e;
  --text: #e8eee9;
  --dim: #9aa8a0;
  /* the pick's green: logo, header icons, active tab, focus ring, your side of a channel; never text */
  --accent: #00ff00;
  --icon: #00ff00;
  /* logo and header icons only, never text */
  --icon-glow: drop-shadow(0 0 6px #00ff00);
  --icon-glow-warn: drop-shadow(0 0 6px #e3b341);
  --icon-glow-bad: drop-shadow(0 0 6px #ff7b72);
  --ok: #3ddc84;
  --ok-line: #1f5a35;
  --ok-bg: #122016;
  --warn: #e3b341;
  --warn-line: #6b5620;
  --bad: #ff7b72;
  --bad-line: #7a3531;
  --bad-bg: #2a1416;
  --on-bad: #1a0606;
  --theirs: #3a4a40;
  --reserve-stripe: #0a4f0a;
  --reserve-edge: #ffffff;
  --shade: rgba(0, 0, 0, 0.55);
  --backdrop: rgba(5, 6, 9, 0.75);
  --qr-bg: #ffffff;
  /* every button: one off-black with a thin border; a lead action differs by weight only */
  --btn-bg: #181e1a;
  --btn-text: #e8eee9;
  --btn-border: #606f67;
  --btn-weight: 700;
  --btn-weight-quiet: 500;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
code, .mono { font: 0.875rem ui-monospace, "SF Mono", Menlo, monospace; overflow-wrap: anywhere; }
.dim { color: var(--dim); }
.num { font-variant-numeric: tabular-nums; }

/* page frame */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  max-width: 75rem; margin: 0 auto; padding: 1rem 1rem 0.25rem;
}
.brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; min-width: 0; }
.brand .role { font-weight: 400; color: var(--dim); }
.brand .pick { width: 1.5rem; height: 1.5rem; flex: none; color: var(--icon); filter: var(--icon-glow); }
.top-right { display: flex; align-items: center; gap: 0.75rem; }
.fresh { color: var(--dim); font-size: 0.8rem; white-space: nowrap; }
.fresh.stale { color: var(--warn); }
main { max-width: 75rem; margin: 0 auto; padding: 0.5rem 1rem 4rem; }
section { margin-top: 1.75rem; }
section > h2 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.hint { color: var(--dim); font-size: 0.875rem; margin-bottom: 0.75rem; }
[role="tabpanel"] .hint:first-child { margin-top: 0.75rem; }
textarea + .hint { margin-top: 0.4rem; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 0.75rem; padding: 1rem; }
.empty { color: var(--dim); padding: 1rem; text-align: center; }

/* buttons and inputs */
button {
  padding: 0.7rem 1rem; background: var(--btn-bg); color: var(--btn-text); border: 1px solid var(--btn-border);
  border-radius: 0.5rem; font: inherit; font-weight: var(--btn-weight); cursor: pointer;
}
button:disabled { opacity: 0.45; cursor: not-allowed; }
button.secondary, button.ghost { font-weight: var(--btn-weight-quiet); }
button.small { padding: 0.35rem 0.75rem; font-size: 0.875rem; }
button.danger { background: var(--bad); color: var(--on-bad); border-color: var(--bad); }
button.wide { display: block; width: 100%; }
label { display: block; margin: 0.9rem 0 0; color: var(--dim); font-size: 0.875rem; }
label .opt { font-size: 0.8rem; }
input, textarea {
  display: block; width: 100%; margin-top: 0.3rem; padding: 0.65rem 0.75rem;
  background: var(--bg); color: var(--text); border: 1px solid var(--line);
  border-radius: 0.5rem; font: inherit;
}
textarea { resize: vertical; min-height: 5.5rem; font: 0.875rem ui-monospace, "SF Mono", Menlo, monospace; }
input[type="checkbox"] { display: inline-block; width: 1.1rem; height: 1.1rem; margin: 0 0.5rem 0 0; vertical-align: -0.15rem; accent-color: var(--accent); }
label.check { color: var(--text); font-size: 1rem; }
.error { color: var(--bad); margin-top: 0.75rem; }
.error:empty, .note:empty { display: none; }
.note { color: var(--warn); margin-top: 0.75rem; font-size: 0.9rem; }

/* 1. health */
.health { border-left: 0.375rem solid var(--dim); }
.health.ok { border-left-color: var(--ok); }
.health.warn { border-left-color: var(--warn); }
.health.bad { border-left-color: var(--bad); }
.health-head { display: flex; align-items: center; gap: 0.75rem; }
.health h1 { font-size: 1.35rem; line-height: 1.25; }
.health-head svg.ic { width: 1.35rem; height: 1.35rem; margin: 0; }
.health .health-ok { color: var(--dim); filter: none; }
.health.ok .health-ok { color: var(--icon); filter: var(--icon-glow); }
.health .health-warn, .health.warn .health-ok, .health.bad .health-ok { display: none; }
.health.warn .health-warn { display: block; color: var(--warn); filter: var(--icon-glow-warn); }
.health.bad .health-warn { display: block; color: var(--bad); filter: var(--icon-glow-bad); }
.state-dot { width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--dim); flex: none; }
.health-sub { color: var(--dim); margin-top: 0.35rem; }
.warnings { list-style: none; margin: 0; padding: 0; }
.warnings li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin-top: 0.75rem; padding: 0.75rem; border-radius: 0.5rem;
  background: var(--raised); border: 1px solid var(--line); border-left: 0.25rem solid var(--warn);
}
.warnings li.bad { border-left-color: var(--bad); }
.warnings li.info { border-left-color: var(--dim); }
.warnings li p { flex: 1 1 18rem; }
.warnings li button { flex: none; }

/* 2. money */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.figure .label { display: block; color: var(--dim); font-size: 0.875rem; }
.figure .big { display: block; font-size: 1.9rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.figure .big small { font-size: 0.95rem; font-weight: 400; color: var(--dim); }
.figure .big.neg { color: var(--bad); }
.figure .what { color: var(--dim); font-size: 0.8rem; margin: 0.15rem 0 0.6rem; }
.parts { margin: 0; padding: 0.6rem 0 0; border-top: 1px solid var(--line); font-size: 0.875rem; }
.parts div { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.15rem 0; }
.parts dt { color: var(--dim); }
.parts dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.parts .moving dt, .parts .moving dd { color: var(--warn); }
details { margin-top: 0.5rem; font-size: 0.875rem; }
summary { color: var(--dim); cursor: pointer; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.75rem; }
.pair button { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 1rem; font-size: 1.05rem; }
.icon { width: 1.1rem; height: 1.1rem; flex: none; }
.in-progress { margin-top: 0.75rem; }

/* rows: channels, peers, activity, epochs, miners */
.rows { padding: 0; }
.rows > * { padding: 0.9rem 1rem; border-top: 1px solid var(--line); }
.rows > *:first-child { border-top: 0; }
.row-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 0.75rem; }
.badge {
  display: inline-block; padding: 0.1rem 0.55rem; border-radius: 1rem; font-size: 0.8rem; white-space: nowrap;
  color: var(--dim); border: 1px solid var(--line);
}
.badge.ok { color: var(--ok); border-color: var(--ok-line); }
.badge.warn { color: var(--warn); border-color: var(--warn-line); }
.badge.bad { color: var(--bad); border-color: var(--bad-line); }

/* 5. channels */
.bar {
  position: relative; height: 1.4rem; margin: 0.6rem 0 0.35rem; border-radius: 0.4rem; overflow: hidden;
  background: var(--theirs);
}
.bar .ours { position: absolute; inset: 0 auto 0 0; min-width: 3px; background: var(--accent); }
.bar .ours.none { min-width: 0; }
.bar.low .ours { background: var(--bad); }
.bar .reserve {
  position: absolute; inset: 0 auto 0 0; min-width: 4px; border-right: 2px solid var(--reserve-edge);
  background: repeating-linear-gradient(135deg, var(--shade) 0 3px, transparent 3px 6px);
}
.sides { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.875rem; }
.sides b { font-variant-numeric: tabular-nums; }
.can { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-top: 0.35rem; color: var(--dim); font-size: 0.875rem; }
.can b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; color: var(--dim); font-size: 0.8rem; margin-bottom: 0.75rem; }
.legend i { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 0.2rem; margin-right: 0.35rem; vertical-align: -0.1rem; }
.legend .l-ours { background: var(--accent); }
.legend .l-reserve { background: repeating-linear-gradient(135deg, var(--reserve-stripe) 0 3px, var(--accent) 3px 6px); }
.legend .l-theirs { background: var(--theirs); }
h3 { display: flex; align-items: center; font-size: 0.95rem; margin: 1.25rem 0 0.5rem; color: var(--dim); font-weight: 600; }
.copy-line { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.copy-line code { min-width: 0; }
.copy-line button { flex: none; }

/* 6. activity */
.act { display: grid; grid-template-columns: auto 1fr auto; gap: 0.15rem 0.75rem; align-items: center; }
.act .dir { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--raised); color: var(--dim); }
.act .dir.in { color: var(--ok); }
.act .dir.out { color: var(--text); }
.act .title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act .amount { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.act .meta { grid-column: 2 / 4; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.6rem; color: var(--dim); font-size: 0.8rem; }
.act .msg { grid-column: 2 / 4; color: var(--dim); font-size: 0.875rem; overflow-wrap: anywhere; }

/* 7. mining and mint */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.75rem; }
.tile .label { display: block; color: var(--dim); font-size: 0.8rem; }
.tile .value { display: block; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.tile .sub { display: block; color: var(--dim); font-size: 0.8rem; }
.table { margin-top: 0.75rem; }
.trow { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 1fr 1fr; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.trow.head { color: var(--dim); font-size: 0.8rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.trow span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow .r { text-align: right; font-variant-numeric: tabular-nums; }
.trow .num { font-weight: 600; font-variant-numeric: tabular-nums; }
.trow .ordinal { grid-column: 1 / -1; color: var(--dim); font-size: 0.8rem; font-variant-numeric: tabular-nums; white-space: normal; overflow-wrap: anywhere; }

/* dialogs */
dialog {
  width: min(31rem, calc(100vw - 1rem)); max-height: calc(100dvh - 1rem); padding: 0; overflow: auto;
  background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 0.9rem;
}
dialog::backdrop { background: var(--backdrop); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1rem 0; }
.dialog-head h2 { display: flex; align-items: center; font-size: 1.25rem; }
.dialog-body { padding: 0.5rem 1rem 1.25rem; }
.tabs { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--line); margin-top: 0.5rem; }
.tabs button {
  padding: 0.6rem 0.9rem; background: transparent; color: var(--dim); border: 0; border-radius: 0;
  border-bottom: 2px solid transparent; font-weight: 400;
}
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.actions { display: grid; grid-template-columns: 1fr 2fr; gap: 0.75rem; margin-top: 1.1rem; }
.actions.one { grid-template-columns: 1fr; }
.qr { display: block; width: 100%; max-width: 17rem; margin: 1rem auto 0.75rem; border-radius: 0.5rem; background: var(--qr-bg); aspect-ratio: 1; }
.field { margin-top: 0.75rem; padding: 0.6rem 0.75rem; background: var(--bg); border: 1px solid var(--line); border-radius: 0.5rem; }
.field .label { display: block; color: var(--dim); font-size: 0.8rem; }
.field code { display: block; max-height: 4.2rem; overflow: auto; }
.status {
  display: flex; align-items: center; gap: 0.6rem; margin-top: 0.9rem; padding: 0.75rem;
  border-radius: 0.5rem; background: var(--raised); border: 1px solid var(--line);
}
.status .state-dot { background: var(--warn); animation: pulse 1.4s ease-in-out infinite; }
.status.done { border-color: var(--ok-line); }
.status.done .state-dot { background: var(--ok); animation: none; }
.status.failed { border-color: var(--bad-line); }
.status.failed .state-dot { background: var(--bad); animation: none; }
.status.gone .state-dot { background: var(--dim); animation: none; }
@keyframes pulse { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .status .state-dot { animation: none; } }

/* send preview */
.review { margin: 0.9rem 0 0; }
.review div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-top: 1px solid var(--line); }
.review div:first-child { border-top: 0; }
.review dt { color: var(--dim); }
.review dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.review dd.neg { color: var(--bad); }
.review dd small { display: block; font-weight: 400; color: var(--dim); }
.covered {
  display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 0.5rem; padding: 0.75rem;
  border-radius: 0.5rem; border: 1px solid var(--ok-line); background: var(--ok-bg);
}
.covered .icon { color: var(--ok); margin-top: 0.15rem; }
.expires { color: var(--dim); font-size: 0.8rem; margin-top: 0.6rem; text-align: center; }
.danger-panel { margin-top: 0.9rem; padding: 1rem; border: 2px solid var(--bad); border-radius: 0.6rem; background: var(--bad-bg); }
.danger-panel .tag {
  display: inline-block; padding: 0.1rem 0.5rem; border-radius: 0.3rem; background: var(--bad); color: var(--on-bad);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.danger-panel .what { margin-top: 0.6rem; font-size: 1.05rem; font-weight: 600; }
.danger-panel label { color: var(--text); }
.danger-panel .phrase {
  display: block; margin-top: 0.4rem; padding: 0.5rem 0.75rem; border-radius: 0.4rem; background: var(--bg);
  border: 1px dashed var(--bad); user-select: all;
}
.danger-panel input { border-color: var(--bad-line); }
.danger-panel button.danger { margin-top: 0.9rem; }

/* login */
.login { max-width: 24rem; margin: 12vh auto 0; padding: 0 1rem; }
.login h1 { font-size: 1.5rem; margin: 1rem 0 0.4rem; }
.login button { margin-top: 1rem; }

@media (max-width: 720px) {
  .figures { grid-template-columns: 1fr; }
  .figure .big { font-size: 1.7rem; }
  .health h1 { font-size: 1.2rem; }
  .trow { grid-template-columns: 6.1rem 4.6rem 1fr 5.2rem; gap: 0.35rem; font-size: 0.85rem; }
  .trow .wide-only { display: none; }
  .warnings li button { width: 100%; }
}
@media (max-width: 420px) {
  dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; margin: auto 0 0; border-radius: 0.9rem 0.9rem 0 0; border-width: 1px 0 0; }
}
.danger-panel button.secondary { margin-top: 0.6rem; }
#node-id { margin-top: 0.75rem; }
.review dt { flex: none; }
.review dd small { overflow-wrap: anywhere; }
.login .hint { margin-top: 1rem; }
.more { text-align: center; }

/* header icons: the shared outline set in the pick green, the glow on the icon only */
svg.ic { width: 1.15em; height: 1.15em; flex: none; margin-right: 0.45em; color: var(--icon); filter: var(--icon-glow); }
.what:empty { display: none; }

/* sections: details/summary, the header row is the control; closed, it keeps its key numbers and any warning */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; align-items: start; }
@media (min-width: 901px) {
  .cols .figure .big { font-size: 1.6rem; }
  .cols .parts div { display: block; }
}
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
details.sec { margin-top: 1.25rem; font-size: 1rem; }
details.sec > summary {
  list-style: none; display: flex; align-items: center; flex-wrap: nowrap; gap: 0.25rem 0.75rem;
  padding: 0.6rem 0.8rem; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 0.6rem;
}
details.sec > summary::-webkit-details-marker { display: none; }
details.sec > summary h2 { display: flex; align-items: center; font-size: 1.05rem; }
details.sec > summary .stat { flex: 1 1 0; min-width: 0; color: var(--dim); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
details.sec > summary .badge { flex: none; }
details.sec > summary .caret { width: 1.1rem; height: 1.1rem; flex: none; margin-left: auto; color: var(--dim); transform: rotate(-90deg); }
details.sec[open] > summary { padding-left: 0; padding-right: 0; background: transparent; border-color: transparent; }
details.sec[open] > summary .caret { transform: none; }
details.sec[open] > summary .stat, details.sec[open] > summary .badge { display: none; }
details.sec.warn > summary { border-left: 0.25rem solid var(--warn); }
details.sec.bad > summary { border-left: 0.25rem solid var(--bad); }
details.sec.warn[open] > summary, details.sec.bad[open] > summary { border-left: 1px solid transparent; }
details.sec > .body { padding: 0.25rem 0 0.5rem; }
@media (max-width: 480px) {
  details.sec > summary { flex-wrap: wrap; }
  details.sec > summary .stat { flex-basis: 100%; order: 3; font-size: 0.85rem; }
}

/* the dashboard's read-only state and its key (vnprc/hashpool#353) */
.access { color: var(--dim); font-size: 0.8rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.1rem 0.55rem; white-space: nowrap; }
.key-needed { color: var(--dim); font-size: 0.875rem; margin-top: 0.6rem; text-align: center; }
.setting .key-state { font-weight: 600; margin: 0 0 0.4rem; }
.setting .key-state.off { color: var(--warn); }
.setting .actions { margin-top: 0.75rem; }
.setting .hint:empty { display: none; }
.setting #key-why { margin: 0.5rem 0 0; }
.touch-note { color: var(--dim); font-size: 0.875rem; margin-top: 0.75rem; }
.top { flex-wrap: wrap; }
.top-right { flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
.top-right button { white-space: nowrap; }

/* Settings (#settings): the header's gear, the view, the key list */
.gear { display: inline-flex; align-items: center; padding: 0.3rem; border-radius: 0.5rem; color: var(--dim); }
.gear svg.ic { width: 1.4rem; height: 1.4rem; margin: 0; }
.key-line { color: var(--dim); font-size: 0.875rem; margin-top: 0.75rem; }
.key-line a, .settings a.back { color: var(--text); }
.settings { max-width: 40rem; }
.settings-head { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }
.settings-head h1 { display: flex; align-items: center; font-size: 1.35rem; }
.settings section.panel { margin-top: 1.25rem; }
.settings section > h2 { display: flex; align-items: center; margin-bottom: 0.75rem; }
.settings .setting .hint:empty { display: none; }
a.button {
  display: block; padding: 0.7rem 1rem; text-align: center; text-decoration: none; background: var(--btn-bg);
  color: var(--btn-text); border: 1px solid var(--btn-border); border-radius: 0.5rem; font-weight: var(--btn-weight-quiet);
}
.keys { border: 1px solid var(--line); border-radius: 0.5rem; }
.key-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.key-text { min-width: 0; }
.key-name { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; overflow-wrap: anywhere; }
.key-meta { color: var(--dim); font-size: 0.8rem; overflow-wrap: anywhere; }
.key-row button { flex: none; }
#key-list-note { margin: 0.5rem 0 0; }
.cmd { padding: 0.5rem 0.75rem; background: var(--bg); border: 1px solid var(--line); border-radius: 0.5rem; margin-bottom: 0.75rem; }
#session-line { margin-bottom: 0.25rem; }

/* Hashrate (vnprc/hashpool#456): the wallet's chart, one bar per ten minutes; a silent miner in the warning style */
.rate { margin: 1rem 0 0; }
.rate-plot { position: relative; }
.rate-chart { display: block; width: 100%; height: auto; }
.rate-chart .rate-bar { fill: var(--accent); }
.rate-chart .base, .rate-chart .tick, .rate-chart .grid { stroke: var(--line); stroke-width: 1; }
/* --axis-px: set from the drawn width (app.js rateChart), so the labels are about 11.5 px at any width */
.rate-chart .axis { fill: var(--dim); font-size: var(--axis-px, 10px); }
/* the bar under the pointer or the keyboard: a faint column behind it, the bar in the text ink */
.rate-chart .cursor { fill: var(--text); opacity: 0.12; }
.rate-chart .rate-bar.on { fill: var(--text); }
.rate-chart .rate-bar:focus { outline: none; }
.rate-chart:focus-within .cursor { opacity: 0.25; }
.rate-tip {
  position: absolute; top: 0; width: max-content; padding: 0.3rem 0.5rem; pointer-events: none;
  background: var(--raised); color: var(--text); border: 1px solid var(--line); border-radius: 0.5rem;
  font-size: 0.8rem; font-variant-numeric: tabular-nums;
}
.rate-tip[hidden] { display: none; }
.rate-tip span { white-space: nowrap; }
.trow.rates { grid-template-columns: minmax(0, 2fr) 1fr 1fr 1.3fr; }
.trow .silent-line { grid-column: 1 / -1; white-space: normal; font-size: 0.8rem; }
.trow .silent-line .badge { margin-right: 0.35rem; }
.trow.silent { color: var(--warn); box-shadow: inset 0.25rem 0 0 var(--warn); padding-left: 0.5rem; }
/* the miners list (vnprc/hashpool#460): measured per connection, the assigned difficulty beside it */
.trow.conn { grid-template-columns: minmax(0, 2fr) 1fr 1fr 1fr; }
.trow.conn.unmeasured { grid-template-columns: minmax(0, 2fr) 1fr 1fr; }
.trow .settling { display: block; color: var(--dim); font-size: 0.75rem; }
@media (max-width: 720px) { .trow.rates, .trow.conn { grid-template-columns: minmax(0, 1fr) auto auto auto; } .trow.conn.unmeasured { grid-template-columns: minmax(0, 1fr) auto auto; } }

/* Payouts (vnprc/hashpool#485) */
#payouts .copy-line { margin-top: 0.75rem; }
#payouts .why { color: var(--warn); padding: 0.75rem 1rem 0; margin: 0; }
#payout-rows code.txid { overflow-wrap: anywhere; }
#payout-rows .act.payout { grid-template-columns: 1fr auto; }
#payout-rows .act.payout .meta, #payout-rows .act.payout .copy-line { grid-column: 1 / 3; }
#payout-rows .act.payout .badge { white-space: normal; }
