/* Earnings only. Shared logo, shell, themes and bottom navigation stay unchanged. */
.bn-ui .ed-dashboard{--ed-accent:#F7F700;--ed-edge:#858D79;--ed-bar:#141615;--ed-negative:#A44938;font-family:var(--bn-font-ui);color:var(--bn-ink);min-width:0}
html[data-participant-theme=dark] .bn-ui .ed-dashboard{--ed-edge:#7D8471;--ed-bar:#F7F700;--ed-negative:#E8A18E}
.bn-ui .ed-dashboard *{box-sizing:border-box}
.bn-ui .cw-shell .ed-dashboard :is(h1,h2,h3){font-family:var(--bn-font-ui);font-weight:700;text-transform:none;margin:0;letter-spacing:-.4px}
.bn-ui .cw-shell .ed-dashboard h1{font-size:28px;line-height:1.2}
.bn-ui .cw-shell .ed-dashboard h2{font-size:19px;line-height:1.35}
.bn-ui .cw-shell .ed-dashboard h3{font-size:15px;line-height:1.4;letter-spacing:0}
.bn-ui .ed-dashboard p{margin:0;color:var(--ps-muted);font-size:14px;line-height:1.55}
.bn-ui .ed-dashboard a{color:inherit;text-decoration:none}
.bn-ui .ed-dashboard :is(button,select){font-family:inherit;color:inherit;line-height:1.4}
.bn-ui .ed-dashboard .ed-page-heading{margin-bottom:22px}
.bn-ui .ed-page-heading>p{margin-top:6px}
.bn-ui .ed-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;align-items:start}
.bn-ui .ed-wallet{min-width:0;border:1px solid var(--ps-rim);border-radius:28px;padding:20px 22px 0;background:linear-gradient(135deg,var(--ps-card) 62%,var(--ps-warm-end));box-shadow:var(--ps-shadow)}
.bn-ui .ed-wallet-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.bn-ui .cw-shell .ed-wallet-top h2{font-size:14px;letter-spacing:.5px;text-transform:uppercase}
.bn-ui .ed-icon-button{appearance:none;display:grid;place-items:center;flex:none;width:44px;height:44px;background:var(--ps-inset);border:1px solid var(--ps-line);border-radius:50%;padding:0;cursor:pointer}
.bn-ui .ed-icon-button svg{display:block;width:20px;height:20px}
.bn-ui .ed-bp>span{font-size:14px;color:var(--ps-muted)}
.bn-ui .ed-bp>div{margin:4px 0 24px}
.bn-ui .ed-points{display:inline-block;max-width:100%;font-variant-numeric:tabular-nums;line-height:1.3;overflow-wrap:anywhere}
.bn-ui .ed-points>span:first-child{overflow-wrap:anywhere;min-width:0;max-width:100%}
.bn-ui .ed-unit{display:inline-block;font-size:13px;font-weight:500;letter-spacing:0;white-space:nowrap;margin-left:5px}
.bn-ui .ed-bp .ed-points{font-size:46px;font-weight:700;letter-spacing:-1.5px}
.bn-ui .ed-bp .ed-unit{font-size:18px;margin-left:3px;color:var(--ps-muted)}
.bn-ui .ed-wallet-rows{display:grid;gap:14px;padding:0 0 20px;margin:0}
.bn-ui .ed-wallet-rows>div{display:flex;align-items:baseline;flex-wrap:wrap;justify-content:space-between;gap:4px 16px}
.bn-ui .ed-wallet-rows dt{font-size:14px;color:var(--ps-muted)}
.bn-ui .ed-wallet-rows dd{font-size:17px;font-weight:700;margin:0;max-width:100%}
.bn-ui .ed-wallet-actions{display:flex;gap:10px;border-top:1px solid var(--ps-line);padding-top:20px}
.bn-ui .ed-wallet-actions>.ed-action{flex:1 1 0;min-width:0}
.bn-ui .ed-wallet-actions>.ed-action svg{width:17px;height:17px;flex:none}
.bn-ui .ed-dashboard .ed-action{appearance:none;min-height:48px;padding:12px 10px;border:1px solid var(--ed-edge);border-radius:16px;background:var(--ps-inset);box-shadow:var(--ps-small-shadow);display:flex;align-items:center;justify-content:center;gap:7px;font-size:14px;line-height:1.4;font-weight:700;text-align:center;cursor:pointer}
.bn-ui .ed-action>span{min-width:0}
.bn-ui .ed-dashboard .ed-action-topup{background:var(--ed-accent);color:#141615;border-color:#B2B335;box-shadow:inset 0 1px 0 #FFFFAD,0 3px 8px #14161508}
.bn-ui .ed-dashboard :is(.ed-action,.ed-icon-button):hover{filter:brightness(.98)}
.bn-ui .ed-dashboard :is(.ed-action,.ed-icon-button):disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
.bn-ui .ed-balance-details{margin-top:6px}
.bn-ui .ed-balance-details>summary{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;font-size:13px;font-weight:500}
.bn-ui .ed-balance-details>summary::-webkit-details-marker{display:none}
.bn-ui .ed-balance-details[open]>summary>span{transform:rotate(45deg)}
.bn-ui .ed-balance-details>div{border-top:1px solid var(--ps-line);padding:12px 0 20px}
.bn-ui .ed-balance-details dl{margin:0 0 12px}
.bn-ui .ed-balance-details dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:4px 14px;flex-wrap:wrap;margin-bottom:9px;font-size:13px}
.bn-ui .ed-balance-details dd{margin:0;font-weight:500;overflow-wrap:anywhere}
.bn-ui .ed-balance-details p{font-size:13px;margin-top:10px}
.bn-ui .ed-insights{min-width:0;background:var(--ps-card);border:1px solid var(--ps-rim);border-radius:26px;box-shadow:var(--ps-shadow);padding:22px}
.bn-ui .ed-section-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.bn-ui .ed-section-row>h2{flex:1 1 145px;min-width:0}
.bn-ui .ed-rewards>.ed-section-row{gap:14px 10px}
.bn-ui .ed-segment{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--ps-line);padding:3px;border-radius:13px;background:var(--ps-inset)}
.bn-ui .ed-segment a{display:grid;place-items:center;min-width:42px;min-height:36px;padding:6px 9px;font-size:13px;font-weight:700;border:1px solid transparent;border-radius:10px}
.bn-ui .ed-segment a.is-active{background:var(--ps-card);border-color:var(--ed-edge);box-shadow:var(--ps-small-shadow)}
.bn-ui .ed-dashboard .ed-period-label{font-size:12px;margin:14px 0 20px}
.bn-ui .ed-reward-total>span{font-size:13px;font-weight:500;color:var(--ps-muted)}
.bn-ui .ed-pair{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 24px}
.bn-ui .ed-reward-total>.ed-pair{margin:5px 0 9px;gap:8px 28px}
.bn-ui .ed-reward-total .ed-points{font-size:30px;font-weight:700;letter-spacing:-.9px}
.bn-ui .ed-reward-total .ed-unit{font-size:14px;color:var(--ps-muted)}
.bn-ui .ed-reward-total>p{font-size:12px}
.bn-ui .ed-trend{margin-top:28px}
.bn-ui .ed-unit-switch a{min-height:30px;min-width:38px;font-size:12px}
.bn-ui .ed-chart{margin-top:20px;position:relative;min-width:0}
.bn-ui .ed-chart-scale{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--ps-muted);margin-bottom:10px}
.bn-ui .ed-bars{display:grid;gap:6px;min-width:0;background:linear-gradient(to bottom,transparent 31%,var(--ps-line) 31%,var(--ps-line) 31.5%,transparent 31.5%,transparent 62%,var(--ps-line) 62%,var(--ps-line) 62.5%,transparent 62.5%)}
.bn-ui .ed-bar-button{display:flex;flex-direction:column;gap:10px;align-items:center;border-radius:7px;padding:0 2px 4px;min-width:0}
.bn-ui .ed-bar-button:is(:hover,.is-selected){background:var(--ps-inset)}
.bn-ui .ed-bar-track{display:block;height:124px;position:relative;width:100%;max-width:38px;border-bottom:1px solid var(--ed-edge)}
.bn-ui .ed-bar{display:block;position:absolute;bottom:0;left:15%;width:70%;background:var(--ed-bar);border-radius:5px 5px 0 0;min-height:0}
.bn-ui .ed-bar-button.is-selected .ed-bar{background:var(--bn-ink);outline:2px solid var(--ed-accent);outline-offset:2px}
.bn-ui .ed-zero-mark{position:absolute;bottom:0;left:20%;width:60%;height:2px;background:var(--ed-bar)}
.bn-ui .ed-bars.has-negative .ed-bar-track{height:150px;border:0;background:linear-gradient(transparent 49.5%,var(--ed-edge) 49.5%,var(--ed-edge) 50.5%,transparent 50.5%)}
.bn-ui .ed-bars.has-negative .ed-bar{bottom:50%;transform:scaleY(.5);transform-origin:bottom}
.bn-ui .ed-bars.has-negative .ed-bar.is-negative{top:50%;bottom:auto;transform-origin:top;background:repeating-linear-gradient(45deg,var(--ed-negative),var(--ed-negative) 3px,var(--ps-card) 3px,var(--ps-card) 5px);border-radius:0 0 5px 5px}
.bn-ui .ed-bars.has-negative .ed-zero-mark{bottom:50%}
.bn-ui .ed-bar-date{font-size:12px;font-weight:700;text-align:center;line-height:1.35}
.bn-ui .ed-bar-date small{display:block;font-size:10px;font-weight:400;color:var(--ps-muted);margin-top:3px}
.bn-ui .ed-dashboard .ed-caption{font-size:12px;color:var(--ps-muted);line-height:1.5}
.bn-ui .ed-trend>.ed-caption{margin-top:13px}
.bn-ui .ed-dashboard .ed-tap-hint{font-size:12px;margin-top:7px}
.bn-ui .ed-chart-pages{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:10px;font-size:12px}
.bn-ui .ed-chart-pages .ed-link{font-size:12px;min-height:32px}
.bn-ui .ed-day-detail{border-top:1px solid var(--ps-line);margin-top:16px;padding-top:16px}
.bn-ui .ed-day-detail>div:first-child{display:flex;justify-content:space-between;gap:5px 12px;flex-wrap:wrap;font-size:13px}
.bn-ui .ed-day-detail>div:first-child>span{color:var(--ps-muted);font-size:12px}
.bn-ui .ed-day-detail>.ed-pair{font-size:20px;font-weight:700;margin:10px 0 4px}
.bn-ui .ed-adjustment-details{font-size:13px;margin-top:14px}
.bn-ui .ed-adjustment-details>summary{cursor:pointer;min-height:40px;padding:9px 0}
.bn-ui .ed-adjustments{display:grid;gap:8px;font-size:13px;margin:14px 0}
.bn-ui .ed-adjustments>div{display:block;min-width:0}
.bn-ui .ed-adjustments dt{margin-bottom:5px;color:var(--ps-muted)}
.bn-ui .ed-adjustments dd{display:flex;gap:8px 16px;flex-wrap:wrap;margin:0;max-width:100%;min-width:0}
.bn-ui .ed-empty{padding:28px 6px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:7px}
.bn-ui .ed-empty-symbol{width:44px;height:44px;border-radius:14px;background:var(--ps-inset);display:grid;place-items:center;margin-bottom:7px;font-size:24px;color:var(--ps-muted)}
.bn-ui .ed-empty-symbol svg{width:21px;height:21px}
.bn-ui .ed-empty strong{font-size:15px}
.bn-ui .ed-empty p{font-size:13px;max-width:34ch}
.bn-ui .ed-empty .ed-link{margin-top:4px}
.bn-ui .ed-sources{border-top:1px solid var(--ps-line);padding-top:23px;margin-top:22px}
.bn-ui .ed-sources>.ed-caption{margin-top:5px}
.bn-ui .ed-sources ul,.bn-ui .ed-records{list-style:none;margin:12px 0 0;padding:0}
.bn-ui .ed-source-row{display:grid;grid-template-columns:32px minmax(0,1fr) 78px 8px;gap:10px;align-items:center;padding:17px 0;border-bottom:1px solid var(--ps-line)}
.bn-ui .ed-sources li:last-child .ed-source-row{border-bottom:0}
.bn-ui .ed-source-icon,.bn-ui .ed-record-icon{width:32px;height:36px;border-radius:12px;background:var(--ps-inset);display:grid;place-items:center;color:var(--bn-ink)}
.bn-ui .ed-source-icon svg,.bn-ui .ed-record-icon svg{width:18px;height:18px}
.bn-ui .ed-source-name{display:block;font-size:14px;line-height:1.45;font-weight:500;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.bn-ui .ed-source-values{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:700;align-items:flex-end;min-width:0;max-width:100%;overflow-wrap:anywhere}
.bn-ui .ed-source-values .ed-unit{font-size:11px;color:var(--ps-muted)}
.bn-ui .ed-chevron{font-size:21px;color:var(--ps-muted)}
.bn-ui .ed-dashboard .ed-link{display:inline-block;min-height:40px;padding:6px 0;font-size:13px;font-weight:500;line-height:1.5}
.bn-ui .ed-link>span{margin-left:6px}
.bn-ui .ed-link:hover{text-decoration:underline}
.bn-ui .ed-recent{min-width:0;padding:0 2px}
.bn-ui .ed-recent>.ed-caption{margin-top:3px}
.bn-ui .ed-record-row{display:grid;grid-template-columns:36px minmax(0,1fr) minmax(65px,auto) 8px;align-items:start;gap:10px;padding:19px 0;border-bottom:1px solid var(--ps-line)}
.bn-ui .ed-record-row:hover .ed-record-copy strong{text-decoration:underline}
.bn-ui .ed-record-icon{width:36px;height:40px}
.bn-ui .ed-record-copy{min-width:0;display:flex;flex-direction:column;gap:5px}
.bn-ui .ed-record-copy strong{font-size:14px;line-height:1.45}
.bn-ui .ed-record-copy>span{font-size:12px;color:var(--ps-muted);line-height:1.5}
.bn-ui .ed-record-copy small{font-size:11px;line-height:1.5;color:var(--ps-muted)}
.bn-ui .ed-record-values{display:flex;flex-direction:column;align-items:flex-end;gap:7px;max-width:155px;font-size:14px;font-weight:700}
.bn-ui .ed-record-values .ed-unit{font-size:11px}
.bn-ui .ed-status{display:inline-flex;align-items:center;gap:5px;border-radius:7px;background:var(--ps-inset);padding:4px 7px;color:var(--bn-ink);font-size:11px;font-weight:500;line-height:1.35;max-width:100%;overflow-wrap:anywhere}
.bn-ui .ed-rules{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:2px 16px;border-top:1px solid var(--ps-line);margin:26px 0 8px;padding-top:13px}
.bn-ui .ed-rules>span{font-size:12px;color:var(--ps-muted)}
.bn-ui .ed-back{margin:-6px 0 14px}
.bn-ui .ed-activity-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:20px 0}
.bn-ui .ed-activity-tabs a{min-height:42px;padding:10px 13px;border-radius:13px;border:1px solid var(--ed-edge);font-size:13px;background:var(--ps-card)}
.bn-ui .ed-activity-tabs a.is-active{background:var(--bn-ink);color:var(--ps-card);border-color:var(--bn-ink)}
.bn-ui .ed-filters{padding:0 16px;border:1px solid var(--ps-line);border-radius:18px;background:var(--ps-card);margin-bottom:26px}
.bn-ui .ed-filters>summary{min-height:50px;display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;font-size:14px;font-weight:500}
.bn-ui .ed-filters form{display:flex;flex-direction:column;gap:16px;margin:10px 0}
.bn-ui .ed-filters label{display:flex;flex-direction:column;gap:7px;font-size:13px;min-width:0}
.bn-ui .ed-filters select{appearance:auto;font-size:16px;background:var(--ps-inset);border:1px solid var(--ed-edge);border-radius:12px;padding:11px 9px;min-width:0;max-width:100%}
.bn-ui .ed-filters .ed-action{align-self:stretch;max-width:100%}
.bn-ui .ed-record-detail{margin-top:22px;padding:24px;border-radius:24px;border:1px solid var(--ps-rim);background:var(--ps-card);box-shadow:var(--ps-shadow)}
.bn-ui .ed-detail-amounts{display:flex;flex-wrap:wrap;gap:12px 28px;font-size:30px;font-weight:700;margin-bottom:15px}
.bn-ui .ed-record-detail dl{margin:23px 0 10px}
.bn-ui .ed-record-detail dl>div{display:grid;grid-template-columns:minmax(95px,.4fr) minmax(0,1fr);gap:6px 20px;padding:13px 0;border-top:1px solid var(--ps-line);font-size:14px}
.bn-ui .ed-record-detail dt{color:var(--ps-muted)}
.bn-ui .ed-record-detail dd{margin:0;overflow-wrap:anywhere}
.bn-ui .ed-unavailable{font-size:12px;color:var(--ps-muted)}
.bn-ui .ed-dashboard :focus-visible{outline:3px solid var(--bn-ink);outline-offset:3px}
html[data-participant-theme=dark] .bn-ui .ed-dashboard :focus-visible{outline-color:#F7F700}
@media(min-width:900px){
 .bn-ui .ed-filters form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .bn-ui .ed-layout{grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);column-gap:28px;row-gap:30px}
 .bn-ui .ed-wallet{grid-column:1;grid-row:1;padding:24px 26px 0}
 .bn-ui .ed-insights{grid-column:2;grid-row:1 / span 2;padding:28px}
 .bn-ui .ed-recent{grid-column:1;grid-row:2}
 .bn-ui .ed-example .ed-layout{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
 .bn-ui .ed-example .ed-insights{grid-column:1;grid-row:1}
 .bn-ui .ed-example .ed-recent{grid-column:2;grid-row:1}
 .bn-ui .ed-activity-page,.bn-ui .ed-detail{max-width:780px;margin:0 auto}
}
@media(max-width:380px){
 .bn-ui .ed-wallet{padding-left:18px;padding-right:18px}
 .bn-ui .ed-insights{padding:20px 18px}
 .bn-ui .ed-source-row{gap:8px;grid-template-columns:28px minmax(0,1fr) 72px 8px}
 .bn-ui .ed-source-icon{width:28px}
 .bn-ui .ed-source-values{max-width:95px}
 .bn-ui .ed-record-row{grid-template-columns:30px minmax(0,1fr) minmax(60px,auto);gap:9px}
 .bn-ui .ed-record-row>.ed-chevron{display:none}
 .bn-ui .ed-record-icon{width:30px}
 .bn-ui .ed-record-values{max-width:115px}
 .bn-ui .ed-filters form{grid-template-columns:minmax(0,1fr)}
 .bn-ui .ed-record-detail{padding:19px}
}
@media(prefers-reduced-motion:reduce){.bn-ui .ed-dashboard *{transition:none;scroll-behavior:auto}}

.bn-ui .ed-dashboard .ed-wallet-note{font-size:12px;line-height:1.5;margin:12px 0 0;color:var(--ps-muted)}
