:root {
    color-scheme: dark;
    --bg: #14161a;
    --panel: #1c1f26;
    --border: #2a2e35;
    --text: #e6e6e6;
    --muted: #9aa4b2;
    --accent: #2f6fed;
    --danger: #e06666;
    --ok: #2f9e5a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
}

body.center {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 12px;
    border-bottom: 1px solid var(--border);
}

.brand {
    font-size: 15px;
    font-weight: 600;
}

.tagline {
    flex: 1;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

main {
    max-width: 1560px;
    margin: 0 auto;
    padding: 12px;
    display: grid;
    gap: 10px;
    column-gap: 0;
    grid-template-columns: minmax(0, var(--left, 740px)) 12px minmax(0, 1fr);
    align-items: start;
}

.col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

@media (max-width: 1100px) {
    main {
        grid-template-columns: minmax(0, 1fr);
    }

    .splitter {
        display: none;
    }
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
}

.card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.card-head h2 {
    flex: 1;
}

.card.collapsed .card-body {
    display: none;
}

.card.collapsed .card-head {
    margin-bottom: 0;
}

button.chevron {
    width: 22px;
    height: 22px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
}

button.chevron .arrow {
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.15s;
}

.card.collapsed button.chevron .arrow {
    transform: translateX(-2px) rotate(-45deg);
}

.splitter {
    align-self: stretch;
    min-height: 40px;
    margin: 0 -1px;
    border-radius: 4px;
    cursor: col-resize;
    touch-action: none;
    position: relative;
}

.splitter::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 3px;
    width: 2px;
    border-radius: 2px;
    background: var(--border);
    transition: background 0.15s;
}

.splitter:hover::after,
.splitter.drag::after {
    background: var(--accent);
}

.hint {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.field .hint {
    margin: 0;
    font-size: 11px;
}

details.help {
    margin: 0 0 8px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
}

details.help > summary {
    margin: 0;
    padding: 4px 8px;
    font-size: 11px;
}

details.help dl {
    margin: 0;
    padding: 2px 10px 8px;
    font-size: 12px;
    line-height: 1.5;
}

details.help dt {
    margin-top: 6px;
    color: var(--text);
    font-weight: 600;
}

details.help dd {
    margin: 0;
    color: var(--muted);
}

.page-box {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.page-box table {
    table-layout: fixed;
}

.page-box th,
.page-box td {
    height: 29px;
    padding: 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-box thead th {
    height: 26px;
    background: var(--bg);
}

.accounts-box {
    height: calc(26px + 10 * 29px + 2px);
}

.collections-box {
    height: calc(26px + 5 * 29px + 2px);
}

.page-box tr.blank td {
    border-bottom-color: transparent;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.pager .pager-info {
    min-width: 54px;
    text-align: center;
}

.pager button {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 2px 8px;
    font-size: 11px;
}

.toolbar select,
.toolbar input[type="search"] {
    font-size: 12px;
    padding: 3px 7px;
}

.toolbar select {
    flex: 0 1 auto;
}

.toolbar input[type="search"] {
    flex: 1 1 140px;
}

#readerAccount {
    flex: 1 1 200px;
}

td .badge,
td button.badge {
    padding: 0 7px;
    font-size: 11px;
}

td select {
    padding: 1px 4px;
    font-size: 11px;
}

td .row-actions button.small {
    padding: 2px 6px;
}

h1 {
    margin: 0 0 4px;
    font-size: 18px;
}

h2 {
    margin: 0;
    font-size: 15px;
}

.login {
    width: min(320px, calc(100vw - 32px));
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 6px 9px;
    font-size: 13px;
}

input:not([type="radio"]):not([type="checkbox"]):focus {
    outline: 2px solid var(--accent);
    outline-offset: -1px;
}

button {
    background: var(--accent);
    border: none;
    border-radius: 6px;
    color: #fff;
    padding: 4px 9px;
    font-size: 12px;
    cursor: pointer;
}

button.ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
}

button:disabled {
    opacity: 0.6;
    cursor: default;
}

.error {
    color: var(--danger);
    font-size: 13px;
    min-height: 16px;
}

.muted {
    color: var(--muted);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 4px 8px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

th {
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

.num {
    text-align: right;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid var(--border);
}

.badge.on {
    color: var(--ok);
    border-color: var(--ok);
}

.badge.off {
    color: var(--muted);
}

@media (max-width: 640px) {
    main {
        padding: 12px;
    }

    .card {
        overflow-x: auto;
    }
}

.actions {
    display: flex;
    gap: 8px;
}

.table-wrap {
    overflow-x: auto;
}

select {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 6px 8px;
    font-size: 13px;
}

button.small {
    padding: 3px 8px;
    font-size: 11px;
}

button.danger {
    background: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
}

td.num .row-actions {
    display: inline-flex;
    gap: 6px;
}

.notice {
    margin-bottom: 10px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
}

.notice.ok {
    border-color: var(--ok);
    color: var(--ok);
}

.notice.bad {
    border-color: var(--danger);
    color: var(--danger);
}

dialog {
    color: var(--text);
    width: min(420px, calc(100vw - 32px));
    padding: 20px;
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

.step {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0 0;
}

.step[hidden] {
    display: none;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.label {
    color: var(--muted);
    font-size: 12px;
}

.choice {
    display: flex;
    gap: 16px;
}

.choice label {
    display: flex;
    align-items: center;
    gap: 6px;
}

summary {
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
    margin-bottom: 6px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qr {
    display: flex;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    min-height: 312px;
}

button.badge {
    background: transparent;
    cursor: pointer;
}

dialog.wide {
    width: min(760px, calc(100vw - 32px));
}

pre.report {
    margin: 12px 0;
    padding: 12px;
    max-height: 60vh;
    overflow: auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

h3 {
    margin: 10px 0 4px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.actions .muted {
    align-self: center;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.stat {
    min-width: 84px;
    padding: 6px 9px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.stat .value {
    font-size: 15px;
    font-weight: 600;
}

.stat .name {
    margin-top: 2px;
    font-size: 11px;
    color: var(--muted);
}

.drop {
    color: var(--ok);
}

.rise {
    color: var(--muted);
}

details {
    margin-top: 8px;
}

details > summary {
    margin-bottom: 8px;
}

.scanner-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    align-items: end;
    margin-top: 8px;
}

.scanner-form .buttons {
    grid-column: 1 / -1;
}

label.check {
    display: flex;
    align-items: center;
    gap: 8px;
}

label.check input {
    width: 16px;
    height: 16px;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.toolbar select {
    min-width: 0;
}

.toolbar input[type="search"] {
    min-width: 0;
}

.table-wrap.scroll {
    max-height: 62vh;
    overflow: auto;
}

.table-wrap.scroll thead th {
    position: sticky;
    top: 0;
    background: var(--panel);
}

tr.collected td:first-child::before {
    content: "\2022 ";
    color: var(--ok);
}

.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.tabs button {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 4px 10px;
}

.tabs button.active {
    border-color: var(--accent);
    color: var(--text);
}

dialog input[type="search"] {
    width: 100%;
    margin-bottom: 6px;
}

.attr-list {
    max-height: 56vh;
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 8px;
}

.attr-row {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 64px 56px;
    gap: 8px;
    align-items: center;
    padding: 3px 8px;
    border-bottom: 1px solid var(--border);
}

.attr-row:last-child {
    border-bottom: none;
}

.attr-row .id {
    color: var(--muted);
    font-size: 11px;
    text-align: right;
}

.attr-row .name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attr-row .rarity,
.attr-row .count {
    text-align: right;
    color: var(--muted);
}

.swatch {
    width: 22px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.info {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-left: 6px;
    border: 1px solid var(--muted);
    border-radius: 50%;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    font-style: normal;
    line-height: 1;
    vertical-align: middle;
    cursor: default;
}

.info::before {
    content: "i";
}

.info:hover,
.info:focus,
.info.open {
    color: var(--text);
    border-color: var(--text);
    outline: none;
}

.info .tip {
    display: none;
    position: absolute;
    z-index: 30;
    top: 18px;
    left: -6px;
    width: min(400px, 86vw);
    padding: 8px 12px;
    background: #0f1115;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
    color: var(--text);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    cursor: default;
}

.info.right .tip {
    left: auto;
    right: -6px;
}

.info:hover .tip,
.info:focus .tip,
.info.open .tip {
    display: block;
}

.info .tip p {
    margin: 0 0 6px;
}

.info .tip dl {
    margin: 0;
}

.info .tip dt {
    margin-top: 6px;
    font-weight: 600;
}

.info .tip dd {
    margin: 0;
    color: var(--muted);
}

.tagline {
    display: inline-flex;
    align-items: center;
}

.label .info {
    margin-left: 4px;
}

.card-head h2 {
    display: flex;
    align-items: center;
}

.actions button {
    padding: 2px 8px;
    font-size: 11px;
}

.toolbar .dd-btn,
.toolbar input[type="search"] {
    height: 24px;
    padding: 0 8px;
    font-size: 12px;
    line-height: 22px;
}

.dd {
    position: relative;
    display: inline-block;
    min-width: 0;
}

.dd.grow,
input.grow {
    flex: 1 1 140px;
    min-width: 0;
}

.dd.grow .dd-btn {
    width: 100%;
}

.dd select {
    display: none;
}

.dd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    max-width: 100%;
    height: 24px;
    padding: 0 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 12px;
    line-height: 1;
    text-align: left;
}

.dd-btn:hover:not(:disabled),
.dd-btn.open {
    border-color: var(--accent);
}

.dd-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dd-label.placeholder {
    color: var(--muted);
}

.dd-arrow {
    flex: none;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid var(--muted);
    border-bottom: 1.5px solid var(--muted);
    transform: translateY(-2px) rotate(45deg);
}

.dd-menu {
    position: fixed;
    z-index: 50;
    max-height: 260px;
    overflow-y: auto;
    padding: 3px;
    background: #0f1115;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
    font-size: 12px;
}

.dd-item {
    padding: 4px 8px;
    border-radius: 5px;
    white-space: nowrap;
    cursor: pointer;
}

.dd-item:hover {
    background: var(--border);
}

.dd-item.selected {
    color: var(--accent);
}

.dd-item.disabled {
    color: var(--muted);
    opacity: 0.5;
    cursor: default;
}

.dd-item.disabled:hover {
    background: transparent;
}

td .dd-btn {
    height: 20px;
    padding: 0 6px;
    font-size: 11px;
}

dialog .dd,
dialog .dd-btn {
    width: 100%;
}

dialog .dd-btn {
    height: 30px;
    font-size: 13px;
}

th[data-sort] {
    cursor: pointer;
    user-select: none;
}

th[data-sort]:hover,
th.sorted {
    color: var(--text);
}

th.sorted[data-dir="asc"]::after {
    content: " \25B2";
    font-size: 8px;
}

th.sorted[data-dir="desc"]::after {
    content: " \25BC";
    font-size: 8px;
}

.page-box tbody tr:not(.blank) {
    cursor: pointer;
}

.page-box tbody tr:not(.blank):hover {
    background: rgba(255, 255, 255, 0.03);
}

.page-box tbody tr.selected {
    background: rgba(47, 111, 237, 0.18);
    box-shadow: inset 2px 0 0 var(--accent);
}

.tt {
    position: fixed;
    z-index: 60;
    max-width: 360px;
    padding: 4px 8px;
    background: #0f1115;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    font-size: 12px;
    pointer-events: none;
    word-break: break-all;
}

.tt[hidden] {
    display: none;
}

#accounts th:nth-child(1) { width: 122px; }
#accounts th:nth-child(3) { width: 78px; }
#accounts th:nth-child(4) { width: 46px; }
#accounts th:nth-child(5) { width: 40px; }
#accounts th:nth-child(7) { width: 76px; }
#accounts th:nth-child(8) { width: 112px; }

#collectionsTable th:nth-child(2) { width: 54px; }
#collectionsTable th:nth-child(3) { width: 50px; }
#collectionsTable th:nth-child(4) { width: 40px; }
#collectionsTable th:nth-child(5) { width: 40px; }
#collectionsTable th:nth-child(6) { width: 36px; }
#collectionsTable th:nth-child(7) { width: 78px; }
#collectionsTable th:nth-child(8) { width: 112px; }

input[type="radio"],
input[type="checkbox"] {
    accent-color: var(--accent);
    outline: none;
}

.splitter::after {
    top: 50%;
    bottom: auto;
    left: 50%;
    width: 5px;
    height: 44px;
    transform: translate(-50%, -50%);
    background: #4a5060;
}

dialog {
    position: relative;
    padding-top: 30px;
}

.mac-close {
    position: absolute;
    top: 10px;
    left: 12px;
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #e0443e;
    background: #ff5f57;
    color: transparent;
    font-size: 9px;
    font-weight: 700;
    line-height: 10px;
    text-align: center;
}

.mac-close::before {
    content: "\00d7";
}

.mac-close:hover {
    color: #4d0000;
}

.settings {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.switches,
.setting-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}

.switch input {
    display: none;
}

.switch .slider {
    position: relative;
    display: block;
    width: 32px;
    height: 18px;
    border-radius: 9px;
    background: #3a3f49;
    transition: background 0.15s;
}

.switch .slider::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.15s;
}

.switch input:checked + .slider {
    background: var(--ok);
}

.switch input:checked + .slider::before {
    transform: translateX(14px);
}

.sfield {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sfield .label {
    font-size: 11px;
}

.with-suffix {
    position: relative;
    display: block;
}

.with-suffix input {
    width: 100%;
    height: 30px;
    padding: 0 34px 0 10px;
    -moz-appearance: textfield;
}

.with-suffix input::-webkit-outer-spin-button,
.with-suffix input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.with-suffix .suffix {
    position: absolute;
    top: 0;
    right: 10px;
    line-height: 30px;
    color: var(--muted);
    font-size: 12px;
    pointer-events: none;
}

.sfield .dd,
.sfield .dd-btn {
    width: 100%;
}

.sfield .dd-btn {
    height: 30px;
    padding: 0 10px;
    font-size: 13px;
}

.dd-search {
    display: block;
    width: 100%;
    height: 26px;
    margin: 0 0 3px;
    padding: 0 8px;
    font-size: 12px;
}

.dd-menu.searchable {
    padding-top: 3px;
}

.dd-items {
    max-height: 220px;
    overflow-y: auto;
}

.dd-empty {
    padding: 6px 8px;
    color: var(--muted);
}

body.arranging .card:not(dialog) {
    outline: 1px dashed var(--accent);
    outline-offset: 2px;
}

body.arranging .card-head {
    cursor: grab;
}

body.arranging .col {
    min-height: 80px;
}

.card.dragging {
    opacity: 0.4;
}

body:has(dialog[open]) {
    overflow: hidden;
}

dialog {
    overscroll-behavior: contain;
}

.attr-list,
.dd-menu,
.dd-items {
    overscroll-behavior: contain;
}

.sfield .dd {
    flex: none;
}

dialog.card {
    padding: 34px 18px 16px;
}

body.arranging main {
    align-items: stretch;
}

body.arranging .card-head,
body.arranging .card-head * {
    user-select: none;
}

.settings.dirty .buttons button[type="submit"] {
    box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.35);
}

.switch-row.changed,
.sfield.changed input,
.sfield.changed .dd-btn {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.toasts {
    position: fixed;
    top: 12px;
    right: 16px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 340px;
    pointer-events: none;
}

.toast {
    padding: 10px 14px;
    background: var(--panel);
    border: 1px solid #363b44;
    border-left: 3px solid var(--ok);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    font-size: 13px;
    line-height: 1.4;
    opacity: 0;
    transform: translateX(16px);
    transition: opacity 0.2s, transform 0.2s;
}

.toast.show {
    opacity: 1;
    transform: none;
}

.toast.bad {
    border-left-color: var(--danger);
}

@media (pointer: coarse) {
    input:not([type="radio"]):not([type="checkbox"]),
    select,
    textarea {
        font-size: 16px !important;
    }
}

body.arranging .card-head {
    touch-action: none;
}

.splitter::after {
    top: var(--y, 50%);
    opacity: 0;
    transition: opacity 0.12s, background 0.15s;
}

.splitter:hover::after,
.splitter.drag::after {
    opacity: 1;
}

.card.dragging {
    opacity: 1;
    position: relative;
    z-index: 40;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--accent);
    cursor: grabbing;
}

.splitter::after {
    top: clamp(22px, var(--y, 50%), calc(100% - 22px));
}

body.no-select,
body.no-select * {
    user-select: none;
    -webkit-user-select: none;
}

.card.dragging {
    will-change: transform;
}

body.arranging,
body.arranging * {
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

body.arranging button,
body.arranging a {
    cursor: pointer;
}

body.no-select.arranging,
body.no-select.arranging * {
    cursor: grabbing;
}

body.no-select:not(.arranging),
body.no-select:not(.arranging) * {
    cursor: col-resize;
}

.card-holder {
    border: 1px dashed var(--accent);
    border-radius: 10px;
    background: rgba(47, 111, 237, 0.08);
}

.card.dragging {
    position: fixed;
}

.col[hidden] {
    display: none;
}

main.single {
    grid-template-columns: minmax(0, 1fr);
}

main.single .splitter {
    display: none;
}

.live-box {
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    padding: 4px;
}

.live-box canvas {
    display: block;
    width: 100%;
    height: 220px;
}

.live-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 6px;
    font-size: 11px;
    color: var(--muted);
}

.live-legend .swatch-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
}

.live-toolbar {
    margin-bottom: 6px;
}

.live-legend span.series {
    cursor: pointer;
    user-select: none;
}

.live-legend span.series.off {
    opacity: 0.35;
}

.live-slow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    color: var(--muted);
    font-size: 12px;
}

.live-slow input {
    width: 62px;
    height: 24px;
    padding: 0 6px;
    font-size: 12px;
}

.live-summary {
    margin: 8px 0 4px;
    font-size: 12px;
}
