/* ── /wallets ──
   The wallet table and the address check. The page reads like an article
   and articles.css draws it; this adds the check box, the table, and room
   above each section so a link to /wallets/#table clears the fixed header. */

article [id] {
    scroll-margin-top: 84px;
}

/* ══ CHECK YOUR ADDRESS ══ */
.wk {
    margin: 26px 0 8px;
    padding: 20px 22px;
    background: var(--ground);
    border-radius: 14px;
}

    .wk label {
        display: block;
        margin: 0 0 10px;
        font-weight: 700;
        color: var(--navy);
    }

.wk-row {
    display: flex;
    gap: 8px;
}

    .wk-row input {
        flex: 1;
        min-width: 0;
        padding: 12px 14px;
        border: 1px solid #e3d5bd;
        border-radius: 10px;
        background: var(--paper);
        color: var(--ink);
        font: inherit;
        font-size: 16px;
    }

        .wk-row input:focus {
            outline: 2px solid var(--btc);
            outline-offset: 1px;
        }

    .wk-row .btn {
        border: 0;
        cursor: pointer;
        font-family: inherit;
    }

        .wk-row .btn:disabled {
            opacity: .6;
            cursor: default;
        }

.wk-out {
    margin-top: 16px;
}

    .wk-out p {
        margin: 0 0 8px;
        font-size: 15.5px;
    }

    .wk-out.bad {
        color: #b3261e;
        font-size: 15.5px;
    }

.wk-who {
    color: var(--navy);
}

.wk-warn {
    padding: 10px 14px;
    background: var(--paper);
    border-left: 3px solid var(--btc);
    border-radius: 8px;
}

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

.wk-out .wk-make {
    margin: 14px 0 0;
}

.yes {
    color: #1e7d32;
    font-weight: 600;
}

.no {
    color: #b3261e;
    font-weight: 600;
}

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

/* ══ THE TABLE ══ scrolls sideways inside its own box on a phone */
.wt-wrap {
    overflow-x: auto;
    margin: 0 0 18px;
    border: 1px solid var(--rule);
    border-radius: 12px;
}

.wt {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.45;
}

    .wt th {
        padding: 10px 12px;
        border-bottom: 1px solid var(--rule);
        background: #fbf8f2;
        text-align: left;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: var(--muted);
        vertical-align: bottom;
    }

    .wt td {
        padding: 12px;
        border-bottom: 1px solid var(--rule);
        vertical-align: top;
    }

    .wt tr:last-child td {
        border-bottom: 0;
    }

    /* The service the box just checked */
    .wt tr.on td {
        background: #fff4e2;
    }

    .wt a, .wt-name {
        font-weight: 700;
        color: var(--navy);
        text-decoration: none;
    }

        .wt a:hover {
            color: var(--btc-dark);
        }

.wt-sub {
    display: block;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--muted);
}

    .wt-sub.wt-inline {
        display: inline;
    }

.wt .wt-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.wt .wt-date {
    white-space: nowrap;
}

.wt-note {
    padding: 22px 12px;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 600px) {
    .wk {
        padding: 16px;
    }

    .wk-row {
        flex-direction: column;
    }

    .wt {
        font-size: 14px;
    }

        .wt th, .wt td {
            padding: 10px 8px;
        }

    .wt-first {
        display: none;
    }
}
