:root {
    --onebit-ink: #171b1a;
    --onebit-muted: #66706c;
    --onebit-line: #d9ddd9;
    --onebit-paper: #ffffff;
    --onebit-canvas: #f2f3ef;
    --onebit-gold: #b5842c;
    --onebit-gold-dark: #745015;
    --onebit-gold-soft: #f8f1df;
    --onebit-green: #126858;
    color: var(--onebit-ink);
    background: var(--onebit-canvas);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

.onebit-mm-daily-panel {
    margin-top: 14px;
    border: 1px solid #dfe4df;
    border-radius: 12px;
    background: #fff;
    padding: 20px;
}

.onebit-mm-daily-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.onebit-mm-daily-head span {
    color: #19735d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.onebit-mm-daily-head h2 {
    margin: 4px 0 0;
    color: #202622;
    font-size: 21px;
}

.onebit-mm-daily-head p {
    margin: 7px 0 0;
    color: #727b76;
    font-size: 12px;
    line-height: 1.65;
}

.onebit-mm-daily-head > b {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #e7f2ed;
    color: #17634f;
    padding: 6px 10px;
    font-size: 11px;
}

.onebit-mm-daily-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e9e6;
    border-radius: 9px;
}

.onebit-mm-daily-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.onebit-mm-daily-table th,
.onebit-mm-daily-table td {
    border-bottom: 1px solid #e8ece9;
    padding: 12px 14px;
    text-align: left;
    white-space: nowrap;
}

.onebit-mm-daily-table th {
    background: #f5f8f6;
    color: #68716c;
    font-size: 11px;
    letter-spacing: .03em;
}

.onebit-mm-daily-table td {
    color: #59625d;
}

.onebit-mm-daily-table td strong {
    color: #1d5f4e;
    font-size: 14px;
}

.onebit-mm-daily-table td:last-child {
    min-width: 360px;
    white-space: normal;
}

.onebit-mm-daily-terms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.onebit-mm-daily-terms > span {
    display: flex;
    min-width: 0;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid #dce9e3;
    border-radius: 7px;
    background: #f4faf7;
    padding: 7px 8px;
}

.onebit-mm-daily-terms b,
.onebit-mm-daily-terms em {
    min-width: 0;
    font-style: normal;
    line-height: 1.35;
}

.onebit-mm-daily-terms b {
    flex: 0 0 auto;
    color: #226b58;
    font-size: 10px;
}

.onebit-mm-daily-terms em {
    color: #5f6b65;
    font-size: 10px;
    font-weight: 750;
    text-align: right;
}

.onebit-mm-daily-table tbody tr:last-child td {
    border-bottom: 0;
}

.onebit-mm-daily-pager {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.onebit-mm-daily-pager[hidden] {
    display: none;
}

.onebit-mm-daily-pager button {
    min-height: 34px;
    border: 1px solid #cfd8d3;
    border-radius: 6px;
    background: #fff;
    color: #285f50;
    padding: 0 12px;
    cursor: pointer;
    font-weight: 800;
}

.onebit-mm-daily-pager button:disabled {
    cursor: default;
    opacity: .45;
}

.onebit-mm-daily-pager span,
.onebit-mm-daily-note {
    color: #7a837e;
    font-size: 11px;
}

.onebit-mm-daily-note {
    margin: 12px 0 0;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .onebit-mm-daily-panel {
        padding: 15px;
    }

    .onebit-mm-daily-head {
        flex-direction: column;
        gap: 10px;
    }

    .onebit-mm-daily-table-wrap {
        overflow: visible;
        border: 0;
    }

    .onebit-mm-daily-table,
    .onebit-mm-daily-table tbody,
    .onebit-mm-daily-table tr,
    .onebit-mm-daily-table td {
        display: block;
        width: 100%;
    }

    .onebit-mm-daily-table thead {
        display: none;
    }

    .onebit-mm-daily-table tr {
        margin-top: 9px;
        border: 1px solid #dfe6e2;
        border-radius: 9px;
        background: #fbfcfb;
        padding: 9px 11px;
    }

    .onebit-mm-daily-table tr:first-child {
        margin-top: 0;
    }

    .onebit-mm-daily-table td {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 16px;
        border: 0;
        padding: 5px 0;
        white-space: normal;
        text-align: right;
    }

    .onebit-mm-daily-table td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        color: #7b847f;
        font-size: 11px;
        font-weight: 700;
    }

    .onebit-mm-daily-table td[colspan] {
        display: block;
        text-align: left;
    }

    .onebit-mm-daily-table td[colspan]::before {
        display: none;
    }

    .onebit-mm-daily-table td:last-child {
        display: block;
        min-width: 0;
        text-align: left;
    }

    .onebit-mm-daily-table td:last-child::before {
        display: block;
        margin-bottom: 7px;
    }

    .onebit-mm-daily-terms {
        width: 100%;
    }

    .onebit-mm-daily-terms > span {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .onebit-mm-daily-terms em {
        text-align: left;
    }

    .onebit-mm-daily-pager {
        justify-content: space-between;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--onebit-ink);
    background:
        radial-gradient(circle at 8% 0%, rgba(181, 132, 44, .12), transparent 28rem),
        var(--onebit-canvas);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.onebit-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(23, 27, 26, .08);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
}

.onebit-header-inner,
.onebit-shell {
    width: min(1480px, calc(100% - 36px));
    margin: 0 auto;
}

.onebit-header-inner {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.onebit-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.onebit-brand img {
    display: block;
    width: 94px;
    height: auto;
}

.onebit-brand span {
    border-left: 1px solid var(--onebit-line);
    padding-left: 12px;
    color: var(--onebit-muted);
    font-size: 12px;
    font-weight: 800;
}

.onebit-header nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #4d5652;
    font-size: 13px;
    font-weight: 800;
}

.onebit-header nav a:hover {
    color: var(--onebit-gold-dark);
}

.onebit-shell {
    padding: 22px 0 48px;
}

.onebit-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(410px, .85fr);
    overflow: hidden;
    border: 1px solid var(--onebit-line);
    border-radius: 14px;
    background: var(--onebit-paper);
    box-shadow: 0 16px 46px rgba(32, 38, 34, .07);
}

.onebit-hero-copy {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 5vw, 72px);
    background:
        linear-gradient(118deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .88)),
        radial-gradient(circle at 90% 20%, rgba(181, 132, 44, .18), transparent 18rem);
}

.onebit-eyebrow,
.onebit-section-heading > div:first-child > span {
    color: var(--onebit-gold-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.onebit-hero h1 {
    margin: 9px 0 15px;
    font-size: clamp(54px, 7vw, 92px);
    line-height: .94;
    letter-spacing: -.07em;
}

.onebit-hero h1 em {
    color: var(--onebit-gold);
    font-style: normal;
}

.onebit-hero-copy > p {
    max-width: 760px;
    margin: 0;
    color: #58615d;
    font-size: 15px;
    line-height: 1.8;
}

.onebit-status-list,
.onebit-hero-actions,
.onebit-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.onebit-status-list {
    margin-top: 22px;
}

.onebit-status-list span,
.onebit-feature-tags span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--onebit-line);
    border-radius: 999px;
    background: #fafbf9;
    padding: 0 11px;
    color: #5e6763;
    font-size: 11px;
    font-weight: 800;
}

.onebit-status-list span.is-live {
    border-color: rgba(18, 104, 88, .22);
    color: var(--onebit-green);
    background: #ecf7f3;
}

.onebit-hero-actions {
    margin-top: 24px;
}

.onebit-button {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #c9cfc9;
    border-radius: 8px;
    background: #fff;
    padding: 0 16px;
    color: #39413d;
    font-size: 13px;
    font-weight: 900;
}

.onebit-button.is-primary {
    border-color: var(--onebit-gold);
    color: #fff;
    background: var(--onebit-gold);
}

.onebit-snapshot {
    border-left: 1px solid var(--onebit-line);
    background: #1c211f;
    padding: clamp(28px, 4vw, 48px);
    color: #edf3ef;
}

.onebit-snapshot-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding-bottom: 16px;
}

.onebit-snapshot-head span,
.onebit-snapshot-head strong {
    display: block;
}

.onebit-snapshot-head span {
    color: #9ca7a1;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.onebit-snapshot-head strong {
    max-width: 210px;
    color: #f0d598;
    font-size: 12px;
    text-align: right;
}

.onebit-wallet-card {
    margin-top: 20px;
    border: 1px solid rgba(240, 213, 152, .25);
    border-radius: 10px;
    background: rgba(255, 255, 255, .055);
    padding: 16px;
}

.onebit-wallet-card small,
.onebit-wallet-card code {
    display: block;
}

.onebit-wallet-card small {
    color: #a5afa9;
    font-size: 11px;
}

.onebit-wallet-card code {
    margin-top: 8px;
    color: #fff3d0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.onebit-wallet-card > div {
    display: flex;
    gap: 8px;
    margin-top: 13px;
}

.onebit-wallet-card button {
    min-height: 34px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 7px;
    color: #e7eee9;
    background: rgba(255, 255, 255, .07);
    padding: 0 11px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.onebit-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 0;
}

.onebit-kpis > div {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 9px;
    background: rgba(255, 255, 255, .04);
    padding: 13px;
}

.onebit-kpis dt {
    color: #97a19b;
    font-size: 10px;
}

.onebit-kpis dd {
    margin: 5px 0 0;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.onebit-cutoff {
    margin-top: 14px;
    color: #929d96;
    font-size: 11px;
}

.onebit-cutoff strong {
    color: #d9e0dc;
}

.onebit-stage-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 14px;
    border: 1px solid #dfc98d;
    border-radius: 10px;
    background: var(--onebit-gold-soft);
    padding: 13px 16px;
    color: var(--onebit-gold-dark);
}

.onebit-stage-note > i {
    font-size: 18px;
}

.onebit-stage-note strong,
.onebit-stage-note span {
    display: block;
}

.onebit-stage-note strong {
    font-size: 13px;
}

.onebit-stage-note span {
    margin-top: 2px;
    color: #75653e;
    font-size: 12px;
    line-height: 1.55;
}

.onebit-referral-section {
    scroll-margin-top: 86px;
    margin-top: 14px;
    border: 1px solid var(--onebit-line);
    border-radius: 14px;
    background: var(--onebit-paper);
    padding: 22px;
}

.onebit-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 5px 4px 18px;
}

.onebit-section-heading h2 {
    margin: 5px 0 0;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -.03em;
}

.onebit-section-heading p {
    max-width: 800px;
    margin: 9px 0 0;
    color: var(--onebit-muted);
    font-size: 13px;
    line-height: 1.7;
}

.onebit-feature-tags {
    max-width: 390px;
    justify-content: flex-end;
}

.onebit-feature-tags span {
    min-height: 29px;
    color: var(--onebit-gold-dark);
    background: var(--onebit-gold-soft);
}

.onebit-referral-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 4px 13px;
    border-left: 3px solid var(--onebit-gold);
    background: #f8f9f6;
    padding: 10px 12px;
    color: #626b66;
    font-size: 11px;
    line-height: 1.55;
}

.onebit-referral-help code {
    color: #35403b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    overflow-wrap: anywhere;
}

.onebit-referral-placeholder {
    display: flex;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px dashed #cbd1cb;
    border-radius: 10px;
    color: #66706b;
    background: #fafbf9;
}

.onebit-referral-placeholder[hidden],
#onebitReferralTopology[hidden] {
    display: none !important;
}

.onebit-referral-placeholder > i {
    color: var(--onebit-gold);
    font-size: 22px;
}

.onebit-referral-placeholder strong,
.onebit-referral-placeholder span {
    display: block;
}

.onebit-referral-placeholder strong {
    color: #343b37;
    font-size: 14px;
}

.onebit-referral-placeholder span {
    margin-top: 4px;
    font-size: 11px;
}

#onebitReferralTopology {
    min-width: 0;
}

/* ONE BIT keeps every path address fully visible. The shared component remains unchanged for other projects. */
#onebitReferralTopology .rtw-shell.is-full-path-addresses.is-path-mode .rtw-path-step,
#onebitReferralTopology .rtw-shell.is-full-path-addresses.is-path-mode .rtw-path-step.is-current {
    width: 382px;
    min-height: 68px;
}

#onebitReferralTopology .rtw-shell.is-full-path-addresses .rtw-path-copy strong {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: .75rem;
    line-height: 1.42;
}

#onebitReferralTopology .onebit-node-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(181, 132, 44, .28);
    border-radius: 999px;
    background: #fff4d9;
    padding: 2px 7px;
    color: #7b5413;
    font-size: 9px;
    font-weight: 900;
}

#onebitReferralTopology .onebit-node-state {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

#onebitReferralTopology .onebit-node-state > span {
    color: #78827d;
    font-size: 10px;
    font-weight: 800;
}

#onebitReferralTopology .onebit-node-state code {
    color: #25312c;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    overflow-wrap: anywhere;
}

#onebitReferralTopology .onebit-node-state a {
    color: #88611b;
    font-size: 10px;
    font-weight: 900;
}

.onebit-referral-section.is-error .onebit-referral-placeholder {
    border-color: #e3b6ae;
    color: #8c463a;
    background: #fff5f3;
}

/* Full project dossier */
.onebit-hero-copy {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.onebit-hero-copy::after {
    position: absolute;
    right: -84px;
    bottom: -118px;
    z-index: -1;
    width: min(52%, 470px);
    aspect-ratio: 1;
    background: url("../../onebit/home-hero.png") center / contain no-repeat;
    content: "";
    opacity: .15;
    pointer-events: none;
    transform: rotate(-3deg);
}

.onebit-title-row {
    display: flex;
    align-items: flex-end;
    gap: 18px;
}

.onebit-risk-mark {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    margin-bottom: 17px;
    border: 1px solid #dcb8ae;
    border-radius: 999px;
    background: #fff3ef;
    padding: 0 11px;
    color: #9d3d2f;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.onebit-jump-nav {
    position: sticky;
    top: 80px;
    z-index: 35;
    display: flex;
    overflow-x: auto;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    border: 1px solid rgba(23, 27, 26, .09);
    border-radius: 10px;
    background: rgba(255, 255, 255, .95);
    padding: 7px;
    box-shadow: 0 8px 24px rgba(31, 36, 33, .06);
    backdrop-filter: blur(16px);
    scrollbar-width: none;
}

.onebit-jump-nav::-webkit-scrollbar {
    display: none;
}

.onebit-jump-nav a {
    flex: 0 0 auto;
    border-radius: 6px;
    padding: 8px 11px;
    color: #5f6864;
    font-size: 11px;
    font-weight: 900;
}

.onebit-jump-nav a:hover {
    color: var(--onebit-gold-dark);
    background: var(--onebit-gold-soft);
}

.onebit-section {
    scroll-margin-top: 140px;
    margin-top: 14px;
    border: 1px solid var(--onebit-line);
    border-radius: 14px;
    background: var(--onebit-paper);
    padding: 26px;
}

.onebit-evidence-legend {
    display: flex;
    max-width: 430px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.onebit-evidence-legend span,
.onebit-evidence {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    border: 1px solid var(--onebit-line);
    border-radius: 999px;
    background: #f7f8f6;
    padding: 0 8px;
    color: #616b66;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .02em;
}

.onebit-evidence-legend .is-confirmed,
.onebit-evidence.is-confirmed {
    border-color: #b9dbcf;
    color: #0d6654;
    background: #edf8f4;
}

.onebit-evidence-legend .is-claimed,
.onebit-evidence.is-claimed {
    border-color: #dfca96;
    color: #7d5a18;
    background: #fbf5e6;
}

.onebit-evidence-legend .is-calculated,
.onebit-evidence.is-calculated {
    border-color: #bfcde2;
    color: #365d91;
    background: #f1f6fc;
}

.onebit-evidence-legend .is-unverified,
.onebit-evidence.is-unverified {
    border-color: #d7c3c0;
    color: #86504a;
    background: #fbf3f2;
}

.onebit-conclusion-banner {
    display: grid;
    grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr);
    gap: 32px;
    align-items: center;
    border-radius: 11px;
    background: #222825;
    padding: 22px 24px;
    color: #f0f5f1;
}

.onebit-conclusion-banner span,
.onebit-conclusion-banner strong {
    display: block;
}

.onebit-conclusion-banner span {
    color: #d8bd7e;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.onebit-conclusion-banner strong {
    margin-top: 7px;
    color: #fff;
    font-size: clamp(17px, 2vw, 25px);
    line-height: 1.45;
}

.onebit-conclusion-banner p {
    margin: 0;
    border-left: 1px solid rgba(255, 255, 255, .13);
    padding-left: 28px;
    color: #b9c3bd;
    font-size: 12px;
    line-height: 1.8;
}

.onebit-fact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.onebit-fact-card {
    min-height: 188px;
    border: 1px solid #e1e4e0;
    border-radius: 10px;
    background: #fbfcfa;
    padding: 15px;
}

.onebit-fact-card.is-risk {
    border-color: #e5c7c0;
    background: #fff8f6;
}

.onebit-fact-card.is-boundary {
    border-style: dashed;
    background: #f6f7f5;
}

.onebit-fact-card small,
.onebit-fact-card strong,
.onebit-fact-card p {
    display: block;
}

.onebit-fact-card small {
    margin-top: 18px;
    color: #6d7671;
    font-size: 10px;
    font-weight: 800;
}

.onebit-fact-card strong {
    margin-top: 5px;
    color: #222925;
    font-size: 23px;
    line-height: 1.2;
}

.onebit-fact-card p {
    margin: 10px 0 0;
    color: #68716d;
    font-size: 10px;
    line-height: 1.65;
}

.onebit-cutoff-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 12px;
    border: 1px solid #e1e4e0;
    border-radius: 9px;
    background: #e1e4e0;
}

.onebit-cutoff-grid span {
    background: #f7f8f6;
    padding: 10px 12px;
    color: #737c77;
    font-size: 9px;
    line-height: 1.45;
}

.onebit-cutoff-grid b,
.onebit-cutoff-grid i {
    color: #39413d;
    font-style: normal;
}

.onebit-section-badge {
    display: inline-flex;
    min-height: 34px;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    border: 1px solid #d8ddd8;
    border-radius: 999px;
    background: #f8f9f7;
    padding: 0 11px;
    color: #606a65;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.onebit-section-badge.is-safe {
    border-color: #b8d9ce;
    color: #126858;
    background: #edf8f4;
}

.onebit-section-badge.is-claimed,
.onebit-section-badge.is-link {
    border-color: #dfca96;
    color: #765315;
    background: #fbf5e6;
}

.onebit-section-badge.is-danger {
    border-color: #e0b8b0;
    color: #993f32;
    background: #fff4f1;
}

.onebit-section-badge.is-link:hover {
    border-color: var(--onebit-gold);
    background: #fff7e6;
}

.onebit-wallet-analysis {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(360px, .78fr);
    gap: 12px;
}

.onebit-transaction-card {
    overflow: hidden;
    border: 1px solid #dfe3df;
    border-radius: 11px;
    background: #fbfcfa;
}

.onebit-transaction-function {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #dfe3df;
    background: #222825;
    padding: 15px 17px;
    color: #dfe6e1;
}

.onebit-transaction-function span {
    color: #a9b3ad;
    font-size: 10px;
    font-weight: 900;
}

.onebit-transaction-function code {
    color: #ffe9b4;
    font-size: 13px;
}

.onebit-transaction-card dl {
    margin: 0;
}

.onebit-transaction-card dl > div {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
    border-bottom: 1px solid #e7eae6;
    padding: 13px 17px;
}

.onebit-transaction-card dl > div:last-child {
    border-bottom: 0;
}

.onebit-transaction-card dt {
    color: #7a837f;
    font-size: 10px;
    font-weight: 800;
}

.onebit-transaction-card dd {
    min-width: 0;
    margin: 0;
}

.onebit-transaction-card dd code {
    color: #27312d;
    font-size: 10px;
    overflow-wrap: anywhere;
}

.onebit-transaction-card dd a:hover code {
    color: var(--onebit-gold-dark);
}

.onebit-wallet-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.onebit-wallet-results article,
.onebit-control-summary article,
.onebit-material-summary article {
    border: 1px solid #dfe3df;
    border-radius: 10px;
    background: #fbfcfa;
    padding: 15px;
}

.onebit-wallet-results span,
.onebit-wallet-results strong,
.onebit-wallet-results small,
.onebit-control-summary span,
.onebit-control-summary strong,
.onebit-control-summary small,
.onebit-material-summary span,
.onebit-material-summary strong,
.onebit-material-summary small {
    display: block;
}

.onebit-wallet-results span,
.onebit-control-summary span,
.onebit-material-summary span {
    color: #737d78;
    font-size: 9px;
    font-weight: 800;
}

.onebit-wallet-results strong,
.onebit-control-summary strong,
.onebit-material-summary strong {
    margin-top: 7px;
    color: #222925;
    font-size: 20px;
}

.onebit-wallet-results small,
.onebit-control-summary small,
.onebit-material-summary small {
    margin-top: 8px;
    color: #707a75;
    font-size: 9px;
    line-height: 1.5;
}

.onebit-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.onebit-timeline::before {
    position: absolute;
    top: 13px;
    right: 8%;
    left: 8%;
    height: 1px;
    background: #d9ddd9;
    content: "";
}

.onebit-timeline li {
    position: relative;
    padding: 33px 20px 5px 0;
}

.onebit-timeline li::before {
    position: absolute;
    top: 7px;
    left: 0;
    width: 13px;
    height: 13px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #bfc6c1;
    box-shadow: 0 0 0 1px #cfd4d0;
    content: "";
}

.onebit-timeline li.is-done::before {
    background: var(--onebit-green);
    box-shadow: 0 0 0 1px var(--onebit-green);
}

.onebit-timeline li.is-next::before {
    background: var(--onebit-gold);
    box-shadow: 0 0 0 1px var(--onebit-gold);
}

.onebit-timeline time,
.onebit-timeline strong {
    display: block;
}

.onebit-timeline time {
    color: var(--onebit-gold-dark);
    font-size: 10px;
    font-weight: 900;
}

.onebit-timeline strong {
    margin-top: 7px;
    font-size: 14px;
}

.onebit-timeline p {
    margin: 7px 0 0;
    color: #69736e;
    font-size: 10px;
    line-height: 1.65;
}

.onebit-play-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
}

.onebit-play-grid > article {
    display: flex;
    min-height: 350px;
    flex-direction: column;
    border: 1px solid #dfe3df;
    border-radius: 11px;
    background: #fbfcfa;
    padding: 17px;
}

.onebit-play-grid small {
    display: block;
    margin-top: 16px;
    color: #8a938e;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.onebit-play-grid h3 {
    margin: 5px 0 0;
    font-size: 18px;
}

.onebit-play-grid ul {
    margin: 15px 0 0;
    padding-left: 17px;
    color: #58625d;
    font-size: 11px;
    line-height: 1.85;
}

.onebit-card-proof {
    margin: auto 0 0;
    border-top: 1px solid #e0e4df;
    padding-top: 13px;
    color: #6d7671;
    font-size: 10px;
    line-height: 1.6;
}

.onebit-card-proof b {
    color: #38413d;
}

.onebit-formula-card {
    display: grid;
    grid-template-columns: minmax(380px, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 28px;
    margin-top: 12px;
    border: 1px solid #dfc98d;
    border-radius: 11px;
    background: var(--onebit-gold-soft);
    padding: 18px 20px;
}

.onebit-formula-card span,
.onebit-formula-card strong {
    display: block;
}

.onebit-formula-card span {
    color: #84621e;
    font-size: 9px;
    font-weight: 900;
}

.onebit-formula-card strong {
    margin-top: 5px;
    color: #523b10;
    font-size: 15px;
    line-height: 1.55;
}

.onebit-formula-card p {
    margin: 0;
    border-left: 1px solid #d8bd7c;
    padding-left: 25px;
    color: #75653e;
    font-size: 11px;
    line-height: 1.7;
}

.onebit-model-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.onebit-table-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe3df;
    border-radius: 11px;
    background: #fff;
}

.onebit-table-card-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 17px;
}

.onebit-table-card-head span {
    color: #8b948f;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .05em;
}

.onebit-table-card-head h3 {
    margin: 4px 0 0;
    font-size: 16px;
}

.onebit-table-card-head > strong {
    color: var(--onebit-gold-dark);
    font-size: 12px;
    text-align: right;
}

.onebit-table-wrap,
.onebit-contract-table-wrap {
    overflow-x: auto;
}

.onebit-table-card table,
.onebit-contract-table {
    width: 100%;
    border-collapse: collapse;
}

.onebit-table-card th,
.onebit-table-card td,
.onebit-contract-table th,
.onebit-contract-table td {
    border-top: 1px solid #e4e7e3;
    padding: 10px 12px;
    font-size: 9px;
    text-align: left;
    white-space: nowrap;
}

.onebit-table-card th,
.onebit-contract-table th {
    color: #6c7571;
    background: #f6f7f5;
    font-weight: 900;
}

.onebit-table-card td,
.onebit-contract-table td {
    color: #424b47;
}

.onebit-control-summary,
.onebit-material-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.onebit-control-summary article:nth-child(3),
.onebit-control-summary article:nth-child(4) {
    border-color: #e4c3bc;
    background: #fff7f5;
}

.onebit-owner-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 11px;
    border: 1px solid #e1b9b1;
    border-radius: 10px;
    background: #fff5f2;
    padding: 14px 16px;
}

.onebit-owner-card + .onebit-owner-card {
    margin-top: 10px;
}

.onebit-owner-card span,
.onebit-owner-card code {
    display: block;
}

.onebit-owner-card span {
    color: #955347;
    font-size: 9px;
    font-weight: 900;
}

.onebit-owner-card code {
    margin-top: 5px;
    color: #452f2b;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.onebit-owner-card a {
    flex: 0 0 auto;
    color: #8d4034;
    font-size: 10px;
    font-weight: 900;
}

.onebit-contract-table-wrap {
    margin-top: 11px;
    border: 1px solid #dfe3df;
    border-radius: 10px;
}

.onebit-contract-table {
    min-width: 1180px;
}

.onebit-contract-table code {
    color: #34403a;
    font-size: 8px;
}

.onebit-contract-table a:hover code {
    color: var(--onebit-gold-dark);
    text-decoration: underline;
}

.onebit-source-badge {
    display: inline-flex;
    min-height: 23px;
    align-items: center;
    border-radius: 999px;
    padding: 0 7px;
    font-size: 8px;
    font-weight: 900;
}

.onebit-source-badge.is-yes {
    color: #126858;
    background: #e9f6f1;
}

.onebit-source-badge.is-no {
    color: #934337;
    background: #fff0ec;
}

.onebit-risk-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.onebit-risk-grid article {
    min-height: 168px;
    border: 1px solid #e3c3bd;
    border-radius: 10px;
    background: #fff7f5;
    padding: 16px;
}

.onebit-risk-grid span,
.onebit-risk-grid strong {
    display: block;
}

.onebit-risk-grid span {
    color: #9d493d;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .04em;
}

.onebit-risk-grid strong {
    margin-top: 11px;
    color: #472e2a;
    font-size: 15px;
    line-height: 1.45;
}

.onebit-risk-grid p {
    margin: 9px 0 0;
    color: #795d58;
    font-size: 10px;
    line-height: 1.65;
}

.onebit-gate-title {
    margin: 24px 0 11px;
    font-size: 17px;
}

.onebit-gate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.onebit-gate-grid li {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border: 1px solid #dfe3df;
    border-radius: 9px;
    background: #fbfcfa;
    padding: 11px 13px;
}

.onebit-gate-grid li > b {
    color: #c0a15f;
    font-size: 18px;
    font-weight: 900;
}

.onebit-gate-grid strong,
.onebit-gate-grid span {
    display: block;
}

.onebit-gate-grid strong {
    font-size: 11px;
}

.onebit-gate-grid span {
    margin-top: 3px;
    color: #6c7671;
    font-size: 9px;
    line-height: 1.5;
}

.onebit-monitor-card {
    display: grid;
    grid-template-columns: minmax(320px, .7fr) minmax(0, 1.3fr);
    gap: 28px;
    align-items: center;
    margin-top: 12px;
    border-radius: 11px;
    background: #222825;
    padding: 19px 21px;
    color: #edf3ef;
}

.onebit-monitor-card span,
.onebit-monitor-card strong {
    display: block;
}

.onebit-monitor-card span {
    color: #d8bd7e;
    font-size: 9px;
    font-weight: 900;
}

.onebit-monitor-card strong {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.5;
}

.onebit-monitor-card ul {
    margin: 0;
    padding-left: 17px;
    color: #b9c4bd;
    font-size: 10px;
    line-height: 1.75;
}

.onebit-material-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.onebit-evidence-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 11px;
}

.onebit-evidence-links a {
    display: block;
    border: 1px solid #dfe3df;
    border-radius: 9px;
    background: #fbfcfa;
    padding: 11px 12px;
}

.onebit-evidence-links a:hover {
    border-color: #cfb06a;
    background: #fffaf0;
}

.onebit-evidence-links span,
.onebit-evidence-links code {
    display: block;
}

.onebit-evidence-links span {
    color: #737c78;
    font-size: 9px;
    font-weight: 800;
}

.onebit-evidence-links code {
    margin-top: 6px;
    color: #303a35;
    font-size: 9px;
}

.onebit-document-block {
    margin-top: 12px;
    border: 1px solid #dfe3df;
    border-radius: 11px;
    background: #f8f9f7;
    padding: 16px;
}

.onebit-document-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.onebit-document-head h3 {
    margin: 0;
    font-size: 15px;
}

.onebit-document-head p {
    margin: 5px 0 0;
    color: #6e7773;
    font-size: 10px;
    line-height: 1.55;
}

.onebit-document-head button {
    min-height: 36px;
    flex: 0 0 auto;
    border: 1px solid #c9ad6e;
    border-radius: 7px;
    color: #6f4d12;
    background: #fff8e8;
    padding: 0 12px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 900;
}

.onebit-document-pages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.onebit-document-block.is-collapsed .onebit-document-page:nth-child(n+5) {
    display: none;
}

.onebit-document-page {
    overflow: hidden;
    margin: 0;
    border: 1px solid #dfe3df;
    border-radius: 8px;
    background: #fff;
}

.onebit-document-page a {
    display: block;
    overflow: hidden;
    aspect-ratio: .707;
    background: #ecefeb;
}

.onebit-document-page img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .25s ease;
}

.onebit-document-page a:hover img {
    transform: scale(1.025);
}

.onebit-document-page figcaption {
    border-top: 1px solid #e2e5e1;
    padding: 8px 10px;
    color: #6b7570;
    font-size: 9px;
}

.onebit-boundary-note {
    margin-top: 12px;
    border-left: 3px solid #949f99;
    background: #f2f4f1;
    padding: 13px 15px;
}

.onebit-boundary-note strong {
    color: #3c4641;
    font-size: 11px;
}

.onebit-boundary-note p {
    margin: 5px 0 0;
    color: #66706b;
    font-size: 10px;
    line-height: 1.65;
}

.onebit-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 4px 0;
    color: #727a76;
    font-size: 11px;
}

:focus-visible {
    outline: 3px solid rgba(181, 132, 44, .3);
    outline-offset: 2px;
}

@media (max-width: 980px) {
    .onebit-hero {
        grid-template-columns: 1fr;
    }

    .onebit-hero-copy {
        min-height: 0;
    }

    .onebit-snapshot {
        border-top: 1px solid var(--onebit-line);
        border-left: 0;
    }

    .onebit-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .onebit-feature-tags {
        max-width: none;
        justify-content: flex-start;
    }

    .onebit-referral-help {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .onebit-header-inner,
    .onebit-shell {
        width: min(100% - 18px, 1480px);
    }

    .onebit-header-inner {
        min-height: 58px;
    }

    .onebit-brand img {
        width: 78px;
    }

    .onebit-brand span,
    .onebit-header nav a:not(:last-child) {
        display: none;
    }

    .onebit-header nav {
        font-size: 11px;
    }

    .onebit-shell {
        padding-top: 10px;
    }

    .onebit-hero-copy,
    .onebit-snapshot {
        padding: 24px 18px;
    }

    .onebit-hero h1 {
        font-size: 54px;
    }

    .onebit-hero-copy > p {
        font-size: 13px;
    }

    .onebit-hero-actions {
        display: grid;
    }

    .onebit-snapshot-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .onebit-snapshot-head strong {
        max-width: none;
        text-align: left;
    }

    .onebit-stage-note {
        align-items: flex-start;
    }

    .onebit-referral-section {
        scroll-margin-top: 68px;
        padding: 12px 8px;
    }

    .onebit-section-heading {
        padding: 7px 6px 14px;
    }

    .onebit-section-heading h2 {
        font-size: 24px;
    }

    .onebit-feature-tags span:nth-child(n+4) {
        display: none;
    }

    .onebit-referral-help {
        margin: 0 6px 10px;
    }

    #onebitReferralTopology .rtw-shell.is-full-path-addresses.is-path-mode .rtw-path-step,
    #onebitReferralTopology .rtw-shell.is-full-path-addresses.is-path-mode .rtw-path-step.is-current {
        width: min(292px, calc(100vw - 76px));
        min-height: 76px;
    }

    #onebitReferralTopology .onebit-node-state {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    #onebitReferralTopology .onebit-node-state > span {
        grid-column: 1 / -1;
    }

    .onebit-footer {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 390px) {
    .onebit-kpis {
        grid-template-columns: 1fr;
    }

    .onebit-wallet-card > div {
        display: grid;
    }
}

/* Desktop fidelity corrections from reference comparison pass 1 */
html {
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
}

@media (min-width: 1181px) {
    .onebit-top-grid {
        grid-template-columns: minmax(0, 1fr) 379px;
    }

    .onebit-eyebrow {
        margin-bottom: 24px;
    }

    .onebit-briefing h1 {
        letter-spacing: -.01em;
        transform: scaleX(1.08);
        transform-origin: left center;
        word-spacing: .7em;
    }

    .onebit-briefing-rule {
        margin-top: 15px;
        line-height: 1.35;
    }

    .onebit-reasons-title {
        margin-top: 24px;
    }

    .onebit-hero-actions {
        margin-top: 21px;
        margin-bottom: 42px;
    }

    .onebit-button {
        min-width: 240px;
    }

    .onebit-button.is-primary {
        min-width: 330px;
    }

    .onebit-rail-block:nth-child(1) {
        min-height: 108px;
    }

    .onebit-rail-block:nth-child(2) {
        min-height: 108px;
    }

    .onebit-rail-block:nth-child(3) {
        min-height: 134px;
    }

    .onebit-rail-block:nth-child(4) {
        min-height: 176px;
        padding-top: 20px;
    }

    .onebit-rail-block:nth-child(5) {
        min-height: 132px;
        padding-top: 20px;
    }

    .onebit-rail-block:last-child {
        min-height: 280px;
    }

    .onebit-rail-metrics {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .onebit-rail-wallet code {
        max-width: 230px;
        font-size: 12px;
    }

    .onebit-register-head,
    .onebit-register-row {
        grid-template-columns: 150px 220px 110px minmax(230px, 1fr) 160px;
    }

    .onebit-register-head {
        min-height: 40px;
    }

    .onebit-register-tabs button {
        min-height: 30px;
    }

    .onebit-register-row {
        min-height: 58px;
    }
}

@media (max-width: 1180px) {
    .onebit-fact-grid,
    .onebit-play-grid,
    .onebit-risk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .onebit-play-grid > article {
        min-height: 305px;
    }

    .onebit-cutoff-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .onebit-document-pages {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .onebit-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }

    .onebit-risk-mark {
        margin: 0 0 17px;
    }

    .onebit-evidence-legend {
        max-width: none;
        justify-content: flex-start;
    }

    .onebit-conclusion-banner,
    .onebit-wallet-analysis,
    .onebit-formula-card,
    .onebit-monitor-card {
        grid-template-columns: 1fr;
    }

    .onebit-conclusion-banner p,
    .onebit-formula-card p {
        border-top: 1px solid rgba(255, 255, 255, .13);
        border-left: 0;
        padding: 18px 0 0;
    }

    .onebit-formula-card p {
        border-top-color: #d8bd7c;
    }

    .onebit-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .onebit-timeline::before {
        display: none;
    }

    .onebit-timeline li {
        border-top: 1px solid #dfe3df;
        padding: 24px 10px 6px 0;
    }

    .onebit-timeline li::before {
        top: -7px;
    }

    .onebit-model-grid {
        grid-template-columns: 1fr;
    }

    .onebit-evidence-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .onebit-hero-copy::after {
        right: -62px;
        bottom: -78px;
        width: 290px;
        opacity: .1;
    }

    .onebit-jump-nav {
        top: 65px;
        margin-right: -1px;
        margin-left: -1px;
    }

    .onebit-section {
        scroll-margin-top: 118px;
        padding: 18px 12px;
    }

    .onebit-section-heading {
        gap: 12px;
    }

    .onebit-conclusion-banner {
        gap: 18px;
        padding: 19px 17px;
    }

    .onebit-fact-grid,
    .onebit-risk-grid,
    .onebit-control-summary,
    .onebit-material-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .onebit-fact-card {
        min-height: 170px;
    }

    .onebit-cutoff-grid,
    .onebit-evidence-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .onebit-transaction-card dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .onebit-play-grid,
    .onebit-gate-grid {
        grid-template-columns: 1fr;
    }

    .onebit-play-grid > article {
        min-height: 0;
    }

    .onebit-card-proof {
        margin-top: 18px;
    }

    .onebit-formula-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
        padding: 16px;
    }

    .onebit-table-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .onebit-owner-card,
    .onebit-document-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .onebit-owner-card a,
    .onebit-document-head button {
        width: 100%;
    }

    .onebit-document-head button {
        justify-content: center;
    }

    .onebit-document-pages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .onebit-monitor-card {
        gap: 17px;
        padding: 17px;
    }
}

@media (max-width: 520px) {
    .onebit-fact-grid,
    .onebit-risk-grid,
    .onebit-control-summary,
    .onebit-material-summary,
    .onebit-wallet-results,
    .onebit-cutoff-grid,
    .onebit-evidence-links,
    .onebit-document-pages,
    .onebit-timeline {
        grid-template-columns: 1fr;
    }

    .onebit-fact-card,
    .onebit-risk-grid article {
        min-height: 0;
    }

    .onebit-title-row .onebit-risk-mark {
        margin-bottom: 14px;
    }
}

/* Evidence briefing redesign — selected Product Design direction 01 */
:root {
    --onebit-ink: #272a28;
    --onebit-muted: #666963;
    --onebit-line: #dedbd2;
    --onebit-paper: #fdfcf8;
    --onebit-canvas: #f8f6f0;
    --onebit-gold: #ae7917;
    --onebit-gold-dark: #725013;
    --onebit-gold-soft: #f5eddb;
    --onebit-green: #2f7d62;
    --onebit-red: #aa2f24;
    --onebit-red-soft: #fff2ef;
}

body {
    background: var(--onebit-canvas);
    line-height: 1.55;
}

.onebit-header {
    position: relative;
    border-color: var(--onebit-line);
    background: rgba(253, 252, 248, .96);
    backdrop-filter: blur(12px);
}

.onebit-header-inner,
.onebit-shell {
    width: min(1488px, 100%);
}

.onebit-header-inner {
    min-height: 62px;
    justify-content: flex-start;
    gap: 0;
    padding: 0 38px;
}

.onebit-brand {
    flex: 0 0 auto;
    padding-right: 20px;
}

.onebit-brand img {
    width: 104px;
}

.onebit-header-context {
    display: flex;
    align-items: center;
    gap: 13px;
    border-left: 1px solid var(--onebit-line);
    padding-left: 22px;
    color: #4a4c48;
    font-size: 14px;
}

.onebit-header-context i {
    color: #a39f96;
    font-style: normal;
}

.onebit-header-context strong {
    font-weight: 700;
    letter-spacing: .04em;
}

.onebit-header-update {
    margin-left: auto;
    color: #555753;
    font-size: 13px;
    font-weight: 700;
}

.onebit-shell {
    padding: 0 0 44px;
}

.onebit-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 348px;
    border-bottom: 1px solid var(--onebit-line);
    background: var(--onebit-paper);
}

.onebit-briefing {
    min-width: 0;
    border-right: 1px solid var(--onebit-line);
    padding: 33px 43px 36px;
}

.onebit-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: var(--onebit-gold-dark);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .06em;
}

.onebit-briefing h1 {
    margin: 0;
    color: var(--onebit-red);
    font-size: clamp(45px, 4.25vw, 64px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1.06;
}

.onebit-briefing-rule {
    margin: 13px 0 10px;
    color: #343633;
    font-size: clamp(21px, 2vw, 27px);
    font-weight: 850;
    letter-spacing: .02em;
}

.onebit-briefing-intro {
    max-width: 890px;
    margin: 0;
    color: #5f625d;
    font-size: 14px;
    line-height: 1.8;
}

.onebit-evidence-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    max-width: none;
    margin-top: 15px;
}

.onebit-evidence-legend span {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    gap: 7px;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 0 10px;
    background: transparent;
    font-size: 11px;
    font-weight: 800;
}

.onebit-evidence-legend .is-confirmed,
.onebit-register-row .is-confirmed,
.onebit-reason .is-confirmed {
    color: var(--onebit-green);
}

.onebit-evidence-legend .is-claimed,
.onebit-register-row .is-claimed,
.onebit-reason .is-claimed {
    color: #916515;
}

.onebit-evidence-legend .is-calculated {
    color: #35679a;
}

.onebit-evidence-legend .is-unverified,
.onebit-register-row .is-unverified,
.onebit-reason .is-unverified {
    color: var(--onebit-red);
}

.onebit-reasons-title {
    margin: 22px 0 9px;
    color: #333532;
    font-size: 16px;
    font-weight: 850;
}

.onebit-reason-list {
    overflow: hidden;
    border: 1px solid var(--onebit-line);
    border-radius: 6px;
    background: rgba(255, 255, 255, .34);
}

.onebit-reason + .onebit-reason {
    border-top: 1px solid var(--onebit-line);
}

.onebit-reason summary {
    display: grid;
    grid-template-columns: 28px 265px minmax(0, 1fr) 84px 14px;
    min-height: 54px;
    align-items: center;
    gap: 11px;
    padding: 8px 16px;
    cursor: pointer;
    list-style: none;
}

.onebit-reason summary::-webkit-details-marker {
    display: none;
}

.onebit-reason summary > i:first-child {
    color: var(--onebit-green);
    font-size: 18px;
    text-align: center;
}

.onebit-reason:nth-child(2) summary > i:first-child {
    color: var(--onebit-red);
}

.onebit-reason:nth-child(3) summary > i:first-child {
    color: var(--onebit-gold);
}

.onebit-reason summary strong {
    color: #343633;
    font-size: 14px;
    font-weight: 850;
}

.onebit-reason summary span {
    color: #6e716c;
    font-size: 12px;
}

.onebit-reason summary b {
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.onebit-reason summary > i:last-child {
    color: #8d8d88;
    font-size: 10px;
    transition: transform .2s ease;
}

.onebit-reason[open] summary > i:last-child {
    transform: rotate(180deg);
}

.onebit-reason > p {
    margin: 0;
    border-top: 1px solid #ebe8e0;
    padding: 11px 16px 13px 55px;
    background: #faf8f2;
    color: #60635e;
    font-size: 12px;
}

.onebit-reason > p a {
    margin-left: 8px;
    color: var(--onebit-gold-dark);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.onebit-hero-actions {
    display: flex;
    gap: 24px;
    margin: 25px 2px 29px;
}

.onebit-button {
    min-width: 245px;
    min-height: 53px;
    border-color: #c8c4ba;
    border-radius: 5px;
    background: transparent;
    color: #333633;
    font-size: 15px;
}

.onebit-button.is-primary {
    border-color: var(--onebit-gold);
    background: linear-gradient(135deg, #b78119, #a66d0d);
    box-shadow: 0 6px 16px rgba(137, 92, 9, .14);
}

.onebit-register {
    min-width: 0;
}

.onebit-register-heading {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.onebit-register-heading h2 {
    margin: 0;
    color: #343633;
    font-size: 16px;
    font-weight: 850;
}

.onebit-register-heading p {
    margin: 0;
    color: #99978f;
    font-size: 11px;
}

.onebit-register-tabs {
    display: flex;
    gap: 22px;
    margin-top: 10px;
    border-bottom: 1px solid var(--onebit-line);
}

.onebit-register-tabs button {
    position: relative;
    min-height: 38px;
    border: 0;
    background: transparent;
    padding: 0 3px;
    color: #777974;
    cursor: pointer;
    font-size: 12px;
}

.onebit-register-tabs button::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: transparent;
    content: "";
}

.onebit-register-tabs button.is-active {
    color: #2d302d;
    font-weight: 850;
}

.onebit-register-tabs button.is-active::after {
    background: var(--onebit-gold);
}

.onebit-register-table {
    min-width: 0;
}

.onebit-register-head,
.onebit-register-row {
    display: grid;
    grid-template-columns: 120px 210px 120px minmax(230px, 1fr) 145px;
    align-items: center;
    column-gap: 10px;
}

.onebit-register-head {
    min-height: 36px;
    border-bottom: 1px solid var(--onebit-line);
    color: #686b66;
    font-size: 11px;
    font-weight: 800;
}

.onebit-register-row {
    min-height: 53px;
    border-bottom: 1px solid #e7e4dc;
    color: #5e615c;
    font-size: 11px;
    transition: background .15s ease;
}

.onebit-register-row:hover {
    background: #faf7ee;
}

.onebit-register-row[hidden] {
    display: none;
}

.onebit-register-row > span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.onebit-register-row > span:first-child i {
    width: 18px;
    font-size: 16px;
    text-align: center;
}

.onebit-register-row .is-safe {
    color: var(--onebit-green);
}

.onebit-register-row .is-risk {
    color: var(--onebit-red);
}

.onebit-register-row .is-gold {
    color: var(--onebit-gold);
}

.onebit-register-row strong {
    color: #3e413d;
    font-size: 12px;
}

.onebit-register-row b {
    font-size: 11px;
}

.onebit-register-row time {
    color: #6d706a;
    text-align: right;
}

.onebit-briefing-rail {
    min-width: 0;
    background: #fbfaf6;
    padding: 16px 17px 18px;
}

.onebit-rail-block {
    border: 1px solid var(--onebit-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, .22);
    padding: 16px 17px;
}

.onebit-rail-block + .onebit-rail-block {
    border-top: 0;
    border-radius: 0;
}

.onebit-rail-block:first-child {
    border-radius: 7px 7px 0 0;
}

.onebit-rail-block:last-child {
    margin-top: 18px;
    border-top: 1px solid var(--onebit-line);
    border-radius: 7px;
}

.onebit-rail-block h2 {
    margin: 0 0 7px;
    color: #585b56;
    font-size: 12px;
    font-weight: 850;
}

.onebit-rail-block > p {
    margin: 5px 0 0;
    color: #5f625d;
    font-size: 11px;
}

.onebit-stage-live {
    display: block;
    color: var(--onebit-green);
    font-size: 15px;
}

.onebit-rail-wallet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
    gap: 7px;
}

.onebit-rail-wallet code {
    overflow-wrap: anywhere;
    color: #4e514d;
    font-size: 11px;
    line-height: 1.6;
}

.onebit-rail-wallet button,
.onebit-rail-link {
    min-width: 34px;
    min-height: 34px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #686b66;
    cursor: pointer;
}

.onebit-rail-wallet button:hover,
.onebit-rail-link:hover {
    background: #f0ede4;
    color: var(--onebit-gold-dark);
}

.onebit-rail-link {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 7px;
    margin-top: 5px;
    padding: 0;
    color: var(--onebit-gold-dark);
    font-size: 11px;
    font-weight: 800;
}

.onebit-rail-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

.onebit-rail-metrics div {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.onebit-rail-metrics strong {
    color: #252825;
    font-size: 20px;
    line-height: 1;
}

.onebit-rail-metrics span {
    color: #646761;
    font-size: 10px;
}

.onebit-rail-note {
    margin-top: 10px !important;
    color: #777a74 !important;
    line-height: 1.7;
}

.onebit-diligence-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 13px 0 0;
    padding: 0;
    list-style: none;
}

.onebit-diligence-steps li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 7px;
    color: #70736d;
    font-size: 9px;
}

.onebit-diligence-steps li::before {
    position: absolute;
    top: 9px;
    right: 50%;
    left: -50%;
    height: 1px;
    background: #d8d5cc;
    content: "";
}

.onebit-diligence-steps li:first-child::before {
    display: none;
}

.onebit-diligence-steps b {
    position: relative;
    z-index: 1;
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border-radius: 50%;
    background: #d3d0c8;
    color: #fff;
    font-size: 9px;
}

.onebit-diligence-steps .is-active b {
    background: var(--onebit-gold);
}

.onebit-diligence-steps .is-active span {
    color: #4a4d48;
    font-weight: 850;
}

.onebit-rail-timeline h2 small {
    color: #8b8d88;
    font-size: 9px;
    font-weight: 500;
}

.onebit-rail-timeline ol {
    margin: 11px 0 0;
    padding: 0;
    list-style: none;
}

.onebit-rail-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 80px;
    min-height: 48px;
    gap: 10px;
    padding: 0 0 13px 19px;
    color: #555853;
    font-size: 11px;
}

.onebit-rail-timeline li::before {
    position: absolute;
    top: 3px;
    left: 0;
    z-index: 1;
    width: 11px;
    height: 11px;
    border: 2px solid #b9b7b0;
    border-radius: 50%;
    background: #fbfaf6;
    content: "";
}

.onebit-rail-timeline li::after {
    position: absolute;
    top: 15px;
    bottom: -1px;
    left: 5px;
    width: 1px;
    background: #d8d5cc;
    content: "";
}

.onebit-rail-timeline li:last-child::after {
    display: none;
}

.onebit-rail-timeline li.is-done::before {
    border-color: var(--onebit-green);
    background: var(--onebit-green);
    box-shadow: inset 0 0 0 2px #fbfaf6;
}

.onebit-rail-timeline li.is-done span {
    color: var(--onebit-green);
    font-weight: 850;
}

.onebit-rail-timeline li.is-next::before {
    border-color: var(--onebit-gold);
}

.onebit-rail-timeline time {
    color: #777a74;
    font-size: 9px;
    text-align: right;
}

.onebit-jump-nav {
    position: sticky;
    top: 0;
    z-index: 45;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    border: 0;
    border-bottom: 1px solid var(--onebit-line);
    border-radius: 0;
    background: rgba(250, 248, 242, .96);
    padding: 0 34px;
    backdrop-filter: blur(12px);
    box-shadow: none;
    scrollbar-width: none;
}

.onebit-jump-nav::-webkit-scrollbar {
    display: none;
}

.onebit-jump-nav a {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 12px;
    color: #666963;
    font-size: 11px;
}

.onebit-section,
.onebit-referral-section {
    width: min(1360px, calc(100% - 72px));
    margin: 0 auto;
    scroll-margin-top: 58px;
    border: 0;
    border-bottom: 1px solid var(--onebit-line);
    border-radius: 0;
    background: transparent;
    padding: 48px 0;
    box-shadow: none;
}

.onebit-section-heading {
    align-items: flex-end;
    border: 0;
    padding: 0 0 21px;
}

.onebit-section-heading > div:first-child > span {
    color: var(--onebit-gold-dark);
}

.onebit-section-heading h2 {
    margin-top: 6px;
    font-size: clamp(27px, 2.6vw, 38px);
    letter-spacing: -.035em;
}

.onebit-section-heading p {
    max-width: 800px;
    color: var(--onebit-muted);
}

.onebit-section-badge,
.onebit-feature-tags span {
    border-radius: 999px;
    box-shadow: none;
}

.onebit-wallet-analysis,
.onebit-formula-card,
.onebit-monitor-card,
.onebit-conclusion-banner {
    border-radius: 5px;
    box-shadow: none;
}

.onebit-wallet-results article,
.onebit-play-grid > article,
.onebit-risk-grid article,
.onebit-control-summary article,
.onebit-material-summary article,
.onebit-gate-grid li,
.onebit-evidence-links a,
.onebit-document-page {
    border-radius: 3px;
    box-shadow: none;
}

.onebit-referral-section {
    width: min(1420px, calc(100% - 40px));
    padding-right: 12px;
    padding-left: 12px;
}

.onebit-referral-help,
.onebit-referral-placeholder,
#onebitReferralTopology {
    border-radius: 5px;
}

.onebit-footer {
    width: min(1360px, calc(100% - 72px));
    margin: 0 auto;
    color: #777a74;
}

@media (max-width: 1180px) {
    .onebit-top-grid {
        grid-template-columns: minmax(0, 1fr) 330px;
    }

    .onebit-briefing {
        padding-right: 28px;
        padding-left: 28px;
    }

    .onebit-reason summary {
        grid-template-columns: 26px 215px minmax(0, 1fr) 78px 12px;
        gap: 8px;
    }

    .onebit-register-head,
    .onebit-register-row {
        grid-template-columns: 100px 180px 100px minmax(190px, 1fr) 126px;
    }
}

@media (max-width: 1020px) {
    .onebit-top-grid {
        grid-template-columns: 1fr;
    }

    .onebit-briefing {
        border-right: 0;
    }

    .onebit-briefing-rail {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        border-top: 1px solid var(--onebit-line);
        padding: 22px 28px 28px;
    }

    .onebit-rail-block,
    .onebit-rail-block + .onebit-rail-block,
    .onebit-rail-block:first-child,
    .onebit-rail-block:last-child {
        margin: 0;
        border: 1px solid var(--onebit-line);
        border-radius: 6px;
    }
}

@media (max-width: 760px) {
    .onebit-header-inner,
    .onebit-shell {
        width: 100%;
    }

    .onebit-header-inner {
        min-height: 58px;
        padding: 0 15px;
    }

    .onebit-brand {
        padding-right: 11px;
    }

    .onebit-brand img {
        width: 78px;
    }

    .onebit-header-context {
        gap: 7px;
        padding-left: 11px;
        font-size: 11px;
    }

    .onebit-header-context span {
        font-size: 0;
    }

    .onebit-header-context span::after {
        content: "尽调";
        font-size: 11px;
    }

    .onebit-header-update {
        display: none;
    }

    .onebit-shell {
        padding-top: 0;
    }

    .onebit-briefing {
        padding: 26px 17px 30px;
    }

    .onebit-eyebrow {
        margin-bottom: 10px;
        font-size: 10px;
    }

    .onebit-briefing h1 {
        font-size: clamp(39px, 12vw, 50px);
        line-height: 1.08;
    }

    .onebit-briefing-rule {
        margin-top: 11px;
        font-size: 19px;
        line-height: 1.42;
    }

    .onebit-briefing-intro {
        font-size: 13px;
        line-height: 1.75;
    }

    .onebit-evidence-legend {
        gap: 7px;
    }

    .onebit-evidence-legend span {
        min-height: 31px;
    }

    .onebit-reasons-title {
        margin-top: 24px;
    }

    .onebit-reason summary {
        grid-template-columns: 24px minmax(0, 1fr) 14px;
        gap: 4px 10px;
        min-height: 0;
        padding: 13px 12px;
    }

    .onebit-reason summary > i:first-child {
        grid-row: 1 / span 3;
        align-self: start;
        padding-top: 2px;
    }

    .onebit-reason summary strong,
    .onebit-reason summary span,
    .onebit-reason summary b {
        grid-column: 2;
    }

    .onebit-reason summary span {
        line-height: 1.65;
    }

    .onebit-reason summary b {
        justify-self: start;
    }

    .onebit-reason summary > i:last-child {
        grid-column: 3;
        grid-row: 1 / span 3;
        align-self: center;
    }

    .onebit-reason > p {
        padding: 12px 14px;
        line-height: 1.7;
    }

    .onebit-hero-actions {
        display: grid;
        gap: 10px;
        margin: 20px 0 27px;
    }

    .onebit-button {
        width: 100%;
        min-width: 0;
        min-height: 50px;
    }

    .onebit-register-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .onebit-register-tabs {
        gap: 16px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .onebit-register-tabs::-webkit-scrollbar {
        display: none;
    }

    .onebit-register-tabs button {
        flex: 0 0 auto;
        min-height: 44px;
    }

    .onebit-register-head {
        display: none;
    }

    .onebit-register-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 4px 10px;
        min-height: 0;
        padding: 13px 2px;
    }

    .onebit-register-row > :nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .onebit-register-row > :nth-child(2) {
        grid-column: 1;
        grid-row: 2;
        padding-left: 28px;
    }

    .onebit-register-row > :nth-child(3) {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
    }

    .onebit-register-row > :nth-child(4) {
        grid-column: 1 / -1;
        grid-row: 3;
        padding-left: 28px;
        line-height: 1.6;
    }

    .onebit-register-row > :nth-child(5) {
        grid-column: 1 / -1;
        grid-row: 4;
        padding-left: 28px;
        text-align: left;
    }

    .onebit-briefing-rail {
        grid-template-columns: 1fr;
        padding: 17px;
    }

    .onebit-rail-wallet button,
    .onebit-rail-link {
        min-height: 44px;
    }

    .onebit-jump-nav {
        top: 0;
        padding: 0 6px;
    }

    .onebit-jump-nav a {
        min-height: 48px;
        padding: 0 11px;
    }

    .onebit-section,
    .onebit-referral-section {
        width: calc(100% - 28px);
        scroll-margin-top: 58px;
        padding: 35px 0;
    }

    .onebit-section-heading {
        align-items: flex-start;
        padding: 0 0 17px;
    }

    .onebit-section-heading h2 {
        font-size: 27px;
    }

    .onebit-section-heading p {
        font-size: 13px;
        line-height: 1.7;
    }

    .onebit-referral-section {
        width: calc(100% - 14px);
        padding-right: 4px;
        padding-left: 4px;
    }

    .onebit-footer {
        width: calc(100% - 28px);
    }
}

@media (max-width: 390px) {
    .onebit-briefing h1 {
        font-size: 39px;
    }

    .onebit-rail-metrics {
        gap: 13px;
    }
}

/* Final desktop alignment — intentionally last in cascade */
html {
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
}

@media (min-width: 1181px) {
    .onebit-top-grid {
        grid-template-columns: minmax(0, 1fr) 379px;
    }

    .onebit-eyebrow {
        margin-bottom: 24px;
    }

    .onebit-briefing h1 {
        letter-spacing: -.01em;
        transform: scaleX(1.08);
        transform-origin: left center;
        word-spacing: .7em;
    }

    .onebit-briefing-rule {
        margin-top: 15px;
        line-height: 1.35;
    }

    .onebit-reasons-title {
        margin-top: 24px;
    }

    .onebit-hero-actions {
        margin-top: 21px;
        margin-bottom: 42px;
    }

    .onebit-button {
        min-width: 240px;
    }

    .onebit-button.is-primary {
        min-width: 330px;
    }

    .onebit-rail-block:nth-child(1) {
        min-height: 108px;
    }

    .onebit-rail-block:nth-child(2) {
        min-height: 108px;
    }

    .onebit-rail-block:nth-child(3) {
        min-height: 134px;
    }

    .onebit-rail-block:nth-child(4) {
        min-height: 176px;
        padding-top: 20px;
    }

    .onebit-rail-block:nth-child(5) {
        min-height: 132px;
        padding-top: 20px;
    }

    .onebit-rail-block:last-child {
        min-height: 280px;
    }

    .onebit-rail-metrics {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .onebit-rail-wallet code {
        max-width: 230px;
        font-size: 13px;
    }

    .onebit-rail-block h2 {
        font-size: 14px;
    }

    .onebit-rail-block > p,
    .onebit-rail-timeline li {
        font-size: 13px;
    }

    .onebit-stage-live {
        font-size: 16px;
    }

    .onebit-rail-metrics strong {
        font-size: 22px;
    }

    .onebit-rail-metrics span {
        font-size: 12.5px;
    }

    .onebit-rail-note {
        font-size: 12px !important;
    }

    .onebit-diligence-steps li {
        font-size: 11.5px;
    }

    .onebit-rail-timeline time {
        font-size: 10.5px;
    }

    .onebit-reason summary strong {
        font-size: 15px;
    }

    .onebit-reason summary span {
        font-size: 12.5px;
    }

    .onebit-register-head,
    .onebit-register-row {
        grid-template-columns: 150px 220px 110px minmax(230px, 1fr) 160px;
    }

    .onebit-register-head {
        min-height: 40px;
    }

    .onebit-register-tabs button {
        min-height: 30px;
    }

    .onebit-register-row {
        min-height: 58px;
        font-size: 12px;
    }

    .onebit-register-row strong {
        font-size: 12.5px;
    }
}

@media (max-width: 760px) {
    .onebit-register-tabs button {
        min-width: 44px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .onebit-rail-wallet {
        grid-template-columns: minmax(0, 1fr) 44px;
    }

    .onebit-rail-wallet button {
        min-width: 44px;
    }
}

/* Objective project-data presentation — aligned with the 财神道专区 */
:root {
    --onebit-canvas: #f5f6f4;
    --onebit-gold: #a97922;
    --onebit-gold-dark: #725018;
    --onebit-red: #8a6341;
    --onebit-red-deep: #6f5137;
    --onebit-red-soft: #f6f0e7;
}

body {
    background: var(--onebit-canvas);
}

.onebit-shell {
    width: min(1220px, calc(100% - 36px));
    padding-top: 28px;
}

.onebit-header-inner {
    width: min(1220px, calc(100% - 36px));
}

.onebit-header-context span {
    color: #505853;
}

.onebit-header-context i {
    color: #c5c9c5;
}

.onebit-top-grid {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 0;
    overflow: hidden;
    border: 1px solid #dfe2de;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(35, 40, 36, .04);
}

.onebit-briefing {
    position: relative;
    min-height: 700px;
    border: 0;
    border-radius: 0;
    padding: 52px 54px 44px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .9)),
        url("../../onebit/home-hero.png") right 16% center / 54% auto no-repeat;
}

.onebit-briefing h1 {
    max-width: none;
    margin: 11px 0 4px;
    color: #161916;
    font-size: clamp(58px, 6.2vw, 88px);
    line-height: .98;
    letter-spacing: -.07em;
}

.onebit-briefing h1 em {
    color: var(--onebit-gold);
    font-style: normal;
}

.onebit-briefing-rule {
    margin-top: 12px;
    color: var(--onebit-gold-dark);
    font-size: 16px;
    letter-spacing: .01em;
}

.onebit-briefing-intro {
    max-width: 690px;
    margin-top: 14px;
    color: #5d655f;
    font-size: 14px;
    line-height: 1.9;
}

.onebit-evidence-legend {
    margin-top: 20px;
}

.onebit-evidence-legend span,
.onebit-register-tabs button {
    border-color: #dedfdc;
    background: #fafbf9;
}

.onebit-evidence-legend .is-unverified {
    border-color: #e4d6c1;
    color: #7a5a33;
    background: #faf6ef;
}

.onebit-reasons-title {
    margin-top: 30px;
    color: #242824;
    font-size: 20px;
}

.onebit-reason-list {
    border-color: #e0e2de;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
}

.onebit-reason summary > i:first-child {
    color: var(--onebit-gold);
}

.onebit-reason summary b.is-unverified {
    color: #73542d;
}

.onebit-button.is-primary {
    border-color: var(--onebit-gold);
    background: var(--onebit-gold);
}

.onebit-register {
    margin-top: 32px;
    border-top-color: #e2e3e0;
}

.onebit-register-row strong,
.onebit-register-row .is-risk {
    color: #3f4641;
}

.onebit-register-row b.is-unverified {
    color: #73542d;
    background: #f6efe5;
}

.onebit-briefing-rail {
    border: 0;
    border-left: 1px solid #e0e2de;
    border-radius: 0;
    background: #fbfcfa;
}

.onebit-briefing-rail .onebit-rail-block:last-child {
    min-height: 0;
}

.onebit-rail-timeline li {
    grid-template-columns: minmax(0, 1fr) 86px;
    min-height: 42px;
    padding: 8px 0 8px 22px;
}

.onebit-rail-timeline li::before {
    top: 14px;
}

.onebit-rail-timeline li::after {
    top: 25px;
}

.onebit-rail-timeline li span {
    line-height: 1.45;
}

.onebit-rail-timeline li time {
    line-height: 1.45;
}

.onebit-stage-live {
    color: #47695f;
}

.onebit-stage-live i,
.onebit-rail-timeline li.is-done::before {
    color: #769187;
}

.onebit-diligence-steps li.is-active b,
.onebit-jump-nav a:hover,
.onebit-jump-nav a:focus-visible {
    color: #fff;
    background: var(--onebit-gold);
}

.onebit-jump-nav {
    margin-top: 14px;
    border: 1px solid #dfe2de;
    border-radius: 8px;
    background: #fff;
}

.onebit-section,
.onebit-referral-section {
    margin-top: 14px;
    border: 1px solid #dfe2de;
    border-radius: 8px;
    background: #fff;
}

.onebit-section-badge.is-danger {
    border-color: #ded8cf;
    color: #665847;
    background: #f7f4ef;
}

.onebit-risk-grid article {
    border-color: #e1e2df;
    background: #fbfcfa;
}

.onebit-risk-grid article::before {
    background: var(--onebit-gold);
}

.onebit-risk-grid article > span,
.onebit-risk-grid article strong {
    color: #3f4641;
}

.onebit-owner-card {
    border-color: #dfd8ca;
    background: #faf7f0;
}

.onebit-monitor-card {
    border-color: #d9ded9;
    background: #f7f9f6;
}

@media (min-width: 1181px) {
    .onebit-top-grid {
        grid-template-columns: minmax(0, 1fr) 350px;
    }

    .onebit-briefing h1 {
        letter-spacing: -.07em;
        word-spacing: 0;
        transform: none;
    }

    .onebit-button.is-primary {
        min-width: 220px;
    }

    .onebit-briefing-rail {
        padding-top: 25px;
    }

    .onebit-rail-block:last-child {
        min-height: 0;
    }
}

@media (max-width: 980px) {
    .onebit-top-grid {
        grid-template-columns: 1fr;
    }

    .onebit-briefing {
        min-height: 0;
        padding: 42px 34px 38px;
    }

    .onebit-briefing-rail {
        border-top: 1px solid #e0e2de;
        border-left: 0;
    }
}

@media (max-width: 620px) {
    .onebit-shell,
    .onebit-header-inner {
        width: min(100% - 20px, 1220px);
    }

    .onebit-briefing {
        padding: 34px 20px 30px;
        background: #fff;
    }

    .onebit-briefing h1 {
        font-size: 48px;
    }

    .onebit-briefing-rule {
        font-size: 14px;
    }

    .onebit-briefing-intro {
        font-size: 13px;
    }

    .onebit-header-context span::after {
        content: "数据中心";
    }
}

/* ONE BIT referral workbench: shared XDAO structure with page-scoped color tokens. */

#onebitReferralTopology .rtw-shell {
    --bg: #f5f4ef;
    --panel: #ffffff;
    --panel-strong: #ffffff;
    --panel-soft: #faf8f2;
    --line: #dedbd2;
    --line-soft: #e8e5dd;
    --text: #202522;
    --muted: #717771;
    --cyan: #b5842c;
    --green: #48675d;
    --gold: #b5842c;
    --red: #8f5146;
    --blue: #65766f;
    --violet: #8a744d;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

#onebitReferralTopology .rtw-panel,
#onebitReferralTopology .rtw-node,
#onebitReferralTopology .rtw-inspector,
#onebitReferralTopology .rtw-minimap {
    border-radius: 8px;
    box-shadow: none;
}

#onebitReferralTopology .rtw-shell.is-theme-light .rtw-toolbar {
    border-color: #1d211f;
    border-radius: 8px;
    background: #1d211f;
}

#onebitReferralTopology .rtw-shell.is-theme-light .rtw-search,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-field {
    border-color: #b9b4a8;
}

#onebitReferralTopology .rtw-shell.is-theme-light [data-rtw-search-button] {
    border-color: #8b641e;
    color: #fff;
    background: #8b641e;
}

#onebitReferralTopology .rtw-shell.is-theme-light [data-rtw-search-button]:hover,
#onebitReferralTopology .rtw-shell.is-theme-light [data-rtw-search-button]:focus-visible {
    border-color: #8b641e;
    background: #8b641e;
}

#onebitReferralTopology .rtw-shell.is-theme-light .rtw-button,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-icon-button,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-chip-button,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-tab {
    border-color: #d0cbc0;
    border-radius: 7px;
    color: #3d423e;
    background: #fff;
}

#onebitReferralTopology .rtw-shell.is-theme-light .rtw-button:hover,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-button:focus-visible,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-icon-button:hover,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-icon-button:focus-visible,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-tab:hover,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-tab:focus-visible {
    border-color: #b5842c;
    color: #67480f;
    background: #faf4e6;
}

#onebitReferralTopology .rtw-shell.is-theme-light .rtw-button.is-primary,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-chip-button.is-active,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-tab.is-active,
#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-actions .rtw-button.is-primary {
    border-color: #8b641e;
    color: #fff;
    background: #8b641e;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-canvas-drill {
    border-color: #d8d4ca;
    background: #f8f7f3;
    box-shadow: none;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-path {
    border-color: #ded9cd;
    background: #f1eee6;
    scrollbar-color: #b5842c #e7e2d6;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step {
    border-color: #d2cdc2;
    color: #353a36;
    background: #fff;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step:hover,
#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step:focus-visible {
    border-color: #b5842c;
    background: #fcf7ec;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step.is-current {
    border-color: #b5842c;
    color: #3b2b0c;
    background: #f6e7bf;
    box-shadow: inset 4px 0 0 #b5842c;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step.is-compressed {
    border-color: #b5842c;
    color: #6d4d13;
    background: #faf4e6;
}

#onebitReferralTopology .rtw-path-step:not(:last-child)::after {
    background: #c9b37f;
}

#onebitReferralTopology .rtw-path-step:not(:last-child)::before {
    border-color: #b5842c;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-dot,
#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step.is-current .rtw-path-dot {
    border-color: #cdbf9e;
    color: #7a5513;
    background: #fffaf0;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-focus {
    border-color: #d2c49f;
    border-left-color: #b5842c;
    background: #faf6ed;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-areas:
        "ownPurchase ownPurchase direct teamPurchase teamPurchase teamPurchase"
        "teamBuyers teamBuyers teamBuyers teamSize teamSize teamSize"
        "scope scope scope scope scope scope";
    gap: 8px;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamBuyers"] {
    grid-area: teamBuyers;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-drill-metric {
    min-height: 58px;
    border-color: #dedbd2;
    border-radius: 8px;
    background: #fff;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="ownPurchase"] strong,
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamPurchase"] strong,
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamBuyers"] strong {
    color: #78571b;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-metric-scope-note {
    border-color: #dedbd2;
    color: #6d6048;
    background: #f8f4e9;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-areas: none;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="ownPurchase"] { grid-column: 1; }
#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="direct"] { grid-column: 2; }
#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamPurchase"] { grid-column: 3 / span 2; }
#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamBuyers"] { grid-column: 5; }
#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamSize"] { grid-column: 6; }

#onebitReferralTopology .rtw-shell.is-theme-light .rtw-status,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-type-pill {
    border-color: #ddcfad;
    color: #715018;
    background: #fbf6ea;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-metric,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-drill-child-stats span,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-drill-child-summary,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-drill-more,
#onebitReferralTopology .rtw-shell.is-theme-light .rtw-drill-structure {
    border-color: #dedbd2;
    background: #fff;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-child {
    border-color: #d8d4ca;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-child:hover,
#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-child:focus-visible {
    border-color: #b5842c;
    background: #fcf8ee;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-child.is-primary {
    border-color: #c2a864;
    background: #f8f0dc;
}

#onebitReferralTopology .rtw-shell.is-theme-light .rtw-drill-child-action {
    border-color: #d2c49f;
    color: #745015;
    background: #fffaf0;
}

#onebitReferralTopology .rtw-inline-node-details {
    border-bottom-color: #dedbd2;
    background: #faf8f2;
}

#onebitReferralTopology .rtw-inline-node-field {
    border-color: #e1ddd4;
    background: #fff;
}

#onebitReferralTopology .rtw-copy-address,
#onebitReferralTopology .rtw-inline-node-link {
    color: #7d5918;
}

#onebitReferralTopology .rtw-focus-ring,
#onebitReferralTopology :focus-visible {
    outline-color: #b5842c;
}

@media (max-width: 700px) {
    .onebit-referral-section .onebit-section-heading {
        gap: 12px;
    }

    .onebit-referral-section .onebit-feature-tags {
        display: flex;
        max-width: none;
        justify-content: flex-start;
    }

    .onebit-referral-section .onebit-feature-tags span:nth-child(n + 4) {
        display: none;
    }

    #onebitReferralTopology .rtw-shell.is-full-path-addresses.is-path-mode .rtw-path-step,
    #onebitReferralTopology .rtw-shell.is-full-path-addresses.is-path-mode .rtw-path-step.is-current {
        width: min(320px, calc(100vw - 78px));
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-areas:
            "ownPurchase direct"
            "teamPurchase teamPurchase"
            "teamBuyers teamSize"
            "scope scope" !important;
        gap: 0 !important;
        overflow: hidden;
        border: 1px solid #dedbd2;
        border-radius: 10px;
        background: #fff;
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-drill-metric {
        min-height: 54px;
        border: 0;
        border-right: 1px solid #e4e0d7;
        border-bottom: 1px solid #e4e0d7;
        border-radius: 0;
        background: transparent;
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="direct"],
    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamPurchase"],
    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamSize"] {
        border-right: 0;
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-metric-scope-note {
        border: 0;
        border-radius: 0;
        background: #f8f4e9;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-areas: none !important;
        gap: 4px !important;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="ownPurchase"] { grid-column: 1 !important; grid-row: 1 !important; }
    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="direct"] { grid-column: 2 !important; grid-row: 1 !important; }
    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamPurchase"] { grid-column: 1 / -1 !important; grid-row: 2 !important; }
    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamBuyers"] { grid-column: 1 !important; grid-row: 3 !important; }
    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamSize"] { grid-column: 2 !important; grid-row: 3 !important; }
}

/* ONE BIT referral · card / market-maker split, same-block chain metrics. */
.onebit-performance-toolbar {
    display: grid;
    grid-template-columns: minmax(380px, .88fr) minmax(320px, 1.12fr);
    align-items: stretch;
    gap: 12px;
    margin: 0 0 14px;
    padding: 10px;
    border: 1px solid #dfe5e2;
    border-radius: 16px;
    background: #f7f9f8;
}

.onebit-performance-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.onebit-performance-tabs button {
    display: flex;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    border: 1px solid #d9dfdc;
    border-radius: 12px;
    color: #4f5b55;
    background: #fff;
    padding: 9px 12px;
    text-align: left;
    cursor: pointer;
}

.onebit-performance-tabs button i {
    display: inline-grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 9px;
    color: #7b8580;
    background: #eff2f0;
}

.onebit-performance-tabs button span {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.onebit-performance-tabs button b {
    color: #25312b;
    font-size: 13px;
    font-weight: 950;
}

.onebit-performance-tabs button small {
    overflow: hidden;
    color: #7a847f;
    font-size: 10px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.onebit-performance-tabs button.is-active {
    border-color: #1f7662;
    color: #fff;
    background: linear-gradient(135deg, #174f43, #237a65);
    box-shadow: 0 8px 20px rgba(25, 103, 84, .16);
}

.onebit-performance-tabs button[data-onebit-performance-view="card"].is-active {
    border-color: #a96f0b;
    background: linear-gradient(135deg, #8c5b0b, #bc811b);
    box-shadow: 0 8px 20px rgba(146, 94, 9, .16);
}

.onebit-performance-tabs button.is-active i {
    color: #fff;
    background: rgba(255, 255, 255, .16);
}

.onebit-performance-tabs button.is-active b,
.onebit-performance-tabs button.is-active small {
    color: #fff;
}

.onebit-performance-source {
    display: grid;
    align-content: center;
    gap: 5px;
    border-left: 1px solid #dde3e0;
    padding: 4px 8px 4px 16px;
}

.onebit-performance-source > span {
    color: #26342e;
    font-size: 13px;
    font-weight: 900;
}

.onebit-performance-source small {
    color: #728079;
    font-size: 10px;
    font-weight: 700;
}

#onebitReferralTopology .onebit-node-state {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 10px 18px 13px;
}

#onebitReferralTopology .onebit-node-address {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

#onebitReferralTopology .onebit-node-address > span {
    color: #8a5b0b;
    font-size: 10px;
    font-weight: 900;
}

#onebitReferralTopology .onebit-node-ledger {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #e2e7e4;
    border-radius: 10px;
    background: #fff;
}

#onebitReferralTopology .onebit-node-ledger > span {
    display: grid;
    min-width: 0;
    min-height: 48px;
    align-content: center;
    gap: 3px;
    padding: 7px 9px;
    border-right: 1px solid #e2e7e4;
}

#onebitReferralTopology .onebit-node-ledger > span:last-child {
    border-right: 0;
}

#onebitReferralTopology .onebit-node-ledger small {
    color: #78827d;
    font-size: 9px;
    font-weight: 800;
}

#onebitReferralTopology .onebit-node-ledger strong {
    overflow: hidden;
    color: #26322c;
    font-size: 11px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.onebit-referral-section[data-onebit-performance="marketMaker"] #onebitReferralTopology {
    --onebit-node-gold: #16816c;
    --onebit-node-gold-dark: #0d6655;
    --onebit-node-gold-soft: #e8f7f3;
    --onebit-node-green: #174f43;
    --onebit-node-green-soft: #eef7f4;
    --onebit-node-line: #d6e5e0;
}

.onebit-referral-section[data-onebit-performance="marketMaker"] #onebitReferralTopology .rtw-shell.is-theme-light [data-rtw-search-button],
.onebit-referral-section[data-onebit-performance="marketMaker"] #onebitReferralTopology .rtw-current-layer-state {
    border-color: #146654;
    background: #176e5b;
}

.onebit-referral-section[data-onebit-performance="marketMaker"] #onebitReferralTopology .onebit-node-state {
    border-top-color: #d8e7e2;
    background: #f4faf8;
}

.onebit-referral-section[data-onebit-performance="marketMaker"] #onebitReferralTopology .onebit-node-address > span,
.onebit-referral-section[data-onebit-performance="marketMaker"] #onebitReferralTopology .onebit-node-state a {
    color: #126451;
}

.onebit-referral-section[data-onebit-performance="marketMaker"] #onebitReferralTopology .onebit-node-ledger {
    border-color: #d5e7e1;
    background: #fbfefd;
}

@media (max-width: 760px) {
    .onebit-performance-toolbar {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
        margin-inline: 2px;
        padding: 8px;
        border-radius: 14px;
    }

    .onebit-performance-tabs button {
        min-height: 55px;
        gap: 7px;
        padding: 8px;
    }

    .onebit-performance-tabs button i {
        width: 27px;
        height: 27px;
    }

    .onebit-performance-source {
        border-top: 1px solid #dde3e0;
        border-left: 0;
        padding: 8px 5px 4px;
    }

    #onebitReferralTopology .onebit-node-state {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        padding: 10px 12px 12px;
    }

    #onebitReferralTopology .onebit-node-address {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px 9px;
    }

    #onebitReferralTopology .onebit-node-address > span { grid-column: 1; grid-row: 1; }
    #onebitReferralTopology .onebit-node-address code { grid-column: 1 / -1; grid-row: 2; }
    #onebitReferralTopology .onebit-node-address a { grid-column: 2; grid-row: 1; }

    #onebitReferralTopology .onebit-node-ledger {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #onebitReferralTopology .onebit-node-ledger > span {
        min-height: 45px;
        border-right: 1px solid #e2e7e4;
        border-bottom: 1px solid #e2e7e4;
    }

    #onebitReferralTopology .onebit-node-ledger > span:nth-child(2n) { border-right: 0; }
    #onebitReferralTopology .onebit-node-ledger > span:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ========================================================================== */
/* ONE BIT XDAO-quality redesign · 2026-08-14                                */
/* ========================================================================== */

:root {
    --onebit-ink: #111311;
    --onebit-muted: #656b66;
    --onebit-line: #e4dfd6;
    --onebit-paper: #ffffff;
    --onebit-canvas: #f3f1ed;
    --onebit-gold: #c18a22;
    --onebit-gold-bright: #e1ae45;
    --onebit-gold-dark: #745012;
    --onebit-gold-soft: #fbf3df;
    --onebit-green: #17836f;
    --onebit-dark: #15171b;
    --onebit-dark-raised: #23262d;
    --onebit-shadow: 0 22px 60px rgba(27, 24, 18, .08);
}

body {
    min-width: 320px;
    color: var(--onebit-ink);
    background: var(--onebit-canvas);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url("../../onebit/home-hero.png");
    background-position: calc(100% + 280px) -320px;
    background-repeat: no-repeat;
    background-size: 760px;
    content: "";
    opacity: .035;
    pointer-events: none;
}

.onebit-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border: 0;
    background: rgba(243, 241, 237, .92);
    padding: 12px 0 0;
    backdrop-filter: blur(18px);
}

.onebit-header-inner,
.onebit-shell {
    width: min(1240px, calc(100% - 36px));
    margin-inline: auto;
}

.onebit-header-inner {
    min-height: 66px;
    border: 1px solid rgba(17, 19, 17, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    padding: 8px 12px 8px 16px;
    box-shadow: 0 12px 35px rgba(25, 22, 17, .08);
}

.onebit-header-back {
    display: none;
}

.onebit-brand {
    min-width: 340px;
    gap: 12px;
}

.onebit-brand img {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    object-fit: cover;
}

.onebit-brand span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border-left: 1px solid #e7e1d8;
    padding-left: 12px;
    line-height: 1.2;
}

.onebit-brand strong {
    overflow: hidden;
    color: #20231f;
    font-size: 15px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.onebit-brand small {
    overflow: hidden;
    margin-top: 4px;
    color: #936817;
    font-size: 10px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.onebit-header nav {
    gap: 8px;
}

.onebit-header nav a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #e6e3dd;
    border-radius: 999px;
    background: #fff;
    padding: 0 15px;
    color: #2e332f;
    font-size: 12px;
    font-weight: 800;
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.onebit-header nav a:hover,
.onebit-header nav a:focus-visible {
    border-color: #cba45f;
    color: #745012;
    transform: translateY(-1px);
}

.onebit-header nav a.is-primary {
    border-color: #b77c12;
    color: #fff;
    background: #b77c12;
}

.onebit-header nav a.is-primary:hover,
.onebit-header nav a.is-primary:focus-visible {
    border-color: #8d5c08;
    color: #fff;
    background: #8d5c08;
}

.onebit-shell {
    padding: 0 0 54px;
}

.onebit-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(480px, .92fr);
    min-height: 612px;
    overflow: hidden;
    margin-top: -1px;
    border: 0;
    border-radius: 0 0 30px 30px;
    background: #fff;
    box-shadow: var(--onebit-shadow);
}

.onebit-hero-copy {
    min-height: 612px;
    justify-content: center;
    overflow: visible;
    padding: 64px 72px;
    background: #fff;
}

.onebit-hero-copy::after {
    display: none;
}

.onebit-live-pill {
    display: inline-flex;
    width: fit-content;
    min-height: 34px;
    align-items: center;
    gap: 8px;
    border: 1px solid #ecd9ae;
    border-radius: 999px;
    color: #8b5b08;
    background: #fff7e7;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 900;
}

.onebit-live-pill i {
    color: #2bb38c;
    font-size: 7px;
    box-shadow: 0 0 0 5px rgba(43, 179, 140, .12);
}

.onebit-hero h1 {
    margin: 28px 0 0;
    color: #111411;
    font-family: Inter, "Arial Black", "PingFang SC", sans-serif;
    font-size: clamp(70px, 7.4vw, 112px);
    font-weight: 950;
    line-height: .86;
    letter-spacing: -.08em;
}

.onebit-hero h1 em {
    color: var(--onebit-gold);
}

.onebit-hero-rule {
    margin: 18px 0 20px !important;
    color: #b67812 !important;
    font-size: clamp(24px, 2.5vw, 38px) !important;
    font-weight: 950;
    line-height: 1.15 !important;
    letter-spacing: -.04em;
}

.onebit-hero-copy > p:not(.onebit-hero-rule) {
    max-width: 590px;
    color: #5f6762;
    font-size: 15px;
    line-height: 1.9;
}

.onebit-status-list {
    margin-top: 24px;
}

.onebit-status-list span {
    min-height: 36px;
    border-color: #e6e1d9;
    background: #fff;
    padding: 0 12px;
    color: #545c57;
    font-size: 11px;
}

.onebit-status-list span.is-live {
    border-color: #bfe7dc;
    color: #0f755f;
    background: #edfbf6;
}

.onebit-hero-actions {
    display: grid;
    max-width: 565px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.onebit-button {
    min-height: 50px;
    border-color: #d9d7d2;
    border-radius: 999px;
    color: #262b27;
    background: #fff;
    box-shadow: 0 8px 20px rgba(25, 22, 16, .05);
    font-size: 12px;
}

.onebit-button.is-primary {
    border-color: #b77c12;
    background: #b77c12;
    box-shadow: 0 12px 24px rgba(183, 124, 18, .22);
}

.onebit-button:hover,
.onebit-button:focus-visible {
    border-color: #b77c12;
    color: #784f08;
}

.onebit-button.is-primary:hover,
.onebit-button.is-primary:focus-visible {
    color: #fff;
    background: #93620c;
}

.onebit-official-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    color: #68706c;
    font-size: 11px;
    font-weight: 800;
}

.onebit-official-link:hover,
.onebit-official-link:focus-visible {
    color: #80550c;
}

.onebit-hero-visual {
    position: relative;
    min-width: 0;
    min-height: 612px;
    overflow: hidden;
    margin: 0;
    background: var(--onebit-dark);
}

.onebit-hero-visual > img {
    position: absolute;
    inset: 55px 46px 42px;
    width: calc(100% - 92px);
    height: calc(100% - 97px);
    border-radius: 28px;
    background: #fff;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 28px 64px rgba(0, 0, 0, .32);
}

.onebit-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.onebit-visual-stat {
    position: absolute;
    z-index: 3;
    min-width: 190px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    color: #fff;
    background: rgba(21, 23, 27, .94);
    padding: 15px 18px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .24);
}

.onebit-visual-stat.is-top {
    top: 26px;
    left: 24px;
}

.onebit-visual-stat.is-bottom {
    right: 22px;
    bottom: 26px;
}

.onebit-visual-stat span,
.onebit-visual-stat strong {
    display: block;
}

.onebit-visual-stat > span {
    color: #9fa7a2;
    font-size: 10px;
    font-weight: 800;
}

.onebit-visual-stat strong {
    margin-top: 4px;
    color: #fff4d8;
    font-size: 24px;
    line-height: 1.15;
}

.onebit-observer-card {
    position: absolute;
    bottom: 26px;
    left: 24px;
    z-index: 4;
    display: grid;
    width: min(310px, calc(100% - 236px));
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(21, 23, 27, .94);
    padding: 12px 12px 12px 15px;
}

.onebit-observer-card > span {
    grid-column: 1 / -1;
    color: #aab1ad;
    font-size: 9px;
    font-weight: 800;
}

.onebit-observer-card code {
    overflow: hidden;
    color: #fff3d0;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.onebit-observer-card button {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    border: 0;
    color: #e6bd69;
    background: transparent;
    cursor: pointer;
}

.onebit-live-board {
    scroll-margin-top: 92px;
    overflow: hidden;
    margin-top: 18px;
    border-radius: 30px;
    color: #fff;
    background: var(--onebit-dark);
    padding: 40px;
    box-shadow: 0 26px 65px rgba(18, 17, 15, .15);
}

.onebit-board-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.onebit-board-heading > div:first-child > span,
.onebit-panel-title > div > span {
    color: var(--onebit-gold-bright);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}

.onebit-board-heading h2 {
    margin: 9px 0 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -.05em;
}

.onebit-board-heading p {
    margin: 9px 0 0;
    color: #a7ada9;
    font-size: 12px;
}

.onebit-data-stamp {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    color: #c9cecb;
    background: rgba(255, 255, 255, .06);
    padding: 13px 16px;
    font-size: 10px;
    font-weight: 800;
}

.onebit-board-primary {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
    gap: 12px;
    margin-top: 28px;
}

.onebit-total-card,
.onebit-phase-card {
    min-height: 210px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 24px;
    padding: 28px;
}

.onebit-total-card {
    background: var(--onebit-dark-raised);
}

.onebit-total-card > span,
.onebit-phase-card > span {
    color: #b3bab6;
    font-size: 11px;
    font-weight: 800;
}

.onebit-total-card > strong {
    display: block;
    margin-top: 22px;
    font-size: clamp(48px, 6.7vw, 86px);
    line-height: .86;
    letter-spacing: -.07em;
}

.onebit-total-card > strong small {
    margin-left: 7px;
    color: var(--onebit-gold-bright);
    font-size: 15px;
    letter-spacing: 0;
}

.onebit-total-card p,
.onebit-phase-card p {
    margin: 17px 0 0;
    color: #8f9792;
    font-size: 11px;
}

.onebit-phase-card {
    background: #392b22;
}

.onebit-phase-card > strong {
    display: block;
    max-width: 260px;
    margin-top: 14px;
    color: #fff5df;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.onebit-phase-card > div {
    margin-top: 19px;
    border-radius: 13px;
    color: #e8c98d;
    background: rgba(0, 0, 0, .2);
    padding: 12px 14px;
}

.onebit-phase-card > div b,
.onebit-phase-card > div time {
    display: block;
}

.onebit-phase-card > div b {
    font-size: 9px;
}

.onebit-phase-card > div time {
    margin-top: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.onebit-board-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.onebit-board-kpis article {
    min-height: 128px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    background: rgba(255, 255, 255, .045);
    padding: 18px;
}

.onebit-board-kpis span,
.onebit-board-kpis strong,
.onebit-board-kpis small {
    display: block;
}

.onebit-board-kpis > article > span {
    min-height: 28px;
    color: #919995;
    font-size: 10px;
    font-weight: 700;
}

.onebit-board-kpis strong {
    margin-top: 8px;
    color: #fff;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -.04em;
}

.onebit-board-kpis strong small {
    display: inline;
    color: #dcb55f;
    font-size: 10px;
}

.onebit-board-kpis > article > small {
    margin-top: 10px;
    color: #707874;
    font-size: 9px;
}

.onebit-tier-flow-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.onebit-tier-panel,
.onebit-flow-panel {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 22px;
    background: rgba(255, 255, 255, .035);
    padding: 22px;
}

.onebit-panel-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.onebit-panel-title h3 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 21px;
    letter-spacing: -.03em;
}

.onebit-panel-title > b {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    color: #d7dad8;
    background: rgba(255, 255, 255, .06);
    padding: 8px 11px;
    font-size: 9px;
}

.onebit-tier-row {
    display: grid;
    grid-template-columns: 100px minmax(80px, 1fr) 116px;
    gap: 14px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 15px 0;
}

.onebit-tier-row > span b,
.onebit-tier-row > span small,
.onebit-tier-row > strong,
.onebit-tier-row > strong small {
    display: block;
}

.onebit-tier-row > span b {
    color: #fff;
    font-size: 13px;
}

.onebit-tier-row > span small,
.onebit-tier-row > strong small {
    margin-top: 4px;
    color: #858e89;
    font-size: 9px;
}

.onebit-tier-row > div {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
}

.onebit-tier-row > div i {
    display: block;
    width: var(--tier-share);
    height: 100%;
    border-radius: inherit;
    background: var(--onebit-gold-bright);
}

.onebit-tier-row > strong {
    color: #f7d88f;
    font-size: 14px;
    text-align: right;
}

.onebit-flow-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(225, 174, 69, .28);
    border-radius: 14px;
    color: #dac38e;
    background: rgba(193, 138, 34, .09);
    padding: 14px 16px;
    font-size: 10px;
}

.onebit-flow-total strong {
    color: #fff4da;
    font-size: 18px;
}

.onebit-flow-arrow {
    height: 26px;
    color: #8d9490;
    text-align: center;
    line-height: 26px;
}

.onebit-flow-split {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 8px;
}

.onebit-flow-split > div {
    min-height: 82px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 13px;
    background: rgba(255, 255, 255, .04);
    padding: 13px;
}

.onebit-flow-split > div.is-safe {
    border-color: rgba(50, 180, 145, .22);
    background: rgba(29, 135, 105, .09);
}

.onebit-flow-split span,
.onebit-flow-split strong {
    display: block;
}

.onebit-flow-split span {
    min-height: 26px;
    color: #8c9590;
    font-size: 9px;
}

.onebit-flow-split strong {
    margin-top: 8px;
    color: #fff;
    font-size: 15px;
}

.onebit-flow-panel > p {
    margin: 13px 0 0;
    color: #8d9591;
    font-size: 9px;
    line-height: 1.6;
}

.onebit-flow-panel > p i {
    margin-right: 4px;
    color: #d4ad5b;
}

.onebit-flow-panel > p b {
    color: #d9ddd9;
}

.onebit-board-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 15px;
    color: #8c9490;
    background: rgba(255, 255, 255, .035);
    padding: 14px 16px;
    font-size: 9px;
}

.onebit-board-footer i {
    margin-right: 6px;
    color: #c99a41;
}

.onebit-board-footer b {
    color: #e5e8e6;
}

.onebit-section,
.onebit-referral-section {
    scroll-margin-top: 92px;
    margin-top: 18px;
    border: 0;
    border-radius: 30px;
    background: var(--onebit-paper);
    padding: 40px;
    box-shadow: var(--onebit-shadow);
}

.onebit-section-heading {
    align-items: center;
    gap: 28px;
    padding: 0 0 24px;
}

.onebit-section-heading > div:first-child > span {
    color: #ae7411;
    font-size: 10px;
}

.onebit-section-heading h2 {
    margin-top: 8px;
    color: #121512;
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.08;
    letter-spacing: -.05em;
}

.onebit-section-heading p {
    max-width: 760px;
    margin-top: 10px;
    color: #69706b;
    font-size: 12px;
    line-height: 1.75;
}

.onebit-section-badge,
.onebit-feature-tags span {
    border-color: #ead8b2;
    color: #85570a;
    background: #fff7e8;
}

.onebit-evidence-section {
    overflow: hidden;
}

.onebit-evidence-section .onebit-evidence-legend {
    max-width: 420px;
}

.onebit-register {
    margin-top: 0;
    border: 1px solid #e7e2d9;
    border-radius: 20px;
    background: #fbfaf8;
    padding: 0;
}

.onebit-register-tabs {
    gap: 7px;
    border-bottom: 1px solid #e8e3db;
    background: #f6f4f0;
    padding: 11px 13px;
}

.onebit-register-tabs button {
    min-height: 34px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    padding: 0 13px;
    color: #737873;
    font-size: 10px;
    font-weight: 900;
}

.onebit-register-tabs button:hover,
.onebit-register-tabs button:focus-visible {
    border-color: #d8c390;
    color: #7a520d;
}

.onebit-register-tabs button.is-active {
    border-color: #b77c12;
    color: #fff;
    background: #b77c12;
}

.onebit-register-table {
    padding: 0 14px 12px;
}

.onebit-register-head,
.onebit-register-row {
    grid-template-columns: 92px minmax(180px, .85fr) 92px minmax(300px, 1.4fr) 126px;
}

.onebit-register-head {
    border-bottom-color: #e8e3da;
    padding: 12px 10px;
    color: #909590;
}

.onebit-register-row {
    min-height: 72px;
    border-bottom-color: #ebe6de;
    border-radius: 10px;
    padding: 12px 10px;
}

.onebit-register-row:hover,
.onebit-register-row:focus-visible {
    background: #fff7e7;
}

.onebit-register-row > strong {
    color: #20241f;
}

.onebit-timeline,
.onebit-play-grid,
.onebit-risk-grid,
.onebit-material-summary,
.onebit-control-summary,
.onebit-model-grid,
.onebit-gate-grid {
    gap: 12px;
}

.onebit-timeline li,
.onebit-play-grid article,
.onebit-risk-grid article,
.onebit-material-summary article,
.onebit-control-summary article,
.onebit-table-card,
.onebit-owner-card,
.onebit-monitor-card,
.onebit-formula-card,
.onebit-boundary-note {
    border-color: #e7e2d9;
    border-radius: 18px;
    background: #fbfaf8;
}

.onebit-timeline li.is-done {
    border-color: #cce4dc;
    background: #f3fbf8;
}

.onebit-play-grid article,
.onebit-risk-grid article {
    min-height: 0;
}

.onebit-contract-table-wrap,
.onebit-table-wrap {
    border-color: #e5e0d7;
    border-radius: 16px;
}

.onebit-contract-table thead,
.onebit-table-card thead {
    background: #f2efe9;
}

.onebit-referral-section {
    padding: 40px;
}

.onebit-referral-section .onebit-section-heading {
    min-height: 112px;
}

.onebit-referral-help {
    margin: 0 0 16px;
    border: 1px solid #eadfca;
    border-left: 4px solid #b77c12;
    border-radius: 12px;
    background: #fbf8f2;
    padding: 12px 14px;
}

#onebitReferralTopology .rtw-shell.is-theme-light {
    --rtw-accent: #b77c12;
    --rtw-accent-strong: #8e5e09;
    border: 1px solid #ded8cf;
    border-radius: 22px;
    background: #fff;
    box-shadow: none;
}

#onebitReferralTopology .rtw-shell.is-theme-light .rtw-search {
    border: 7px solid #20231f;
    border-radius: 18px;
    background: #20231f;
    box-shadow: 0 12px 26px rgba(31, 34, 31, .12);
}

#onebitReferralTopology .rtw-shell.is-theme-light [data-rtw-search-button] {
    border-radius: 10px;
    background: #b77c12;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-canvas-drill {
    border-radius: 18px;
    background: #fbfaf7;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-focus {
    border-color: #dfc88f;
    border-left-color: #b77c12;
    border-radius: 16px;
    background: #fff9ea;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-child {
    border-radius: 14px;
}

.onebit-document-block {
    border-color: #e5e0d8;
    border-radius: 18px;
}

@media (min-width: 901px) {
    .onebit-contract-table {
        min-width: 0;
        table-layout: fixed;
    }

    .onebit-contract-table th,
    .onebit-contract-table td {
        vertical-align: middle;
        white-space: normal;
    }

    .onebit-contract-table th:nth-child(1) { width: 12%; }
    .onebit-contract-table th:nth-child(2) { width: 27%; }
    .onebit-contract-table th:nth-child(3) { width: 27%; }
    .onebit-contract-table th:nth-child(4) { width: 11%; }
    .onebit-contract-table th:nth-child(5) { width: 23%; }

    .onebit-contract-table code {
        font-size: 9px;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }
}

/* ========================================================================== */
/* ONE BIT horizontal section system · CloverOS reference · 2026-08-20       */
/* ========================================================================== */

.onebit-shell {
    width: min(1280px, calc(100% - 40px));
}

.onebit-live-board {
    margin-top: 22px;
}

.onebit-live-board,
.onebit-section,
.onebit-referral-section {
    width: 100%;
}

#funds.onebit-live-board {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.onebit-section,
.onebit-referral-section {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid #dedbd3;
    border-radius: 18px;
    background: #fffdfa;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(42, 38, 30, .045);
}

.onebit-board-heading,
.onebit-section-heading,
.onebit-referral-section .onebit-section-heading {
    padding: 0 0 15px;
}

.onebit-section-heading,
.onebit-referral-section .onebit-section-heading {
    margin-bottom: 12px;
    border-bottom: 1px solid #eeeae2;
}

.onebit-board-heading h2 {
    font-size: clamp(28px, 3vw, 36px);
}

.onebit-section-heading h2 {
    font-size: clamp(24px, 2.35vw, 30px);
}

.onebit-core-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.onebit-product-overview {
    display: grid;
    grid-template-columns: 210px 255px minmax(0, 1fr);
    grid-template-areas:
        "head total kpis"
        "head subhead subhead"
        "head detail detail"
        "head foot foot";
    gap: 10px 14px;
    min-height: 0;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 5px 18px rgba(62, 50, 29, .04);
}

.onebit-product-overview.is-card {
    background: #fffdf8;
}

.onebit-product-overview.is-market-maker {
    background: #fbfefc;
}

.onebit-product-overview::before {
    inset: 0 auto 0 0;
    width: 4px;
    height: auto;
}

.onebit-product-head {
    grid-area: head;
    min-width: 0;
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    border-right: 1px solid #ebe6dc;
    padding: 8px 20px 8px 4px;
}

.onebit-product-overview.is-market-maker .onebit-product-head {
    border-right-color: #dce9e4;
}

.onebit-product-head > i {
    order: -1;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 50%;
}

.onebit-product-head h3 {
    font-size: 23px;
}

.onebit-product-head p {
    max-width: 170px;
    font-size: 10px;
    line-height: 1.6;
}

.onebit-product-total {
    grid-area: total;
    min-width: 0;
    margin: 0;
    border: 1px solid #e9e4da;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
}

.onebit-product-overview.is-market-maker .onebit-product-total {
    border-color: #dce9e4;
}

.onebit-product-total > strong {
    margin-top: 10px;
    font-size: clamp(32px, 3vw, 44px);
}

.onebit-product-kpis {
    grid-area: kpis;
    align-self: stretch;
    margin: 0;
}

.onebit-product-kpis > span {
    display: flex;
    min-height: 82px;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.onebit-product-subhead {
    grid-area: subhead;
    margin: 2px 0 0;
}

.onebit-product-tier-list,
.onebit-mm-term-grid {
    grid-area: detail;
    margin: 0;
}

.onebit-product-tier-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.onebit-product-tier-list > div {
    grid-template-columns: 76px minmax(54px, 1fr) 104px;
    min-height: 62px;
    border: 1px solid #ebe5d9;
    border-radius: 11px;
    background: #fff;
    padding: 8px 10px;
}

.onebit-mm-term-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.onebit-mm-term-grid > div {
    min-height: 76px;
    background: #fff;
}

.onebit-product-funds,
.onebit-mm-daily {
    grid-area: foot;
    margin: 0;
}

.onebit-product-funds > span,
.onebit-mm-daily > span {
    min-height: 62px;
    background: #fff;
}

.onebit-network-strip,
.onebit-treasury-panel,
.onebit-board-footer {
    box-shadow: 0 5px 18px rgba(42, 38, 30, .04);
}

.onebit-network-strip {
    background: #fffdfa;
}

.onebit-treasury-panel {
    background: #fffdfa;
}

.onebit-register,
.onebit-contract-table-wrap,
.onebit-performance-toolbar,
#onebitReferralTopology .rtw-shell.is-theme-light,
.onebit-document-block {
    border-radius: 12px;
    box-shadow: none;
}

@media (max-width: 1000px) {
    .onebit-product-overview {
        grid-template-columns: 170px 225px minmax(0, 1fr);
    }

    .onebit-product-tier-list > div {
        grid-template-columns: 68px minmax(40px, 1fr) 84px;
        gap: 7px;
    }

    .onebit-mm-term-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 560px) and (max-width: 760px) {
    .onebit-product-overview {
        grid-template-columns: 128px minmax(0, 1fr);
        grid-template-areas:
            "head total"
            "head kpis"
            "head subhead"
            "head detail"
            "head foot";
    }

    .onebit-product-head {
        align-self: stretch;
        flex-direction: column;
        justify-content: flex-start;
        border-right: 1px solid #ebe6dc;
        border-bottom: 0;
        padding: 4px 14px 4px 0;
    }

    .onebit-product-overview.is-market-maker .onebit-product-head {
        border-right: 1px solid #dce9e4;
        border-bottom: 0;
    }

    .onebit-product-head > i {
        order: -1;
        margin: 0 0 14px;
    }
}

@media (max-width: 760px) {
    .onebit-shell {
        width: calc(100% - 20px);
    }

    .onebit-section,
    .onebit-referral-section {
        margin-top: 12px;
        border-radius: 16px;
        padding: 14px;
    }

    .onebit-board-heading,
    .onebit-section-heading,
    .onebit-referral-section .onebit-section-heading {
        padding-bottom: 13px;
    }

    .onebit-section-heading,
    .onebit-referral-section .onebit-section-heading {
        margin-bottom: 10px;
    }

    .onebit-product-overview {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "total"
            "kpis"
            "subhead"
            "detail"
            "foot";
        gap: 10px;
        border-radius: 16px;
        padding: 16px;
    }

    .onebit-product-head {
        flex-direction: row;
        justify-content: space-between;
        border-right: 0;
        border-bottom: 1px solid #ebe6dc;
        padding: 2px 0 14px;
    }

    .onebit-product-overview.is-market-maker .onebit-product-head {
        border-right: 0;
        border-bottom-color: #dce9e4;
    }

    .onebit-product-head > i {
        order: 0;
        width: 42px;
        height: 42px;
        margin: 0;
    }

    .onebit-product-total {
        padding: 13px;
    }

    .onebit-product-total > strong {
        font-size: 36px;
    }

    .onebit-product-kpis > span {
        min-height: 70px;
    }

    .onebit-product-tier-list {
        display: block;
    }

    .onebit-product-tier-list > div {
        margin-top: 8px;
    }

    .onebit-mm-term-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.onebit-footer {
    margin-top: 18px;
    border-radius: 18px;
    background: #ece9e3;
    padding: 16px 20px;
}

@media (max-width: 1100px) {
    .onebit-brand {
        min-width: 285px;
    }

    .onebit-brand img {
        width: 105px;
    }

    .onebit-header nav a {
        padding-inline: 12px;
    }

    .onebit-header nav a:first-child {
        display: none;
    }

    .onebit-hero {
        grid-template-columns: minmax(0, 1fr) minmax(400px, .82fr);
    }

    .onebit-hero-copy {
        padding-inline: 48px;
    }

    .onebit-board-kpis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .onebit-board-kpis article:nth-child(n + 4) {
        grid-column: span 1;
    }

    .onebit-register-head,
    .onebit-register-row {
        grid-template-columns: 82px minmax(160px, .85fr) 84px minmax(240px, 1.35fr) 116px;
    }
}

@media (max-width: 900px) {
    .onebit-header-inner {
        flex-wrap: wrap;
        gap: 6px;
        padding: 8px;
    }

    .onebit-brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .onebit-header nav {
        width: 100%;
        overflow-x: auto;
        padding-top: 5px;
        scrollbar-width: none;
    }

    .onebit-header nav::-webkit-scrollbar {
        display: none;
    }

    .onebit-header nav a {
        flex: 0 0 auto;
    }

    .onebit-hero {
        grid-template-columns: 1fr;
    }

    .onebit-hero-copy {
        min-height: 560px;
    }

    .onebit-hero-visual {
        min-height: 560px;
    }

    .onebit-board-primary,
    .onebit-tier-flow-grid {
        grid-template-columns: 1fr;
    }

    .onebit-register-table {
        overflow-x: auto;
    }

    .onebit-register-head,
    .onebit-register-row {
        width: 920px;
    }
}

@media (max-width: 700px) {
    body::before {
        display: none;
    }

    .onebit-header {
        padding-top: 8px;
    }

    .onebit-header-inner,
    .onebit-shell {
        width: calc(100% - 16px);
    }

    .onebit-header-inner {
        min-height: 104px;
        border-radius: 18px;
        padding: 7px;
    }

    .onebit-header-back {
        display: inline-flex;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        align-items: center;
        justify-content: center;
        border: 1px solid #e7e2da;
        border-radius: 13px;
        color: #5b625d;
        background: #f8f6f2;
    }

    .onebit-brand {
        gap: 7px;
    }

    .onebit-brand img {
        width: 86px;
        height: 34px;
    }

    .onebit-brand span {
        padding-left: 8px;
    }

    .onebit-brand strong {
        font-size: 12px;
    }

    .onebit-brand small {
        font-size: 8px;
    }

    .onebit-header nav {
        gap: 4px;
        padding: 0;
    }

    .onebit-header nav a,
    .onebit-header nav a:first-child {
        display: inline-flex;
        min-height: 38px;
        padding-inline: 12px;
        font-size: 10px;
    }

    .onebit-header nav a:first-child {
        display: none;
    }

    .onebit-header nav a:not(:last-child) {
        display: inline-flex;
    }

    .onebit-header nav a:first-child {
        display: none;
    }

    .onebit-shell {
        padding-bottom: 24px;
    }

    .onebit-hero {
        display: grid;
        grid-template-columns: 1fr;
        min-height: 0;
        overflow: hidden;
        margin-top: 12px;
        border-radius: 24px;
    }

    .onebit-hero-copy {
        min-height: 0;
        padding: 30px 20px 27px;
    }

    .onebit-live-pill {
        min-height: 30px;
        padding-inline: 10px;
        font-size: 9px;
    }

    .onebit-hero h1 {
        margin-top: 23px;
        font-size: 56px;
        letter-spacing: -.075em;
    }

    .onebit-hero-rule {
        margin: 15px 0 15px !important;
        font-size: 24px !important;
    }

    .onebit-hero-copy > p:not(.onebit-hero-rule) {
        font-size: 12px;
        line-height: 1.75;
    }

    .onebit-status-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-top: 19px;
    }

    .onebit-status-list span {
        min-height: 34px;
        justify-content: center;
        padding: 0 8px;
        font-size: 9px;
        text-align: center;
    }

    .onebit-status-list span:last-child {
        grid-column: 1 / -1;
    }

    .onebit-hero-actions {
        gap: 7px;
        margin-top: 20px;
    }

    .onebit-button {
        min-height: 44px;
        padding-inline: 10px;
        font-size: 10px;
    }

    .onebit-official-link {
        margin-top: 16px;
        font-size: 10px;
    }

    .onebit-hero-visual {
        min-height: 390px;
    }

    .onebit-hero-visual > img {
        inset: 20px 14px 66px;
        width: calc(100% - 28px);
        height: calc(100% - 86px);
        border-radius: 18px;
    }

    .onebit-visual-stat {
        min-width: 138px;
        border-radius: 13px;
        padding: 10px 12px;
    }

    .onebit-visual-stat.is-top {
        top: 10px;
        left: 10px;
    }

    .onebit-visual-stat.is-bottom {
        right: 10px;
        bottom: 10px;
    }

    .onebit-visual-stat > span {
        font-size: 8px;
    }

    .onebit-visual-stat strong {
        font-size: 18px;
    }

    .onebit-observer-card {
        bottom: 10px;
        left: 10px;
        width: calc(100% - 166px);
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) 24px;
        padding: 9px 9px 9px 11px;
    }

    .onebit-observer-card > span,
    .onebit-observer-card code {
        font-size: 8px;
    }

    .onebit-live-board {
        scroll-margin-top: 120px;
        margin-top: 12px;
        border-radius: 24px;
        padding: 17px;
    }

    .onebit-board-heading {
        align-items: flex-start;
        gap: 12px;
    }

    .onebit-board-heading h2 {
        margin-top: 5px;
        font-size: 23px;
    }

    .onebit-board-heading p {
        display: none;
    }

    .onebit-data-stamp {
        max-width: 134px;
        overflow: hidden;
        border: 0;
        background: transparent;
        padding: 2px 0;
        color: #848c87;
        font-size: 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .onebit-board-primary {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
        gap: 8px;
        margin-top: 17px;
    }

    .onebit-total-card,
    .onebit-phase-card {
        min-height: 205px;
        border-radius: 19px;
        padding: 16px;
    }

    .onebit-total-card > strong {
        margin-top: 40px;
        font-size: 38px;
        line-height: .92;
    }

    .onebit-total-card > strong small {
        display: block;
        margin: 8px 0 0;
        font-size: 10px;
    }

    .onebit-total-card p {
        margin-top: 13px;
        font-size: 9px;
    }

    .onebit-phase-card > strong {
        margin-top: 15px;
        font-size: 23px;
    }

    .onebit-phase-card p {
        font-size: 9px;
        line-height: 1.5;
    }

    .onebit-phase-card > div {
        margin-top: 16px;
        padding: 10px;
    }

    .onebit-phase-card > div time {
        font-size: 10px;
        line-height: 1.5;
    }

    .onebit-board-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-top: 8px;
    }

    .onebit-board-kpis article {
        min-height: 112px;
        border-radius: 15px;
        padding: 14px;
    }

    .onebit-board-kpis article:last-child {
        grid-column: 1 / -1;
        min-height: 88px;
    }

    .onebit-board-kpis > article > span {
        min-height: 24px;
        font-size: 9px;
    }

    .onebit-board-kpis strong {
        font-size: 24px;
    }

    .onebit-tier-flow-grid {
        gap: 8px;
        margin-top: 8px;
    }

    .onebit-tier-panel,
    .onebit-flow-panel {
        border-radius: 18px;
        padding: 16px;
    }

    .onebit-panel-title h3 {
        font-size: 18px;
    }

    .onebit-tier-row {
        grid-template-columns: 74px minmax(60px, 1fr) 92px;
        gap: 9px;
        padding: 13px 0;
    }

    .onebit-tier-row > span b,
    .onebit-tier-row > strong {
        font-size: 11px;
    }

    .onebit-flow-split {
        grid-template-columns: 1fr;
    }

    .onebit-flow-split > div {
        display: flex;
        min-height: 56px;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 11px 12px;
    }

    .onebit-flow-split span {
        min-height: 0;
    }

    .onebit-flow-split strong {
        flex: 0 0 auto;
        margin: 0;
    }

    .onebit-board-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        margin-top: 8px;
        border-radius: 14px;
        padding: 12px;
        line-height: 1.45;
    }

    .onebit-section,
    .onebit-referral-section {
        scroll-margin-top: 120px;
        margin-top: 12px;
        border-radius: 24px;
        padding: 20px 15px;
    }

    .onebit-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 18px;
    }

    .onebit-section-heading h2 {
        margin-top: 6px;
        font-size: 27px;
        line-height: 1.12;
    }

    .onebit-section-heading p {
        margin-top: 8px;
        font-size: 11px;
    }

    .onebit-evidence-section .onebit-evidence-legend {
        max-width: none;
        justify-content: flex-start;
    }

    .onebit-register {
        border-radius: 17px;
    }

    .onebit-register-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 9px;
        scrollbar-width: none;
    }

    .onebit-register-tabs::-webkit-scrollbar {
        display: none;
    }

    .onebit-register-tabs button {
        flex: 0 0 auto;
    }

    .onebit-register-table {
        padding: 0 9px 9px;
    }

    .onebit-register-head {
        display: none;
    }

    .onebit-register-row,
    .onebit-register-head {
        width: auto;
    }

    .onebit-register-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
        min-height: 0;
        padding: 14px 8px;
    }

    .onebit-register-row > span:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    .onebit-register-row > strong {
        grid-column: 1;
        grid-row: 2;
        font-size: 13px;
    }

    .onebit-register-row > b {
        grid-column: 2;
        grid-row: 1;
    }

    .onebit-register-row > span:nth-of-type(2) {
        grid-column: 1 / -1;
        grid-row: 3;
        font-size: 10px;
        line-height: 1.6;
    }

    .onebit-register-row > time {
        grid-column: 2;
        grid-row: 2;
        align-self: center;
        font-size: 8px;
    }

    .onebit-timeline,
    .onebit-model-grid {
        grid-template-columns: 1fr;
    }

    .onebit-play-grid,
    .onebit-risk-grid,
    .onebit-material-summary,
    .onebit-control-summary {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        margin-right: -15px;
        padding: 0 15px 6px 0;
        scroll-padding-left: 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .onebit-play-grid::-webkit-scrollbar,
    .onebit-risk-grid::-webkit-scrollbar,
    .onebit-material-summary::-webkit-scrollbar,
    .onebit-control-summary::-webkit-scrollbar {
        display: none;
    }

    .onebit-play-grid > article,
    .onebit-risk-grid > article,
    .onebit-material-summary > article {
        flex: 0 0 84%;
        scroll-snap-align: start;
    }

    .onebit-control-summary > article {
        flex: 0 0 47%;
        scroll-snap-align: start;
    }

    .onebit-gate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .onebit-document-block.is-collapsed .onebit-document-page:nth-child(n + 4) {
        display: none;
    }

    .onebit-document-block.is-collapsed .onebit-document-pages {
        max-height: 650px !important;
        overflow: hidden;
    }

    .onebit-referral-section {
        padding: 20px 7px 9px;
    }

    .onebit-referral-section .onebit-section-heading {
        min-height: 0;
        padding-inline: 8px;
    }

    .onebit-referral-section .onebit-feature-tags {
        padding-inline: 0;
    }

    .onebit-referral-help {
        align-items: flex-start;
        flex-direction: column;
        margin-inline: 4px;
        font-size: 9px;
    }

    #onebitReferralTopology .rtw-shell.is-theme-light {
        border-radius: 18px;
    }

    .onebit-footer {
        margin-top: 12px;
        border-radius: 16px;
    }
}

@media (max-width: 390px) {
    .onebit-brand img {
        width: 76px;
    }

    .onebit-brand strong {
        max-width: 142px;
    }

    .onebit-header nav a {
        padding-inline: 10px;
    }

    .onebit-board-primary {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    }

    .onebit-total-card,
    .onebit-phase-card {
        padding: 14px;
    }

    .onebit-total-card > strong {
        font-size: 34px;
    }

    .onebit-tier-row {
        grid-template-columns: 70px minmax(54px, 1fr) 86px;
    }
}

/* ========================================================================== */
/* ONE BIT referral · XDAO-aligned production pass · 2026-08-15             */
/* ========================================================================== */

.onebit-referral-section {
    overflow: hidden;
    padding: 40px;
}

.onebit-referral-section .onebit-section-heading {
    min-height: 0;
    margin: 0 0 22px;
    padding: 0;
}

.onebit-referral-status {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 7px;
    min-height: 38px;
    border: 1px solid #ead7af;
    border-radius: 999px;
    color: #7a5312;
    background: #fff8e9;
    padding: 0 14px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.onebit-referral-status i {
    color: #b77c12;
}

#onebitReferralTopology .rtw-shell.is-theme-light {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#onebitReferralTopology .rtw-shell.is-theme-light .rtw-toolbar {
    margin: 0 0 8px;
    border: 1px solid #252b34;
    border-radius: 16px;
    background: linear-gradient(135deg, #1b1f29, #252a34);
    padding: 8px;
    box-shadow: 0 12px 28px rgba(17, 20, 29, .12);
}

#onebitReferralTopology .rtw-shell.is-theme-light .rtw-search {
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 11px;
    background: #fff;
    padding: 0 10px;
    box-shadow: none;
}

#onebitReferralTopology .rtw-shell.is-theme-light .rtw-search input {
    min-width: 0;
    color: #1f2731;
    font-size: 14px;
    font-weight: 700;
}

#onebitReferralTopology .rtw-shell.is-theme-light [data-rtw-search-button] {
    min-height: 38px;
    border: 1px solid #a96e0a;
    border-radius: 9px;
    color: #fff;
    background: #b77c12;
    padding-inline: 16px;
    font-weight: 900;
}

#onebitReferralTopology .rtw-shell.is-theme-light [data-rtw-search-button]:hover,
#onebitReferralTopology .rtw-shell.is-theme-light [data-rtw-search-button]:focus-visible {
    border-color: #7c5109;
    color: #fff;
    background: #8f5e0b;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-canvas-drill {
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 20px;
    background: #fbfcfd;
    padding: 10px;
    box-shadow: 0 14px 34px rgba(17, 20, 29, .07);
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-canvas-head {
    gap: 16px;
    padding: 18px 18px 13px;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-path {
    margin-inline: -18px;
    border: 0;
    border-radius: 7px;
    background: #f3f5f7;
    padding: 10px 18px 12px;
    scrollbar-color: #bd8722 #e5e8eb;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step,
#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step.is-current {
    min-height: 58px;
    border-radius: 12px;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step.is-current {
    border-color: #d4b46e;
    color: #3f2b0b;
    background: #fff4d5;
    box-shadow: inset 4px 0 0 #b77c12;
}

#onebitReferralTopology .rtw-path-navigation {
    margin-top: 12px;
    border: 0;
    border-radius: 12px;
    background: #f2f4f6;
    padding: 11px 12px;
}

#onebitReferralTopology .rtw-path-navigation-copy strong {
    color: #222933;
}

#onebitReferralTopology .rtw-path-navigation-copy span {
    color: #69727f;
}

#onebitReferralTopology .rtw-layer-browser.is-current-layer {
    overflow: hidden;
    border: 1px solid #dfd7c6;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(36, 31, 22, .055);
}

#onebitReferralTopology .rtw-current-node-card {
    background: #fffaf0;
}

#onebitReferralTopology .rtw-layer-browser.is-current-layer .rtw-layer-head {
    grid-template-columns: minmax(270px, .92fr) minmax(430px, 1.28fr) minmax(220px, .74fr);
    gap: 16px;
    border: 0;
    background: linear-gradient(105deg, #fff8e9, #fff 58%);
    padding: 16px 18px;
}

#onebitReferralTopology .rtw-current-layer-label {
    color: #704b0d;
    background: #fff1ca;
}

#onebitReferralTopology .rtw-current-layer-state {
    color: #fff;
    background: #b77c12;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-areas:
        "ownPurchase direct teamPurchase teamBuyers teamSize"
        "scope scope scope scope scope";
    gap: 0;
    overflow: hidden;
    border: 1px solid #e2e6e9;
    border-radius: 11px;
    background: #f7f8fa;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-drill-metric {
    min-height: 61px;
    border: 0;
    border-right: 1px solid #e2e6e9;
    border-radius: 0;
    background: transparent;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamSize"] {
    border-right: 0;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-drill-metric small {
    color: #727b86;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-drill-metric strong {
    color: #252b33;
    font-size: 13px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="ownPurchase"] strong,
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamPurchase"] strong {
    color: #8a5b0b;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-metric-scope-note {
    min-height: 30px;
    border: 0;
    border-top: 1px solid #e2e6e9;
    border-radius: 0;
    color: #707783;
    background: #f0f2f4;
}

#onebitReferralTopology .rtw-layer-action {
    align-self: stretch;
    border: 1px solid #eadfc9;
    border-radius: 13px;
    background: rgba(255, 255, 255, .72);
    padding: 12px;
}

#onebitReferralTopology .rtw-layer-action .rtw-button.is-primary {
    border-color: #a86e0b;
    color: #fff;
    background: #b77c12;
}

#onebitReferralTopology .onebit-node-state {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    border: 0;
    border-top: 1px solid #ece5d8;
    border-radius: 0;
    color: #616a74;
    background: #fbfaf7;
    padding: 9px 18px;
}

#onebitReferralTopology .onebit-node-state > span {
    color: #8a5b0b;
    font-size: 10px;
    font-weight: 900;
}

#onebitReferralTopology .onebit-node-state code {
    min-width: 0;
    color: #27303a;
    background: transparent;
    font-size: 11px;
    overflow-wrap: anywhere;
}

#onebitReferralTopology .onebit-node-state a {
    min-height: 30px;
    border: 1px solid #dfd2b7;
    border-radius: 8px;
    color: #79500b;
    background: #fff;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: 900;
}

#onebitReferralTopology .rtw-layer-body {
    background: #fff;
    padding: 14px;
}

#onebitReferralTopology .rtw-drill-children:not(.is-compact-rows) {
    gap: 10px;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-child:not(.is-compact-row) {
    min-width: 0;
    border: 1px solid #dfe3e8;
    border-radius: 14px;
    background: #fff;
    padding: 9px 10px;
    box-shadow: 0 8px 20px rgba(17, 20, 29, .043);
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-child:not(.is-compact-row):hover,
#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-child:not(.is-compact-row):focus-visible {
    border-color: #c99a3f;
    background: #fffaf0;
    transform: translateY(-1px);
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-child.is-primary {
    border-color: #d7bd82;
    background: #fffaf0;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-areas: "ownPurchase direct teamPurchase teamBuyers teamSize";
    gap: 0;
    overflow: hidden;
    border: 1px solid #e4e8eb;
    border-radius: 10px;
    background: #f7f8fa;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics > span {
    min-width: 0;
    border: 0;
    border-right: 1px solid #e4e8eb;
    border-radius: 0;
    background: transparent;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics > span:last-child {
    border-right: 0;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics strong {
    font-size: 10px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

#onebitReferralTopology .rtw-drill-child-action {
    border-color: #dfd1b2;
    color: #7a510b;
    background: #fffaf0;
}

@media (max-width: 760px) {
    .onebit-referral-section {
        padding: 20px 7px 10px;
    }

    .onebit-referral-section .onebit-section-heading {
        align-items: flex-start;
        gap: 13px;
        margin-bottom: 17px;
        padding-inline: 9px;
    }

    .onebit-referral-status {
        min-height: 34px;
        padding-inline: 12px;
        font-size: 10px;
    }

    #onebitReferralTopology .rtw-shell.is-theme-light .rtw-toolbar {
        border-radius: 14px;
        padding: 6px;
    }

    #onebitReferralTopology .rtw-shell.is-theme-light .rtw-search {
        min-height: 46px;
        padding-left: 9px;
    }

    #onebitReferralTopology .rtw-shell.is-theme-light [data-rtw-search-button] {
        min-width: 94px;
        min-height: 40px;
        padding-inline: 11px;
    }

    #onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-canvas-drill {
        border-radius: 16px;
        padding: 6px;
    }

    #onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-canvas-head {
        padding: 14px 12px 10px;
    }

    #onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-path {
        margin-inline: -12px;
        padding-inline: 12px;
    }

    #onebitReferralTopology .rtw-shell.is-full-path-addresses.is-path-mode .rtw-path-step,
    #onebitReferralTopology .rtw-shell.is-full-path-addresses.is-path-mode .rtw-path-step.is-current {
        width: min(306px, calc(100vw - 70px));
    }

    #onebitReferralTopology .rtw-path-navigation {
        align-items: stretch;
        padding: 10px;
    }

    #onebitReferralTopology .rtw-path-navigation-actions .rtw-button {
        min-height: 40px;
    }

    #onebitReferralTopology .rtw-layer-browser.is-current-layer .rtw-layer-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "ownPurchase direct"
            "teamPurchase teamPurchase"
            "teamBuyers teamSize"
            "scope scope";
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-drill-metric {
        min-height: 56px;
        border-right: 1px solid #e2e6e9;
        border-bottom: 1px solid #e2e6e9;
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="direct"],
    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamPurchase"],
    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamSize"] {
        border-right: 0;
    }

    #onebitReferralTopology .rtw-layer-action {
        padding: 10px;
    }

    #onebitReferralTopology .rtw-layer-action .rtw-button.is-primary {
        min-height: 44px;
    }

    #onebitReferralTopology .onebit-node-state {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px 10px;
        padding: 10px 14px;
    }

    #onebitReferralTopology .onebit-node-state > span {
        grid-column: 1;
        grid-row: 1;
    }

    #onebitReferralTopology .onebit-node-state code {
        grid-column: 1 / -1;
        grid-row: 2;
        font-size: 10px;
        letter-spacing: -.12px;
    }

    #onebitReferralTopology .onebit-node-state a {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    #onebitReferralTopology .rtw-layer-body {
        padding: 12px;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row {
        border-radius: 13px;
        padding: 12px;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: none;
        gap: 4px;
        border: 0;
        background: transparent;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics > span {
        min-height: 46px;
        border: 1px solid #e4e8eb;
        border-radius: 8px;
        background: #f7f8fa;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="ownPurchase"] { grid-column: 1; grid-row: 1; }
    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="direct"] { grid-column: 2; grid-row: 1; }
    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamPurchase"] { grid-column: 1 / -1; grid-row: 2; }
    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamBuyers"] { grid-column: 1; grid-row: 3; }
    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamSize"] { grid-column: 2; grid-row: 3; }

    #onebitReferralTopology .rtw-drill-child-action {
        min-height: 40px;
    }
}

/* ONE BIT referral node performance layout — XDAO reading model, ONE BIT palette. */
#onebitReferralTopology {
    --onebit-node-gold: #b77c12;
    --onebit-node-gold-dark: #78500c;
    --onebit-node-gold-soft: #fff6e3;
    --onebit-node-green: #24473b;
    --onebit-node-green-soft: #eef5f1;
    --onebit-node-line: #dfe5e1;
    --onebit-node-ink: #202a26;
    --onebit-node-muted: #6d7772;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step,
#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step.is-current {
    width: 430px;
    min-height: 112px;
    align-items: start;
    padding: 10px 22px 10px 10px;
    border-color: #dfe4e1;
    background: #fff;
    box-shadow: 0 5px 16px rgba(27, 39, 33, .045);
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step.is-current {
    border-color: #d2b36e;
    background: linear-gradient(145deg, #fff8e8, #fffdf8);
    box-shadow: inset 4px 0 0 var(--onebit-node-gold), 0 8px 20px rgba(120, 80, 12, .08);
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step.is-compressed {
    width: 184px;
    min-height: 112px;
    align-items: center;
}

#onebitReferralTopology .rtw-path-step .rtw-path-dot {
    margin-top: 2px;
}

#onebitReferralTopology .rtw-path-copy {
    gap: 6px;
}

#onebitReferralTopology .rtw-shell.is-full-path-addresses .rtw-path-copy > strong {
    min-height: 32px;
    color: var(--onebit-node-ink);
    font-size: 11px;
    line-height: 1.38;
}

#onebitReferralTopology .rtw-path-metrics {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .72fr);
    gap: 4px;
    min-width: 0;
    margin-top: 1px;
}

#onebitReferralTopology .rtw-path-metric {
    display: grid;
    min-width: 0;
    min-height: 38px;
    align-content: center;
    gap: 2px;
    padding: 5px 6px;
    border: 1px solid #e5e8e6;
    border-radius: 8px;
    color: var(--onebit-node-ink);
    background: #f7f9f8;
}

#onebitReferralTopology .rtw-path-metric[data-rtw-path-metric="teamPurchase"] {
    border-color: #ead8ad;
    color: var(--onebit-node-gold-dark);
    background: var(--onebit-node-gold-soft);
}

#onebitReferralTopology .rtw-path-metric[data-rtw-path-metric="teamSize"] {
    border-color: #d6e2dc;
    color: var(--onebit-node-green);
    background: var(--onebit-node-green-soft);
}

#onebitReferralTopology .rtw-path-copy .rtw-path-metric small,
#onebitReferralTopology .rtw-path-copy .rtw-path-metric strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#onebitReferralTopology .rtw-path-copy .rtw-path-metric small {
    color: var(--onebit-node-muted);
    opacity: 1;
    font-family: inherit;
    font-size: 9px;
    font-weight: 850;
}

#onebitReferralTopology .rtw-path-copy .rtw-path-metric strong {
    color: inherit;
    font-family: inherit;
    font-size: 10.5px;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
}

#onebitReferralTopology .rtw-layer-browser.is-current-layer {
    border-color: #d6ded9;
    box-shadow: 0 14px 34px rgba(28, 42, 35, .075);
}

#onebitReferralTopology .rtw-layer-browser.is-current-layer .rtw-layer-head {
    grid-template-columns: minmax(270px, .92fr) minmax(480px, 1.38fr) minmax(190px, .62fr);
    background: linear-gradient(112deg, #f4f8f5, #fff 44%, #fffaf0);
}

#onebitReferralTopology .rtw-layer-browser.is-current-layer .rtw-layer-head::before {
    background: linear-gradient(180deg, var(--onebit-node-green), var(--onebit-node-gold));
}

#onebitReferralTopology .rtw-current-layer-label {
    border-color: var(--onebit-node-green);
    color: #fff;
    background: var(--onebit-node-green);
    box-shadow: 0 6px 14px rgba(36, 71, 59, .16);
}

#onebitReferralTopology .rtw-current-layer-state {
    color: #fff4d7;
    background: transparent;
}

#onebitReferralTopology .rtw-layer-identity .rtw-drill-address-row {
    margin-top: 8px;
    padding: 8px 8px 8px 11px;
    border: 1px solid #dce3df;
    border-radius: 10px;
    background: rgba(255, 255, 255, .86);
    box-shadow: inset 3px 0 0 rgba(36, 71, 59, .72);
}

#onebitReferralTopology .rtw-layer-identity .rtw-drill-address {
    color: #1f2d27;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 900;
}

#onebitReferralTopology .rtw-copy-address.is-address-emphasis {
    border-color: #d7dfda;
    color: var(--onebit-node-green);
    background: #fff;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics {
    grid-template-columns:
        minmax(0, .95fr)
        minmax(0, .72fr)
        minmax(0, 1.42fr)
        minmax(0, .86fr)
        minmax(0, .78fr);
    grid-template-areas:
        "ownPurchase direct teamPurchase teamBuyers teamSize"
        "scope scope scope scope scope";
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--onebit-node-line);
    border-radius: 12px;
    background: #f8faf9;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="ownPurchase"] { grid-area: ownPurchase; }
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="direct"] { grid-area: direct; }
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamPurchase"] { grid-area: teamPurchase; }
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamBuyers"] { grid-area: teamBuyers; }
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamSize"] { grid-area: teamSize; }

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-drill-metric {
    min-width: 0;
    min-height: 66px;
    align-content: center;
    padding: 10px 8px;
    border: 0;
    border-right: 1px solid var(--onebit-node-line);
    border-radius: 0;
    background: transparent;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="ownPurchase"],
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamPurchase"] {
    background: var(--onebit-node-gold-soft);
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamBuyers"],
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamSize"] {
    background: var(--onebit-node-green-soft);
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamBuyers"] {
    border-left: 2px solid #d3dfd8;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamSize"] {
    border-right: 0;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-drill-metric small {
    color: var(--onebit-node-muted);
    font-size: 10px;
    line-height: 1.15;
    white-space: nowrap;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-drill-metric strong {
    margin-top: 5px;
    color: var(--onebit-node-ink);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
    white-space: normal;
    overflow-wrap: anywhere;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="ownPurchase"] strong,
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamPurchase"] strong {
    color: var(--onebit-node-gold-dark);
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-metric-scope-note {
    grid-area: scope;
    min-height: 32px;
    padding: 6px 9px;
    border: 0;
    border-top: 1px solid var(--onebit-node-line);
    border-radius: 0;
    color: #5f6c66;
    background: #f1f4f2;
    font-size: 10px;
}

#onebitReferralTopology .rtw-layer-action {
    border-color: #dce3df;
    background: rgba(255, 255, 255, .82);
}

#onebitReferralTopology .rtw-layer-action .rtw-button.is-primary {
    border-color: var(--onebit-node-green);
    color: #fff;
    background: var(--onebit-node-green);
    box-shadow: 0 7px 16px rgba(36, 71, 59, .14);
}

#onebitReferralTopology .rtw-drill-children:not(.is-compact-rows) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-child:not(.is-compact-row) {
    min-height: 176px;
    gap: 9px;
    padding: 13px;
    border-color: #dfe5e1;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(27, 39, 33, .05);
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-child:not(.is-compact-row)::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 15px 0 0 15px;
    background: linear-gradient(180deg, var(--onebit-node-green), var(--onebit-node-gold));
}

#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-child:not(.is-compact-row):hover,
#onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-drill-child:not(.is-compact-row):focus-visible {
    border-color: #cdb36f;
    background: #fffdf8;
    box-shadow: 0 11px 28px rgba(95, 70, 18, .09);
}

#onebitReferralTopology .rtw-drill-child-title > strong {
    color: var(--onebit-node-ink);
    font-size: 12px;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics {
    grid-template-columns:
        minmax(0, .95fr)
        minmax(0, .72fr)
        minmax(0, 1.42fr)
        minmax(0, .86fr)
        minmax(0, .78fr);
    grid-template-areas: "ownPurchase direct teamPurchase teamBuyers teamSize";
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--onebit-node-line);
    border-radius: 10px;
    background: #f8faf9;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics > span {
    grid-row: 1;
    grid-column: auto;
    min-width: 0;
    min-height: 58px;
    align-content: center;
    padding: 7px 6px;
    border: 0;
    border-right: 1px solid var(--onebit-node-line);
    border-radius: 0;
    background: transparent;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="ownPurchase"] { grid-column: 1; }
#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="direct"] { grid-column: 2; }
#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamPurchase"] { grid-column: 3; }
#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamBuyers"] { grid-column: 4; }
#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamSize"] { grid-column: 5; }

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="ownPurchase"],
#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamPurchase"] {
    background: #fff9ec;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamBuyers"],
#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamSize"] {
    background: #f1f6f3;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamBuyers"] {
    border-left: 2px solid #d3dfd8;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamSize"] {
    border-right: 0;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics small {
    overflow: hidden;
    color: var(--onebit-node-muted);
    font-size: 9.5px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics strong {
    margin-top: 4px;
    overflow: visible;
    color: var(--onebit-node-ink);
    font-size: 11.5px;
    line-height: 1.18;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
}

#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="ownPurchase"] strong,
#onebitReferralTopology .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamPurchase"] strong {
    color: var(--onebit-node-gold-dark);
}

#onebitReferralTopology .rtw-drill-child-action {
    border-color: #d7e0db;
    color: var(--onebit-node-green);
    background: #f4f8f6;
}

@media (min-width: 761px) and (max-width: 1100px) {
    #onebitReferralTopology .rtw-layer-browser.is-current-layer .rtw-layer-head {
        grid-template-columns: minmax(250px, .85fr) minmax(430px, 1.35fr);
    }

    #onebitReferralTopology .rtw-layer-action {
        grid-column: 1 / -1;
    }

    #onebitReferralTopology .rtw-drill-children:not(.is-compact-rows) {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    #onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step,
    #onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step.is-current {
        width: min(330px, calc(100vw - 62px));
        min-height: 108px;
        padding: 9px 20px 9px 9px;
    }

    #onebitReferralTopology .rtw-shell.is-theme-light.is-path-mode .rtw-path-step.is-compressed {
        width: 164px;
    }

    #onebitReferralTopology .rtw-shell.is-full-path-addresses .rtw-path-copy > strong {
        min-height: 29px;
        font-size: 10px;
    }

    #onebitReferralTopology .rtw-path-metrics {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .72fr);
    }

    #onebitReferralTopology .rtw-path-metric {
        min-height: 36px;
        padding: 4px;
    }

    #onebitReferralTopology .rtw-path-copy .rtw-path-metric small {
        font-size: 8.5px;
    }

    #onebitReferralTopology .rtw-path-copy .rtw-path-metric strong {
        font-size: 9.5px;
    }

    #onebitReferralTopology .rtw-layer-browser.is-current-layer .rtw-layer-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        background: linear-gradient(180deg, #f4f8f5, #fff 42%, #fffaf0);
    }

    #onebitReferralTopology .rtw-current-layer-state {
        display: none;
    }

    #onebitReferralTopology .rtw-layer-identity .rtw-drill-address-row {
        grid-template-columns: minmax(0, 1fr) 42px;
        min-height: 50px;
        padding: 6px 6px 6px 10px;
    }

    #onebitReferralTopology .rtw-layer-identity .rtw-drill-address {
        overflow: hidden;
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #onebitReferralTopology .rtw-copy-address.is-address-emphasis {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-template-areas:
            "ownPurchase ownPurchase ownPurchase teamPurchase teamPurchase teamPurchase"
            "direct direct teamBuyers teamBuyers teamSize teamSize"
            "scope scope scope scope scope scope";
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics .rtw-drill-metric {
        min-height: 54px;
        padding: 8px 6px;
        border-right: 1px solid var(--onebit-node-line);
        border-bottom: 1px solid var(--onebit-node-line);
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamPurchase"],
    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamSize"] {
        border-right: 0;
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="direct"],
    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamBuyers"],
    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamSize"] {
        border-bottom: 0;
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamBuyers"] {
        border-left: 0;
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="ownPurchase"] strong,
    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamPurchase"] strong {
        font-size: 14px;
    }

    #onebitReferralTopology .rtw-layer-action {
        padding: 10px;
    }

    #onebitReferralTopology .rtw-layer-body.is-compact-rows {
        padding: 0;
    }

    #onebitReferralTopology .rtw-layer-body.is-compact-rows > .rtw-layer-title {
        padding: 13px 12px;
    }

    #onebitReferralTopology .rtw-drill-children.is-compact-rows {
        display: block;
        overflow: hidden;
        padding: 0;
        border: 0;
        border-top: 1px solid #e7ebe8;
        border-radius: 0;
        background: #fff;
    }

    #onebitReferralTopology .rtw-drill-children.is-compact-rows .rtw-drill-child.is-compact-row {
        display: grid !important;
        grid-template-columns: 36px minmax(0, 1fr) 48px;
        grid-template-areas:
            "rank identity action"
            "stats stats stats";
        width: 100%;
        min-width: 0;
        min-height: 132px;
        gap: 8px 7px;
        align-items: center;
        padding: 11px 10px 10px;
        border: 0;
        border-bottom: 1px solid #e9edea;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
        text-align: left;
    }

    #onebitReferralTopology .rtw-drill-children.is-compact-rows .rtw-drill-child.is-compact-row:last-of-type {
        border-bottom: 0;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row:hover,
    #onebitReferralTopology .rtw-drill-child.is-compact-row:focus-visible {
        background: #fffaf0;
        box-shadow: inset 3px 0 0 var(--onebit-node-gold);
        transform: none;
    }

    #onebitReferralTopology .rtw-drill-child-rank {
        grid-area: rank;
        display: inline-flex;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        border: 1px solid #d9be83;
        border-radius: 50%;
        color: var(--onebit-node-gold-dark);
        background: #fffaf0;
        font-size: 13px;
        font-weight: 950;
    }

    #onebitReferralTopology .rtw-drill-child-identity {
        grid-area: identity;
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 7px;
    }

    #onebitReferralTopology .rtw-drill-child-identity > strong {
        min-width: 0;
        overflow: hidden;
        color: var(--onebit-node-ink);
        font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        font-size: 14px;
        font-weight: 900;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #onebitReferralTopology .rtw-drill-child-identity .rtw-node-tags {
        display: inline-flex;
        flex: 0 0 auto;
        gap: 4px;
        margin: 0;
    }

    #onebitReferralTopology .rtw-drill-child-identity .rtw-status {
        min-height: 22px;
        padding-inline: 6px;
        font-size: 10px !important;
        line-height: 22px;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-action {
        grid-area: action;
        display: inline-flex;
        min-width: 48px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        border: 0;
        color: var(--onebit-node-green);
        background: transparent;
        font-size: 12px;
        font-weight: 950;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics {
        grid-area: stats;
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(42px, auto));
        grid-template-areas: none;
        gap: 0;
        min-width: 0;
        padding-top: 7px;
        border: 0;
        border-top: 1px solid #e8ece9;
        border-radius: 0;
        background: transparent;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics > span {
        display: grid;
        min-width: 0;
        min-height: 42px;
        align-content: center;
        gap: 2px;
        padding: 4px 6px;
        border: 0;
        border-right: 1px solid #e5eae7;
        border-radius: 0;
        background: transparent;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="ownPurchase"] {
        grid-column: 1 / span 3;
        grid-row: 1;
        background: #fff9ec;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="teamPurchase"] {
        grid-column: 4 / span 3;
        grid-row: 1;
        border-right: 0;
        background: #fff9ec;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="direct"] {
        grid-column: 1 / span 2;
        grid-row: 2;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="teamBuyers"] {
        grid-column: 3 / span 2;
        grid-row: 2;
        border-left: 1px solid #d7e2dc;
        background: #f1f6f3;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="teamSize"] {
        grid-column: 5 / span 2;
        grid-row: 2;
        border-right: 0;
        background: #f1f6f3;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats small {
        overflow: hidden;
        color: var(--onebit-node-muted);
        font-size: 10px;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats strong {
        margin-top: 1px;
        overflow: hidden;
        color: var(--onebit-node-ink);
        font-size: 12.5px;
        line-height: 1.2;
        font-weight: 950;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="ownPurchase"] strong,
    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="teamPurchase"] strong {
        color: var(--onebit-node-gold-dark);
    }
}

@media (max-width: 350px) {
    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "ownPurchase ownPurchase"
            "teamPurchase teamPurchase"
            "direct teamBuyers"
            "teamSize teamSize"
            "scope scope";
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="ownPurchase"],
    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamPurchase"],
    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamBuyers"] {
        border-right: 0;
    }

    #onebitReferralTopology .rtw-drill-children.is-compact-rows .rtw-drill-child.is-compact-row {
        grid-template-columns: 32px minmax(0, 1fr) 44px;
        padding-inline: 8px;
    }

    #onebitReferralTopology .rtw-drill-child-identity > strong {
        font-size: 13px;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics {
        grid-template-rows: repeat(3, minmax(39px, auto));
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="ownPurchase"] {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="teamPurchase"] {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="direct"] {
        grid-column: 1 / span 2;
        grid-row: 3;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="teamBuyers"] {
        grid-column: 3 / span 2;
        grid-row: 3;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="teamSize"] {
        grid-column: 5 / span 2;
        grid-row: 3;
    }
}

/* Platform integration: keep the approved complete TD avatar at every breakpoint. */
.onebit-brand img {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    object-fit: cover;
}

@media (max-width: 700px) {
    .onebit-brand img {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }
}

/* ONE BIT core fund addresses · same-block chain balances */
.onebit-treasury-panel {
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
    padding: 22px;
}

.onebit-treasury-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.onebit-treasury-heading span {
    color: var(--onebit-gold-bright);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}

.onebit-treasury-heading h3 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 21px;
    letter-spacing: -.03em;
}

.onebit-treasury-heading p {
    margin: 7px 0 0;
    color: #8e9691;
    font-size: 10px;
    line-height: 1.65;
}

.onebit-treasury-heading > b {
    flex: 0 0 auto;
    border: 1px solid rgba(62, 181, 148, .24);
    border-radius: 999px;
    color: #9fddca;
    background: rgba(26, 139, 107, .12);
    padding: 8px 11px;
    font-size: 9px;
}

.onebit-treasury-heading > b i {
    margin-right: 5px;
}

.onebit-treasury-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 17px;
}

.onebit-treasury-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 17px;
    background: rgba(8, 10, 10, .24);
    padding: 17px;
}

.onebit-treasury-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #3da88b;
    content: "";
}

.onebit-treasury-card.is-card::before {
    background: var(--onebit-gold-bright);
}

.onebit-treasury-card-head > div {
    display: flex;
    align-items: center;
    gap: 7px;
}

.onebit-treasury-card-head span,
.onebit-treasury-card-head b {
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 8px;
    font-weight: 900;
}

.onebit-treasury-card-head span {
    color: #dbc078;
    background: rgba(203, 157, 61, .12);
}

.onebit-treasury-card-head b {
    color: #92cfbd;
    background: rgba(42, 159, 126, .11);
}

.onebit-treasury-card-head h4 {
    margin: 11px 0 0;
    color: #f3f5f4;
    font-size: 14px;
    line-height: 1.35;
}

.onebit-treasury-balance {
    margin-top: 18px;
}

.onebit-treasury-balance > span,
.onebit-treasury-balance > strong {
    display: block;
}

.onebit-treasury-balance > span {
    color: #7d8681;
    font-size: 9px;
}

.onebit-treasury-balance > strong {
    margin-top: 5px;
    color: #fff;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1;
    letter-spacing: -.045em;
}

.onebit-treasury-balance small {
    margin-left: 6px;
    color: #d7b45f;
    font-size: 9px;
    letter-spacing: 0;
}

.onebit-treasury-card > p {
    min-height: 32px;
    margin: 11px 0 0;
    color: #8b938f;
    font-size: 9px;
    line-height: 1.55;
}

.onebit-treasury-day-flow {
    margin-top: 13px;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 13px;
    background: rgba(255, 255, 255, .025);
    padding: 11px;
}

.onebit-treasury-day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.onebit-treasury-day-head strong {
    color: #c8cfcb;
    font-size: 9px;
}

.onebit-treasury-day-head span {
    color: #717a75;
    font-size: 8px;
}

.onebit-treasury-day-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 9px;
}

.onebit-treasury-day-metrics > div {
    min-width: 0;
    border-radius: 9px;
    background: rgba(0, 0, 0, .16);
    padding: 8px;
}

.onebit-treasury-day-metrics span,
.onebit-treasury-day-metrics strong {
    display: block;
}

.onebit-treasury-day-metrics span {
    color: #747d78;
    font-size: 8px;
}

.onebit-treasury-day-metrics strong {
    margin-top: 4px;
    color: #dfe4e1;
    font-size: 12px;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.onebit-treasury-day-metrics small {
    margin-left: 3px;
    color: #7f8883;
    font-size: 7px;
}

.onebit-treasury-day-metrics .is-in strong,
.onebit-treasury-day-metrics .is-net strong {
    color: #9ed4c4;
}

.onebit-treasury-day-metrics .is-out strong {
    color: #e8b88b;
}

.onebit-treasury-address {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 11px;
    background: rgba(255, 255, 255, .035);
    padding: 9px 9px 9px 11px;
}

.onebit-treasury-address code {
    min-width: 0;
    color: #dfe4e1;
    font-size: 9px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.onebit-treasury-address button {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    color: #e4c06e;
    background: rgba(255, 255, 255, .04);
    padding: 0 8px;
    font-size: 8px;
    font-weight: 900;
    cursor: pointer;
}

.onebit-treasury-card > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 11px;
    color: #aab1ad;
    font-size: 9px;
    font-weight: 800;
}

.onebit-treasury-card > a:hover {
    color: #f1cd7b;
}

.onebit-treasury-loading {
    grid-column: 1 / -1;
    border: 1px dashed rgba(255, 255, 255, .11);
    border-radius: 14px;
    color: #929a96;
    padding: 24px;
    font-size: 10px;
    text-align: center;
}

.onebit-treasury-history-host {
    margin-top: 12px;
}

.onebit-treasury-history {
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 15px;
    background: rgba(6, 8, 8, .2);
    overflow: hidden;
}

.onebit-treasury-history > summary {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 16px;
    color: #e2e6e4;
    cursor: pointer;
    list-style: none;
}

.onebit-treasury-history > summary::-webkit-details-marker {
    display: none;
}

.onebit-treasury-history > summary > span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.onebit-treasury-history > summary i:first-child {
    color: #d2ad55;
}

.onebit-treasury-history > summary b {
    font-size: 11px;
}

.onebit-treasury-history > summary small {
    color: #7f8883;
    font-size: 9px;
    font-weight: 600;
}

.onebit-treasury-history > summary > i:last-child {
    color: #7c8580;
    font-size: 9px;
    transition: transform .18s ease;
}

.onebit-treasury-history[open] > summary > i:last-child {
    transform: rotate(180deg);
}

.onebit-treasury-history-table-wrap {
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.onebit-treasury-history-subhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 13px 15px 10px;
}

.onebit-treasury-history-subhead > div span,
.onebit-treasury-history-subhead > div strong {
    display: block;
}

.onebit-treasury-history-subhead > div span {
    color: #e0e4e2;
    font-size: 10px;
    font-weight: 900;
}

.onebit-treasury-history-subhead > div strong {
    margin-top: 3px;
    color: #737c77;
    font-size: 8px;
    font-weight: 700;
}

.onebit-treasury-history-subhead > b {
    border: 1px solid rgba(214, 173, 76, .18);
    border-radius: 999px;
    color: #c9aa62;
    background: rgba(202, 157, 58, .08);
    padding: 5px 8px;
    font-size: 8px;
}

.onebit-treasury-history-subhead.is-checkpoint {
    margin-top: 3px;
    background: rgba(38, 145, 116, .025);
}

.onebit-treasury-history-subhead.is-checkpoint > b {
    border-color: rgba(62, 181, 148, .22);
    color: #95cfbe;
    background: rgba(42, 159, 126, .08);
}

.onebit-treasury-history-table-wrap.is-checkpoint {
    border-top-color: rgba(62, 181, 148, .12);
}

.onebit-treasury-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 9px;
    white-space: nowrap;
}

.onebit-treasury-history-table th,
.onebit-treasury-history-table td {
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    padding: 10px 15px;
    text-align: right;
}

.onebit-treasury-history-table th:first-child,
.onebit-treasury-history-table td:first-child {
    text-align: left;
}

.onebit-treasury-history-table th {
    color: #737c77;
    background: rgba(255, 255, 255, .018);
    font-size: 8px;
    font-weight: 800;
}

.onebit-treasury-history-table td {
    color: #bac1bd;
}

.onebit-treasury-history-table .is-in,
.onebit-treasury-history-table .is-net {
    color: #94cdbc;
}

.onebit-treasury-history-table .is-out {
    color: #e1aa7a;
}

.onebit-treasury-history-table .is-balance {
    color: #9ed4c4;
    font-weight: 900;
}

.onebit-treasury-history-note,
.onebit-treasury-history-empty {
    margin: 0;
    color: #717a75;
    padding: 11px 15px 13px;
    font-size: 8px;
    line-height: 1.65;
}

.onebit-treasury-history-empty {
    border: 1px dashed rgba(255, 255, 255, .09);
    border-radius: 13px;
    text-align: center;
}

@media (max-width: 900px) {
    .onebit-treasury-grid {
        grid-template-columns: 1fr;
    }

    .onebit-treasury-card > p {
        min-height: 0;
    }
}

@media (max-width: 700px) {
    .onebit-treasury-panel {
        margin-top: 8px;
        border-radius: 18px;
        padding: 16px;
    }

    .onebit-treasury-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .onebit-treasury-heading h3 {
        font-size: 18px;
    }

    .onebit-treasury-grid {
        gap: 8px;
        margin-top: 14px;
    }

    .onebit-treasury-card {
        padding: 15px;
    }

    .onebit-treasury-balance > strong {
        font-size: 27px;
    }

    .onebit-treasury-address {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .onebit-treasury-address button {
        justify-content: center;
    }

    .onebit-treasury-history > summary {
        align-items: flex-start;
        padding: 13px 14px;
    }

    .onebit-treasury-history > summary > span {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .onebit-treasury-history > summary small {
        flex-basis: 100%;
        padding-left: 17px;
    }

    .onebit-treasury-history-subhead {
        align-items: flex-start;
        padding: 12px 13px 9px;
    }

    .onebit-treasury-history-table {
        white-space: normal;
    }

    .onebit-treasury-history-table thead {
        display: none;
    }

    .onebit-treasury-history-table tbody,
    .onebit-treasury-history-table tr,
    .onebit-treasury-history-table td {
        display: block;
    }

    .onebit-treasury-history-table tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-bottom: 1px solid rgba(255, 255, 255, .065);
        padding: 10px 13px;
    }

    .onebit-treasury-history-table td,
    .onebit-treasury-history-table td:first-child {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        border: 0;
        padding: 5px 3px;
        text-align: right;
    }

    .onebit-treasury-history-table td::before {
        color: #707975;
        content: attr(data-label);
        font-size: 8px;
    }

    .onebit-treasury-history-table td:first-child {
        grid-column: 1 / -1;
        padding-bottom: 8px;
    }
}

/* ========================================================================== */
/* ONE BIT integrated data workspace · card + market maker · 2026-08-20      */
/* ========================================================================== */

.onebit-hero,
.onebit-live-board,
.onebit-section,
.onebit-referral-section {
    border: 1px solid #e3ded4;
    border-radius: 26px;
    background: #fffdfa;
    box-shadow: 0 18px 48px rgba(42, 38, 30, .075);
}

.onebit-live-board {
    overflow: visible;
    color: var(--onebit-ink);
    padding: 40px;
}

.onebit-board-heading {
    align-items: center;
}

.onebit-board-heading > div:first-child > span,
.onebit-panel-title > div > span {
    color: #9b6913;
}

.onebit-board-heading h2 {
    color: #171b1a;
}

.onebit-board-heading p {
    color: #69716d;
}

.onebit-data-stamp {
    border-color: #e5d8be;
    color: #745a29;
    background: #fff8e9;
}

.onebit-core-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.onebit-product-overview {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e4dfd6;
    border-radius: 22px;
    background: #fff;
    padding: 24px;
}

.onebit-product-overview::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: #b5842c;
    content: "";
}

.onebit-product-overview.is-market-maker::before {
    background: #16816c;
}

.onebit-product-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.onebit-product-head span,
.onebit-product-head h3,
.onebit-product-head p {
    display: block;
    margin: 0;
}

.onebit-product-head span {
    color: #9a6a18;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .12em;
}

.onebit-product-overview.is-market-maker .onebit-product-head span {
    color: #126b5a;
}

.onebit-product-head h3 {
    margin-top: 6px;
    color: #1b201e;
    font-size: 24px;
    letter-spacing: -.04em;
}

.onebit-product-head p {
    margin-top: 5px;
    color: #7b817d;
    font-size: 10px;
}

.onebit-product-head > i {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #9a6610;
    background: #fff4d9;
    font-size: 17px;
}

.onebit-product-overview.is-market-maker .onebit-product-head > i {
    color: #116c5a;
    background: #e9f7f3;
}

.onebit-product-total {
    margin-top: 24px;
    border-bottom: 1px solid #ebe7df;
    padding-bottom: 20px;
}

.onebit-product-total > span,
.onebit-product-total > strong {
    display: block;
}

.onebit-product-total > span {
    color: #747c78;
    font-size: 10px;
    font-weight: 800;
}

.onebit-product-total > strong {
    margin-top: 8px;
    color: #202521;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: .95;
    letter-spacing: -.06em;
}

.onebit-product-total > strong small {
    margin-left: 6px;
    color: #a37520;
    font-size: 11px;
    letter-spacing: 0;
}

.onebit-product-overview.is-market-maker .onebit-product-total > strong small {
    color: #147563;
}

.onebit-product-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.onebit-product-kpis.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.onebit-product-kpis > span,
.onebit-product-funds > span,
.onebit-mm-daily > span {
    min-width: 0;
    border: 1px solid #ebe6dd;
    border-radius: 12px;
    background: #faf9f6;
    padding: 12px;
}

.onebit-product-kpis small,
.onebit-product-kpis strong,
.onebit-product-funds small,
.onebit-product-funds strong,
.onebit-mm-daily small,
.onebit-mm-daily strong {
    display: block;
}

.onebit-product-kpis small,
.onebit-product-funds small,
.onebit-mm-daily small {
    color: #818783;
    font-size: 8px;
    font-weight: 800;
}

.onebit-product-kpis strong,
.onebit-product-funds strong,
.onebit-mm-daily strong {
    margin-top: 5px;
    color: #272c29;
    font-size: 15px;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.onebit-product-kpis strong em {
    margin-left: 3px;
    color: #147563;
    font-size: 8px;
    font-style: normal;
}

.onebit-product-subhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    color: #313633;
}

.onebit-product-subhead span {
    font-size: 11px;
    font-weight: 950;
}

.onebit-product-subhead b {
    border-radius: 999px;
    color: #806020;
    background: #fff6e2;
    padding: 6px 9px;
    font-size: 8px;
}

.onebit-product-overview.is-market-maker .onebit-product-subhead b {
    color: #116b59;
    background: #eaf7f3;
}

.onebit-product-tier-list {
    margin-top: 8px;
}

.onebit-product-tier-list > div {
    display: grid;
    grid-template-columns: 92px minmax(60px, 1fr) 112px;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    border-top: 1px solid #eeeae3;
}

.onebit-product-tier-list span b,
.onebit-product-tier-list span small,
.onebit-product-tier-list > div > strong,
.onebit-product-tier-list > div > strong small {
    display: block;
}

.onebit-product-tier-list span b {
    color: #2a2f2c;
    font-size: 11px;
}

.onebit-product-tier-list span small,
.onebit-product-tier-list > div > strong small {
    margin-top: 3px;
    color: #858b87;
    font-size: 8px;
}

.onebit-product-tier-list > div > i {
    display: block;
    position: relative;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #eee9df;
}

.onebit-product-tier-list > div > i::after {
    display: block;
    width: var(--tier-share);
    height: 100%;
    border-radius: inherit;
    background: #bd8a2c;
    content: "";
}

.onebit-product-tier-list > div > strong {
    color: #815a10;
    font-size: 12px;
    text-align: right;
}

.onebit-product-funds,
.onebit-mm-daily {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.onebit-product-funds > span:first-child {
    border-color: #e7d6b4;
    background: #fff9ec;
}

.onebit-product-funds > span:first-child strong {
    color: #855b0c;
}

.onebit-mm-term-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.onebit-mm-term-grid > div {
    min-width: 0;
    border: 1px solid #dce9e4;
    border-radius: 12px;
    background: #f4faf8;
    padding: 12px;
}

.onebit-mm-term-grid span,
.onebit-mm-term-grid strong,
.onebit-mm-term-grid small {
    display: block;
}

.onebit-mm-term-grid span {
    color: #176c5c;
    font-size: 9px;
    font-weight: 950;
}

.onebit-mm-term-grid strong {
    margin-top: 7px;
    color: #153b33;
    font-size: 17px;
}

.onebit-mm-term-grid strong > span {
    display: inline;
}

.onebit-mm-term-grid small {
    margin-top: 4px;
    color: #74807b;
    font-size: 8px;
}

.onebit-mm-daily > span {
    border-color: #dce9e4;
    background: #f4faf8;
}

.onebit-mm-daily strong {
    color: #176b5b;
}

.onebit-network-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
    border: 1px solid #e5e0d7;
    border-radius: 16px;
    background: #f7f5f1;
    padding: 8px;
}

.onebit-network-strip > span {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 2px 9px;
    min-width: 0;
    border-right: 1px solid #e3ded5;
    padding: 8px 12px;
}

.onebit-network-strip > span:last-child {
    border-right: 0;
}

.onebit-network-strip i {
    grid-row: 1 / 3;
    color: #9c6d19;
}

.onebit-network-strip small,
.onebit-network-strip strong {
    display: block;
}

.onebit-network-strip small {
    color: #7d847f;
    font-size: 8px;
}

.onebit-network-strip strong {
    color: #222724;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.onebit-treasury-panel {
    margin-top: 14px;
    border-color: #e4dfd6;
    background: #f8f6f2;
}

.onebit-treasury-heading span {
    color: #9b6913;
}

.onebit-treasury-heading h3 {
    color: #1b201e;
}

.onebit-treasury-heading p {
    color: #737b77;
}

.onebit-treasury-heading > b {
    border-color: #c9e2da;
    color: #116c5a;
    background: #eaf7f3;
}

.onebit-treasury-card {
    border-color: #e3dfd7;
    background: #fff;
}

.onebit-treasury-card-head span {
    color: #865b0d;
    background: #fff5df;
}

.onebit-treasury-card-head b {
    color: #116d5b;
    background: #eaf7f3;
}

.onebit-treasury-card-head h4,
.onebit-treasury-balance > strong {
    color: #202521;
}

.onebit-treasury-balance > span,
.onebit-treasury-card > p,
.onebit-treasury-day-head span,
.onebit-treasury-day-metrics span {
    color: #7c847f;
}

.onebit-treasury-balance small {
    color: #9c6d18;
}

.onebit-treasury-day-flow,
.onebit-treasury-address {
    border-color: #e8e3da;
    background: #faf9f6;
}

.onebit-treasury-day-head strong {
    color: #424945;
}

.onebit-treasury-day-metrics > div {
    background: #fff;
}

.onebit-treasury-day-metrics strong,
.onebit-treasury-address code {
    color: #2c322f;
}

.onebit-treasury-day-metrics .is-in strong,
.onebit-treasury-day-metrics .is-net strong {
    color: #147260;
}

.onebit-treasury-day-metrics .is-out strong {
    color: #9f5a31;
}

.onebit-treasury-address button {
    border-color: #e2d5ba;
    color: #80580d;
    background: #fff7e6;
}

.onebit-treasury-card > a {
    color: #58645f;
}

.onebit-treasury-history {
    border-color: #e3ded5;
    background: #fff;
}

.onebit-treasury-history > summary {
    color: #2c322f;
}

.onebit-treasury-history > summary small,
.onebit-treasury-history-subhead > div strong,
.onebit-treasury-history-note,
.onebit-treasury-history-empty {
    color: #757e79;
}

.onebit-treasury-history-table-wrap,
.onebit-treasury-history-subhead,
.onebit-treasury-history-table th,
.onebit-treasury-history-table td {
    border-color: #ebe6de;
}

.onebit-treasury-history-table th {
    color: #737b77;
    background: #f7f5f1;
}

.onebit-treasury-history-table td {
    color: #424945;
}

.onebit-treasury-history-table .is-in,
.onebit-treasury-history-table .is-net,
.onebit-treasury-history-table .is-balance {
    color: #14705f;
}

.onebit-treasury-history-table .is-out {
    color: #9e5a31;
}

.onebit-board-footer {
    border-color: #e4dfd6;
    color: #737b77;
    background: #f7f5f1;
}

.onebit-board-footer b {
    color: #2b312e;
}

.onebit-control-summary article,
.onebit-owner-card {
    border-color: #e3ded5;
    background: #fff;
}

.onebit-control-summary article {
    box-shadow: inset 0 3px 0 #d7c08d;
}

.onebit-contract-table-wrap {
    border: 1px solid #e2ddd4;
    background: #fff;
}

.onebit-contract-table thead {
    background: #f6f3ed;
}

.onebit-contract-table tbody tr:nth-child(even) {
    background: #fcfbf8;
}

.onebit-contract-table tbody tr:hover {
    background: #fff7e7;
}

.onebit-performance-toolbar {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
    border: 1px solid #e2ddd4;
    border-radius: 18px;
    background: #f8f6f2;
    padding: 10px;
}

.onebit-performance-dual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.onebit-performance-dual > div {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    border: 1px solid #e5dfd5;
    border-radius: 13px;
    background: #fff;
    padding: 11px;
}

.onebit-performance-dual > div > i {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #93630f;
    background: #fff4d9;
}

.onebit-performance-dual > div.is-market-maker > i {
    color: #126e5c;
    background: #e8f7f2;
}

.onebit-performance-dual span,
.onebit-performance-dual small,
.onebit-performance-dual strong,
.onebit-performance-dual b {
    display: block;
    min-width: 0;
}

.onebit-performance-dual small {
    color: #777f7b;
    font-size: 8px;
    font-weight: 900;
}

.onebit-performance-dual strong {
    margin-top: 2px;
    color: #242a27;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.onebit-performance-dual b {
    margin-top: 3px;
    color: #8a918d;
    font-size: 8px;
}

.onebit-performance-source {
    align-self: stretch;
    justify-content: center;
    border-left: 1px solid #ded9cf;
    padding-left: 16px;
}

#onebitReferralTopology .rtw-shell.is-theme-light .rtw-toolbar {
    border-color: #e2ddd4;
    background: #f7f5f1;
    box-shadow: none;
}

#onebitReferralTopology .rtw-shell.is-theme-light .rtw-search {
    border-color: #ded9cf;
    background: #fff;
}

#onebitReferralTopology .rtw-shell.is-theme-light [data-rtw-search-button] {
    border-color: #126c5a;
    background: #147a65;
}

#onebitReferralTopology .rtw-shell.is-theme-light [data-rtw-search-button]:hover,
#onebitReferralTopology .rtw-shell.is-theme-light [data-rtw-search-button]:focus-visible {
    border-color: #0f5c4d;
    background: #0f6957;
}

.onebit-referral-section[data-onebit-performance="combined"] #onebitReferralTopology {
    --onebit-node-gold: #b5842c;
    --onebit-node-gold-dark: #79520d;
    --onebit-node-gold-soft: #fff5df;
    --onebit-node-green: #147461;
    --onebit-node-green-soft: #eaf7f3;
    --onebit-node-line: #dfe4df;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-areas:
        "ownPurchase teamPurchase mmOwn mmTeam direct teamSize"
        "scope scope scope scope scope scope";
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="ownPurchase"] { grid-area: ownPurchase; }
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamPurchase"] { grid-area: teamPurchase; }
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="mmOwn"] { grid-area: mmOwn; }
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="mmTeam"] { grid-area: mmTeam; }
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="direct"] { grid-area: direct; }
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamSize"] { grid-area: teamSize; }

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="ownPurchase"],
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamPurchase"] {
    background: #fff9ec;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="mmOwn"],
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="mmTeam"] {
    background: #eef8f5;
}

#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="mmOwn"] strong,
#onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="mmTeam"] strong {
    color: #146c5b;
}

#onebitReferralTopology .onebit-node-state.is-combined {
    display: block;
    min-height: 0;
    border: 0;
    border-top: 1px solid #e5e9e5;
    border-radius: 0;
    background: #fff;
    padding: 0;
}

#onebitReferralTopology .onebit-node-state.is-combined .onebit-node-address {
    padding: 10px 13px;
}

#onebitReferralTopology .onebit-node-dual-ledger {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border-top: 1px solid #e7ebe7;
    background: #f8faf8;
    padding: 10px;
}

#onebitReferralTopology .onebit-node-dual-ledger > section {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eadfca;
    border-radius: 12px;
    background: #fffaf0;
}

#onebitReferralTopology .onebit-node-dual-ledger > section.is-market-maker {
    border-color: #d5e7e1;
    background: #f1f9f6;
}

#onebitReferralTopology .onebit-node-dual-ledger header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid rgba(152, 112, 35, .14);
    padding: 9px 10px;
}

#onebitReferralTopology .onebit-node-dual-ledger .is-market-maker header {
    border-bottom-color: rgba(20, 116, 97, .14);
}

#onebitReferralTopology .onebit-node-dual-ledger header span {
    color: #7f570d;
    font-size: 9px;
    font-weight: 950;
}

#onebitReferralTopology .onebit-node-dual-ledger .is-market-maker header span {
    color: #126b59;
}

#onebitReferralTopology .onebit-node-dual-ledger header strong {
    color: #2d322f;
    font-size: 12px;
}

#onebitReferralTopology .onebit-node-dual-ledger section > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#onebitReferralTopology .onebit-node-dual-ledger section > div > span {
    min-width: 0;
    border-right: 1px solid rgba(80, 89, 84, .1);
    padding: 9px;
}

#onebitReferralTopology .onebit-node-dual-ledger section > div > span:last-child {
    border-right: 0;
}

#onebitReferralTopology .onebit-node-dual-ledger small,
#onebitReferralTopology .onebit-node-dual-ledger b {
    display: block;
}

#onebitReferralTopology .onebit-node-dual-ledger small {
    color: #7c847f;
    font-size: 8px;
}

#onebitReferralTopology .onebit-node-dual-ledger b {
    margin-top: 4px;
    color: #2a302d;
    font-size: 10px;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .onebit-core-products {
        grid-template-columns: 1fr;
    }

    .onebit-network-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .onebit-network-strip > span:nth-child(2) {
        border-right: 0;
    }

    .onebit-network-strip > span:nth-child(-n + 2) {
        border-bottom: 1px solid #e3ded5;
    }

    .onebit-performance-toolbar {
        grid-template-columns: 1fr;
    }

    .onebit-performance-source {
        border-top: 1px solid #ded9cf;
        border-left: 0;
        padding: 10px 4px 2px;
    }
}

@media (max-width: 700px) {
    .onebit-live-board,
    .onebit-section,
    .onebit-referral-section {
        border-radius: 20px;
        padding: 18px;
    }

    .onebit-live-board {
        overflow: hidden;
    }

    .onebit-board-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .onebit-data-stamp {
        padding: 9px 11px;
    }

    .onebit-core-products {
        margin-top: 18px;
    }

    .onebit-product-overview {
        border-radius: 17px;
        padding: 18px;
    }

    .onebit-product-head h3 {
        font-size: 21px;
    }

    .onebit-product-total > strong {
        font-size: 38px;
    }

    .onebit-product-tier-list > div {
        grid-template-columns: 76px minmax(48px, 1fr) 92px;
        gap: 8px;
    }

    .onebit-product-kpis.is-three,
    .onebit-product-funds,
    .onebit-mm-daily {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .onebit-product-kpis > span,
    .onebit-product-funds > span,
    .onebit-mm-daily > span {
        padding: 10px 8px;
    }

    .onebit-product-kpis strong,
    .onebit-product-funds strong,
    .onebit-mm-daily strong {
        font-size: 12px;
    }

    .onebit-network-strip {
        margin-top: 10px;
    }

    .onebit-network-strip > span {
        padding: 7px;
    }

    .onebit-performance-toolbar {
        padding: 7px;
    }

    .onebit-performance-dual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .onebit-performance-dual > div {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 7px;
        padding: 8px;
    }

    .onebit-performance-dual > div > i {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .onebit-performance-dual strong {
        font-size: 11px;
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-areas:
            "ownPurchase teamPurchase"
            "mmOwn mmTeam"
            "direct teamSize"
            "scope scope" !important;
    }

    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamPurchase"],
    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="mmTeam"],
    #onebitReferralTopology .rtw-layer-metrics.has-purchase-metrics [data-rtw-metric="teamSize"] {
        border-right: 0;
    }

    #onebitReferralTopology .onebit-node-dual-ledger {
        grid-template-columns: 1fr;
    }

    #onebitReferralTopology .onebit-node-dual-ledger section > div {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats.has-purchase-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, minmax(42px, auto));
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="ownPurchase"] {
        grid-column: 1;
        grid-row: 1;
        background: #fff9ec;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="teamPurchase"] {
        grid-column: 2;
        grid-row: 1;
        background: #fff9ec;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="mmOwn"] {
        grid-column: 1;
        grid-row: 2;
        background: #eef8f5;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="mmTeam"] {
        grid-column: 2;
        grid-row: 2;
        background: #eef8f5;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="direct"] {
        grid-column: 1;
        grid-row: 3;
    }

    #onebitReferralTopology .rtw-drill-child.is-compact-row .rtw-drill-child-stats [data-rtw-metric="teamSize"] {
        grid-column: 2;
        grid-row: 3;
        border-right: 0;
    }
}

@media (max-width: 390px) {
    .onebit-product-kpis.is-three,
    .onebit-product-funds,
    .onebit-mm-daily {
        grid-template-columns: 1fr;
    }

    .onebit-performance-dual {
        grid-template-columns: 1fr;
    }

    .onebit-network-strip {
        grid-template-columns: 1fr;
    }

    .onebit-network-strip > span,
    .onebit-network-strip > span:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #e3ded5;
    }

    .onebit-network-strip > span:last-child {
        border-bottom: 0;
    }
}

/* ONE BIT combined topology: current and child nodes share one metric order. */
#onebitReferralTopology .rtw-drill-child:not(.is-compact-row) .rtw-drill-child-stats.has-purchase-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: none;
}

#onebitReferralTopology .rtw-drill-child:not(.is-compact-row) .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="ownPurchase"] {
    grid-column: 1;
    grid-row: 1;
    background: #fff9ec;
}

#onebitReferralTopology .rtw-drill-child:not(.is-compact-row) .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamPurchase"] {
    grid-column: 2;
    grid-row: 1;
    border-right: 0;
    background: #fff9ec;
}

#onebitReferralTopology .rtw-drill-child:not(.is-compact-row) .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="mmOwn"] {
    grid-column: 1;
    grid-row: 2;
    background: #eef8f5;
}

#onebitReferralTopology .rtw-drill-child:not(.is-compact-row) .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="mmTeam"] {
    grid-column: 2;
    grid-row: 2;
    border-right: 0;
    background: #eef8f5;
}

#onebitReferralTopology .rtw-drill-child:not(.is-compact-row) .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="direct"] {
    grid-column: 1;
    grid-row: 3;
}

#onebitReferralTopology .rtw-drill-child:not(.is-compact-row) .rtw-drill-child-stats.has-purchase-metrics [data-rtw-metric="teamSize"] {
    grid-column: 2;
    grid-row: 3;
    border-right: 0;
}

#onebitReferralTopology .rtw-drill-child:not(.is-compact-row) .rtw-drill-child-stats.has-purchase-metrics > span {
    min-height: 52px;
    border-bottom: 1px solid var(--onebit-node-line);
}

#onebitReferralTopology .rtw-drill-child:not(.is-compact-row) .rtw-drill-child-stats.has-purchase-metrics > span:nth-last-child(-n + 2) {
    border-bottom: 0;
}

/* ========================================================================== */
/* ONE BIT publication hierarchy · USDT units + unified sections · 2026-08-20 */
/* ========================================================================== */

.onebit-board-heading h2,
.onebit-section-heading h2 {
    font-size: clamp(32px, 3vw, 40px);
    line-height: 1.06;
    letter-spacing: -.045em;
}

.onebit-money-unit {
    display: inline;
    margin-left: 4px;
    color: #8c7345;
    font-size: .48em;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .035em;
    white-space: nowrap;
}

.onebit-product-overview.is-market-maker .onebit-money-unit,
.onebit-mm-term-grid .onebit-money-unit,
.onebit-mm-daily .onebit-money-unit {
    color: #237464;
}

.onebit-product-tier-list span b .onebit-money-unit,
.onebit-product-tier-list > div > strong .onebit-money-unit,
.onebit-product-funds strong .onebit-money-unit,
.onebit-mm-daily strong .onebit-money-unit {
    display: inline;
}

.onebit-mm-term-grid strong {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -.035em;
}

.onebit-mm-term-grid strong > span {
    display: inline;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.onebit-mm-term-grid strong .onebit-money-unit {
    margin-left: 2px;
    font-size: 8px;
    letter-spacing: .03em;
}

.onebit-performance-toolbar {
    grid-template-columns: minmax(0, 1fr);
}

.onebit-contract-analysis-scope {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.onebit-contract-analysis-scope > span {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 2px 9px;
    min-width: 0;
    border: 1px solid #e5dfd5;
    border-radius: 13px;
    background: #faf9f6;
    padding: 11px;
}

.onebit-contract-analysis-scope i {
    display: inline-flex;
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #126f5d;
    background: #e9f7f3;
}

.onebit-contract-analysis-scope b,
.onebit-contract-analysis-scope small {
    display: block;
    min-width: 0;
}

.onebit-contract-analysis-scope b {
    color: #272c29;
    font-size: 11px;
}

.onebit-contract-analysis-scope small {
    color: #7b837f;
    font-size: 8px;
    line-height: 1.35;
}

.onebit-contract-analysis-note {
    margin: 10px 0 16px;
    border-left: 3px solid #b58a38;
    border-radius: 0 10px 10px 0;
    color: #59625d;
    background: #faf7f0;
    padding: 10px 12px;
    font-size: 10px;
    line-height: 1.65;
}

.onebit-live-board,
.onebit-referral-section {
    margin: 18px 36px 0;
}

.onebit-referral-section {
    width: auto;
}

@media (max-width: 700px) {
    .onebit-live-board,
    .onebit-referral-section {
        margin: 12px 14px 0;
    }

    .onebit-board-heading h2,
    .onebit-section-heading h2 {
        font-size: 28px;
    }

    .onebit-mm-term-grid strong {
        font-size: 22px;
    }

    .onebit-contract-analysis-scope {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 390px) {
    .onebit-contract-analysis-scope {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================== */
/* ONE BIT flat project page · follows ShadowsClaw section rhythm · 2026-08-20 */
/* ========================================================================== */

.onebit-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 64px;
}

.onebit-hero {
    width: 100%;
    margin: 0;
}

.onebit-live-board,
.onebit-section,
.onebit-referral-section {
    width: 100%;
    margin: 38px 0 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.onebit-board-heading,
.onebit-section-heading,
.onebit-referral-section .onebit-section-heading {
    min-height: 0;
    margin: 0;
    padding: 0 2px 20px;
}

.onebit-core-products {
    margin-top: 0;
}

.onebit-product-overview,
.onebit-network-strip,
.onebit-treasury-panel,
.onebit-board-footer,
.onebit-register,
.onebit-timeline li,
.onebit-play-grid article,
.onebit-formula-card,
.onebit-table-card,
.onebit-control-summary article,
.onebit-contract-analysis-scope > span,
.onebit-owner-card,
.onebit-contract-table-wrap,
.onebit-performance-toolbar,
#onebitReferralTopology .rtw-shell.is-theme-light,
.onebit-material-summary article,
.onebit-evidence-links a,
.onebit-document-block,
.onebit-boundary-note {
    border-color: #e2ddd3;
    background: #fffdfa;
    box-shadow: 0 14px 34px rgba(50, 44, 32, .055);
}

.onebit-product-overview,
.onebit-register,
.onebit-treasury-panel,
.onebit-contract-table-wrap,
.onebit-performance-toolbar,
#onebitReferralTopology .rtw-shell.is-theme-light,
.onebit-document-block {
    border-radius: 22px;
}

.onebit-network-strip,
.onebit-board-footer,
.onebit-formula-card,
.onebit-owner-card,
.onebit-boundary-note {
    border-radius: 16px;
}

.onebit-network-strip,
.onebit-treasury-panel,
.onebit-board-footer,
.onebit-formula-card,
.onebit-model-grid,
.onebit-contract-analysis-scope,
.onebit-owner-card,
.onebit-contract-table-wrap,
.onebit-performance-toolbar,
#onebitReferralTopology,
.onebit-evidence-links,
.onebit-document-block,
.onebit-boundary-note {
    margin-top: 14px;
}

.onebit-register,
.onebit-timeline,
.onebit-play-grid,
.onebit-control-summary,
.onebit-material-summary {
    margin-top: 0;
}

.onebit-timeline li,
.onebit-play-grid article,
.onebit-control-summary article,
.onebit-material-summary article,
.onebit-contract-analysis-scope > span {
    border-radius: 16px;
}

.onebit-timeline li {
    border-width: 1px;
    border-style: solid;
    padding: 42px 18px 18px;
}

.onebit-timeline::before {
    right: 6%;
    left: 6%;
}

.onebit-board-footer {
    padding: 14px 16px;
}

.onebit-footer {
    width: 100%;
    margin: 24px 0 0;
}

@media (max-width: 700px) {
    .onebit-shell {
        width: calc(100% - 20px);
        padding-bottom: 86px;
    }

    .onebit-live-board,
    .onebit-section,
    .onebit-referral-section {
        margin: 30px 0 0;
        border-radius: 0;
        padding: 0;
    }

    .onebit-board-heading,
    .onebit-section-heading,
    .onebit-referral-section .onebit-section-heading {
        padding: 0 3px 16px;
    }

    .onebit-product-overview,
    .onebit-register,
    .onebit-treasury-panel,
    .onebit-contract-table-wrap,
    .onebit-performance-toolbar,
    #onebitReferralTopology .rtw-shell.is-theme-light,
    .onebit-document-block {
        border-radius: 18px;
    }

    .onebit-play-grid,
    .onebit-risk-grid,
    .onebit-material-summary,
    .onebit-control-summary {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }
}

/* Final cascade: CloverOS-style horizontal bands. Keep this block last. */
.onebit-shell {
    width: min(1280px, calc(100% - 40px));
}

#funds.onebit-live-board {
    width: 100%;
    margin: 22px 0 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.onebit-section,
.onebit-referral-section {
    width: 100%;
    margin: 14px 0 0;
    overflow: hidden;
    border: 1px solid #dedbd3;
    border-radius: 18px;
    background: #fffdfa;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(42, 38, 30, .045);
}

.onebit-board-heading,
.onebit-section-heading,
.onebit-referral-section .onebit-section-heading {
    min-height: 0;
    margin: 0;
    padding: 0 0 15px;
}

.onebit-section-heading,
.onebit-referral-section .onebit-section-heading {
    margin-bottom: 12px;
    border-bottom: 1px solid #eeeae2;
}

.onebit-board-heading h2 {
    font-size: clamp(28px, 3vw, 36px);
}

.onebit-section-heading h2 {
    font-size: clamp(24px, 2.35vw, 30px);
}

.onebit-core-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
}

.onebit-product-overview {
    display: grid;
    grid-template-columns: 210px 255px minmax(0, 1fr);
    grid-template-areas:
        "head total kpis"
        "head subhead subhead"
        "head detail detail"
        "head foot foot";
    gap: 10px 14px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid #e2ddd3;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 5px 18px rgba(62, 50, 29, .04);
}

.onebit-product-overview.is-card {
    background: #fffdf8;
}

.onebit-product-overview.is-market-maker {
    background: #fbfefc;
}

.onebit-product-overview::before {
    inset: 0 auto 0 0;
    width: 4px;
    height: auto;
}

.onebit-product-head {
    grid-area: head;
    min-width: 0;
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    border-right: 1px solid #ebe6dc;
    padding: 8px 20px 8px 4px;
}

.onebit-product-overview.is-market-maker .onebit-product-head {
    border-right-color: #dce9e4;
}

.onebit-product-head > i {
    order: -1;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 50%;
}

.onebit-product-head h3 {
    font-size: 23px;
}

.onebit-product-head p {
    max-width: 170px;
    font-size: 10px;
    line-height: 1.6;
}

.onebit-product-total {
    grid-area: total;
    min-width: 0;
    margin: 0;
    border: 1px solid #e9e4da;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
}

.onebit-product-overview.is-market-maker .onebit-product-total {
    border-color: #dce9e4;
}

.onebit-product-total > strong {
    margin-top: 10px;
    font-size: clamp(32px, 3vw, 44px);
}

.onebit-product-kpis {
    grid-area: kpis;
    align-self: stretch;
    margin: 0;
}

.onebit-product-kpis > span {
    display: flex;
    min-height: 82px;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.onebit-product-subhead {
    grid-area: subhead;
    margin: 2px 0 0;
}

.onebit-product-tier-list,
.onebit-mm-term-grid {
    grid-area: detail;
    margin: 0;
}

.onebit-product-tier-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.onebit-product-tier-list > div {
    grid-template-columns: 76px minmax(54px, 1fr) 104px;
    min-height: 62px;
    border: 1px solid #ebe5d9;
    border-radius: 11px;
    background: #fff;
    padding: 8px 10px;
}

.onebit-mm-term-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.onebit-mm-term-grid > div {
    min-height: 76px;
    background: #fff;
}

.onebit-product-funds,
.onebit-mm-daily {
    grid-area: foot;
    margin: 0;
}

.onebit-product-funds > span,
.onebit-mm-daily > span {
    min-height: 62px;
    background: #fff;
}

.onebit-network-strip,
.onebit-treasury-panel,
.onebit-board-footer {
    box-shadow: 0 5px 18px rgba(42, 38, 30, .04);
}

.onebit-network-strip,
.onebit-treasury-panel {
    background: #fffdfa;
}

.onebit-register,
.onebit-contract-table-wrap,
.onebit-performance-toolbar,
#onebitReferralTopology .rtw-shell.is-theme-light,
.onebit-document-block {
    border-radius: 12px;
    box-shadow: none;
}

@media (max-width: 1000px) {
    .onebit-product-overview {
        grid-template-columns: 170px 225px minmax(0, 1fr);
    }

    .onebit-product-tier-list > div {
        grid-template-columns: 68px minmax(40px, 1fr) 84px;
        gap: 7px;
    }

    .onebit-mm-term-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .onebit-shell {
        width: calc(100% - 20px);
    }

    #funds.onebit-live-board {
        margin-top: 18px;
    }

    .onebit-section,
    .onebit-referral-section {
        margin-top: 12px;
        border-radius: 16px;
        padding: 14px;
    }

    .onebit-board-heading,
    .onebit-section-heading,
    .onebit-referral-section .onebit-section-heading {
        padding: 0 0 13px;
    }

    .onebit-section-heading,
    .onebit-referral-section .onebit-section-heading {
        margin-bottom: 10px;
    }

    .onebit-product-overview {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "total"
            "kpis"
            "subhead"
            "detail"
            "foot";
        gap: 10px;
        border-radius: 16px;
        padding: 16px;
    }

    .onebit-product-head {
        flex-direction: row;
        justify-content: space-between;
        border-right: 0;
        border-bottom: 1px solid #ebe6dc;
        padding: 2px 0 14px;
    }

    .onebit-product-overview.is-market-maker .onebit-product-head {
        border-right: 0;
        border-bottom-color: #dce9e4;
    }

    .onebit-product-head > i {
        order: 0;
        width: 42px;
        height: 42px;
        margin: 0;
    }

    .onebit-product-total {
        padding: 13px;
    }

    .onebit-product-total > strong {
        font-size: 36px;
    }

    .onebit-product-kpis > span {
        min-height: 70px;
    }

    .onebit-product-tier-list {
        display: block;
    }

    .onebit-product-tier-list > div {
        margin-top: 8px;
    }

    .onebit-mm-term-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
