:root {
    --coal: #070b10;
    --coal-2: #101820;
    --coal-3: #19242d;
    --steel: #9cb0c2;
    --ice: #eef6ff;
    --blue: #246fca;
    --blue-2: #79b7ff;
    --signal: #f1b24a;
    --danger: #d94a4a;
    --success: #3ac28b;
    --line: #30404d;
    --paper: #f2f5f7;
    --ink: #101820;
}

* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", sans-serif; color: var(--ink); background: var(--paper); letter-spacing: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
h1, h2, h3, .br-brand strong, .br-page-kicker, .br-eyebrow { font-family: "Barlow Condensed", sans-serif; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }

.br-brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; min-width: 0; }
.br-brand img { width: 44px; height: 44px; flex: 0 0 auto; }
.br-brand span { display: grid; line-height: 1; }
.br-brand strong { font-size: 1.15rem; color: var(--ice); }
.br-brand small { margin-top: .28rem; color: var(--blue-2); font-size: .62rem; font-weight: 700; letter-spacing: .14em; }
.br-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .72rem 1.1rem; border: 1px solid var(--blue-2); border-radius: 3px; background: var(--blue); color: white; font-weight: 700; text-decoration: none; cursor: pointer; }
.br-button:hover { background: #185eae; color: white; }
.br-button.light { background: var(--ice); border-color: var(--ice); color: var(--coal); }
.br-button.dark { background: var(--coal); border-color: var(--coal); }
.br-button.gold { background: var(--signal); border-color: var(--signal); color: var(--coal); }
.br-line-link { color: var(--ice); text-underline-offset: 5px; }

/* Public frame */
.br-public-body { background: var(--coal); color: var(--ice); }
.br-public-nav { height: 76px; padding: 0 clamp(1rem, 4vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--coal); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.br-public-nav nav { display: flex; align-items: center; gap: 1.55rem; }
.br-public-nav nav > a:not(.br-button) { color: var(--steel); text-decoration: none; font-size: .88rem; font-weight: 600; }
.br-public-nav nav > a:hover { color: white; }
.br-public-tools { display: flex; align-items: center; gap: .65rem; }
.br-currency-tool { display: flex; align-items: center; gap: .5rem; }
.br-currency-tool label { margin: 0; color: var(--steel); font-size: .7rem; text-transform: uppercase; font-weight: 700; }
.br-currency-tool select { min-height: 38px; border: 1px solid var(--line); border-radius: 3px; background: var(--coal-2); color: var(--ice); padding: 0 .65rem; }
.br-menu-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 3px; background: transparent; display: none; padding: 10px; }
.br-menu-button span { display: block; height: 2px; margin: 4px 0; background: var(--ice); }
.br-public-footer { min-height: 110px; padding: 1.5rem clamp(1rem, 4vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); background: #05080c; color: var(--steel); }
.br-public-footer p { margin: 0; }

/* Landing */
.br-mine-hero { min-height: calc(100vh - 76px); max-height: 900px; position: relative; overflow: hidden; display: flex; align-items: center; padding: 4rem clamp(1.25rem, 7vw, 7rem) 10rem; }
.br-mine-hero-image, .br-mine-hero-shade { position: absolute; inset: 0; }
.br-mine-hero-image { background: url("/images/black-rock-mine-hero.png") center / cover no-repeat; }
.br-mine-hero-shade { background: rgba(3, 8, 15, .48); }
.br-mine-hero-copy { position: relative; z-index: 2; width: min(650px, 52vw); }
.br-eyebrow, .br-page-kicker { display: block; color: var(--blue-2); font-size: .78rem; font-weight: 700; }
.br-mine-hero h1 { margin: .8rem 0 1rem; font-size: clamp(4rem, 8vw, 8rem); line-height: .78; text-transform: uppercase; color: white; }
.br-mine-hero h1 strong { color: var(--blue-2); font-weight: 600; }
.br-mine-hero-copy > p { max-width: 580px; color: #d5e1ec; font-size: 1.05rem; line-height: 1.7; }
.br-hero-actions { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; margin-top: 1.7rem; }
.br-hero-readout { position: absolute; z-index: 3; left: clamp(1.25rem, 7vw, 7rem); right: clamp(1.25rem, 7vw, 7rem); bottom: 0; min-height: 118px; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(7, 11, 16, .92); border-top: 4px solid var(--blue); }
.br-hero-readout > div { padding: 1.15rem 1.5rem; display: grid; border-right: 1px solid var(--line); }
.br-hero-readout > div:last-child { border-right: 0; }
.br-hero-readout span, .br-hero-readout small { color: var(--steel); font-size: .7rem; font-weight: 700; }
.br-hero-readout strong { color: white; font-family: "Barlow Condensed", sans-serif; font-size: 2rem; }
.br-yield-board { padding: 5rem clamp(1.25rem, 7vw, 7rem); background: var(--paper); color: var(--ink); }
.br-yield-board > header { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.br-yield-board h2, .br-reward-yard h2, .br-access-strip h2 { margin: .4rem 0 0; font-size: clamp(2.6rem, 5vw, 5rem); line-height: .9; text-transform: uppercase; }
.br-yield-board header p { color: #53626e; line-height: 1.7; }
.br-calculator { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); border: 1px solid #aebbc5; border-top: 4px solid var(--coal); background: #fff; }
.br-calculator-controls { padding: clamp(1.4rem, 4vw, 3rem); border-right: 1px solid #c8d1d8; }
.br-calculator-label { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.br-calculator-label span, .br-period-control legend { color: #60717e; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.br-calculator-label strong { color: var(--blue); font: 700 clamp(1.8rem, 4vw, 3.3rem) "Barlow Condensed", sans-serif; }
.br-calculator-number { width: 100%; margin: 1.2rem 0; padding: .75rem 0; border: 0; border-bottom: 2px solid var(--coal); border-radius: 0; background: transparent; color: var(--coal); font: 700 clamp(2.2rem, 5vw, 4.5rem) "Barlow Condensed", sans-serif; }
.br-calculator-number:focus { outline: 0; border-bottom-color: var(--blue); }
.br-calculator-range { width: 100%; accent-color: var(--blue); }
.br-calculator-bounds { display: flex; justify-content: space-between; color: #6d7b86; font-size: .72rem; }
.br-period-control { margin: 2rem 0 0; padding: 0; border: 0; }
.br-period-control legend { margin-bottom: .65rem; }
.br-period-control label { display: inline-block; margin: 0 .45rem .45rem 0; }
.br-period-control input { position: absolute; opacity: 0; pointer-events: none; }
.br-period-control span { min-width: 82px; min-height: 42px; padding: .65rem .9rem; display: inline-grid; place-items: center; border: 1px solid #aebbc5; background: #f5f7f9; color: #40515d; font-size: .78rem; font-weight: 700; cursor: pointer; }
.br-period-control input:checked + span { border-color: var(--coal); background: var(--coal); color: white; }
.br-period-control input:focus-visible + span { outline: 3px solid rgba(36, 111, 202, .35); outline-offset: 2px; }
.br-calculator-output { padding: clamp(1.4rem, 4vw, 3rem); display: grid; align-content: start; background: #0d151d; color: white; }
.br-calculator-code { margin-bottom: 1rem; color: var(--blue-2); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.br-calculator-output > div { padding: 1rem 0; display: grid; gap: .25rem; border-bottom: 1px solid #30404d; }
.br-calculator-output small { color: var(--steel); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.br-calculator-output strong { font: 700 2rem "Barlow Condensed", sans-serif; }
.br-calculator-output .total strong { color: var(--blue-2); font-size: 2.6rem; }
.br-calculator-output p { margin: 1.2rem 0 0; color: #8fa0ad; font-size: .72rem; line-height: 1.6; }
.br-yield-rules { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; border: 1px solid #c7d0d7; }
.br-yield-rules > div { padding: 1.25rem; display: flex; gap: 1rem; border-right: 1px solid #c7d0d7; }
.br-yield-rules > div:last-child { border-right: 0; }
.br-yield-rules span { color: var(--blue); font: 700 1.6rem "Barlow Condensed", sans-serif; }
.br-yield-rules p { margin: 0; line-height: 1.5; }
.br-yield-rules strong { display: block; }
.br-reward-yard { padding: 5rem clamp(1.25rem, 7vw, 7rem); background: var(--coal-2); }
.br-reward-yard > header { max-width: 850px; margin-bottom: 2.5rem; }
.br-reward-yard header p { color: var(--steel); max-width: 700px; line-height: 1.7; }
.br-reward-track { border-top: 1px solid var(--line); }
.br-reward-track article { display: grid; grid-template-columns: 90px 1.2fr 1fr; align-items: center; min-height: 92px; border-bottom: 1px solid var(--line); }
.br-reward-track article > span { font: 700 2.5rem "Barlow Condensed", sans-serif; color: var(--blue-2); }
.br-reward-track small { color: var(--steel); font-size: .65rem; font-weight: 700; }
.br-reward-track h3 { margin: .2rem 0 0; font-size: 1.5rem; text-transform: uppercase; }
.br-reward-track p { margin: 0; color: var(--ice); text-align: right; font-weight: 700; }
.br-access-strip { padding: 3rem clamp(1.25rem, 7vw, 7rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--blue); }
.br-access-strip h2 { max-width: 850px; font-size: clamp(2rem, 4vw, 4rem); }

/* Auth */
.br-auth-stage { min-height: calc(100vh - 76px); padding: clamp(1.25rem, 5vw, 5rem); display: grid; place-items: center; position: relative; isolation: isolate; background: #05090e url("/images/black-rock-mine-hero.png") center / cover no-repeat; }
.br-auth-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(3, 8, 13, .84); }
.br-auth-frame { width: min(1000px, 100%); display: grid; grid-template-columns: 210px minmax(0, 1fr); border: 1px solid #344757; background: #091119; color: #eef5fa; box-shadow: 18px 18px 0 rgba(1, 5, 9, .58); }
.br-auth-frame.register { width: min(1160px, 100%); }
.br-auth-rail { min-height: 590px; padding: 1.5rem; display: flex; flex-direction: column; background: #102333; border-right: 1px solid #344757; }
.br-auth-rail img { width: 62px; height: 62px; object-fit: contain; margin-bottom: 2rem; }
.br-auth-rail-kicker { color: #83bff2; font: 700 .72rem "Barlow Condensed", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.br-auth-rail h2 { margin: .45rem 0 1.8rem; font-size: 2rem; line-height: .95; text-transform: uppercase; }
.br-auth-status { margin: 0; display: grid; gap: 0; border-top: 1px solid #405363; }
.br-auth-status div { padding: .85rem 0; display: grid; gap: .15rem; border-bottom: 1px solid #405363; }
.br-auth-status dt { color: #8ea1b0; font-size: .67rem; font-weight: 700; text-transform: uppercase; }
.br-auth-status dd { margin: 0; color: #fff; font: 700 1.05rem "Barlow Condensed", sans-serif; }
.br-auth-home { margin-top: auto; padding-top: 1.5rem; color: #a7c9e5; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.br-auth-terminal { min-width: 0; padding: clamp(1.5rem, 4vw, 3.5rem); background: #091119; }
.br-auth-terminal-bar { margin-bottom: 2.25rem; padding-bottom: .7rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #344757; color: #8195a5; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.br-auth-terminal-bar strong { color: #52a7ea; letter-spacing: .08em; }
.br-auth-title { margin-bottom: 2rem; }
.br-auth-title > span { color: #52a7ea; font: 700 .75rem "Barlow Condensed", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.br-auth-title h1 { margin: .35rem 0 .65rem; color: #fff; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: .9; text-transform: uppercase; }
.br-auth-title p { max-width: 610px; margin: 0; color: #9eafbc; line-height: 1.6; }
.br-auth-form { display: grid; gap: 1.1rem; }
.br-auth-form label { display: block; margin-bottom: .4rem; color: #b9c6d0; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.br-auth-form .br-input { min-height: 50px; border-color: #3a4d5d; background: #101c26; color: #fff; }
.br-auth-form .br-input:focus { border-color: #52a7ea; box-shadow: inset 4px 0 0 #52a7ea; }
.br-auth-options { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #aab8c3; font-size: .8rem; }
.br-auth-options label { margin: 0; display: flex; align-items: center; gap: .5rem; text-transform: none; }
.br-auth-options input { accent-color: #52a7ea; }
.br-auth-stage a { color: #82c6fa; }
.br-auth-stage .br-button { min-height: 50px; border: 1px solid #67b6ee; background: #1676b7; color: #fff; box-shadow: 5px 5px 0 #04101a; }
.br-auth-stage .br-button:hover { background: #2092dc; }
.br-auth-foot { margin: 1.6rem 0 0; padding-top: 1rem; border-top: 1px solid #263845; color: #8fa0ad; font-size: .82rem; }
.br-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.br-auth-complete { padding: 1.25rem 0 .4rem; }
.br-auth-complete-mark { width: 54px; height: 54px; margin-bottom: 1.4rem; display: grid; place-items: center; border: 1px solid #52a7ea; color: #82c6fa; font: 700 1.4rem "Barlow Condensed", sans-serif; }

/* Portal frame */
.br-app-body { background: var(--paper); }
.br-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.br-rail { position: sticky; top: 0; height: 100vh; padding: 1.2rem 1rem; display: flex; flex-direction: column; background: var(--coal); color: var(--ice); border-right: 1px solid var(--line); z-index: 40; }
.br-rail > .br-brand { padding: .3rem .3rem 1.2rem; }
.br-rail-status { margin: .3rem .3rem 1.5rem; padding: .6rem .7rem; display: flex; align-items: center; gap: .55rem; border-left: 3px solid var(--success); background: var(--coal-2); color: var(--steel); font-size: .72rem; }
.br-rail-status i { width: 7px; height: 7px; background: var(--success); }
.br-rail nav { overflow-y: auto; display: grid; gap: .18rem; }
.br-rail nav > span { margin: 1rem .65rem .35rem; color: #607383; font-size: .62rem; font-weight: 700; text-transform: uppercase; }
.br-rail nav a { min-height: 39px; padding: .62rem .72rem; border-left: 3px solid transparent; color: #b4c2ce; text-decoration: none; font-size: .82rem; }
.br-rail nav a:hover { color: white; background: var(--coal-2); }
.br-rail nav a.active { color: white; border-left-color: var(--blue-2); background: #12263a; }
.br-rail-logout { margin-top: auto; padding-top: 1rem; }
.br-rail-logout button { width: 100%; min-height: 40px; border: 1px solid var(--line); background: transparent; color: var(--steel); }
.br-workspace { min-width: 0; display: flex; flex-direction: column; }
.br-workbar { min-height: 72px; padding: .8rem clamp(1rem, 3vw, 2.5rem); display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid #ccd4da; background: white; }
.br-workbar-title { display: grid; margin-right: auto; }
.br-workbar-title span { color: #71808b; font-size: .62rem; font-weight: 700; }
.br-workbar-title strong { font-size: .9rem; }
.br-profile-link { padding: .5rem .7rem; border-left: 1px solid #cbd4db; color: var(--ink); font-size: .8rem; font-weight: 700; text-decoration: none; }
.br-content { width: min(1500px, 100%); margin: 0 auto; padding: clamp(1rem, 3vw, 2.5rem); flex: 1; }
.br-app-footer { padding: 1rem clamp(1rem, 3vw, 2.5rem); display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #ccd4da; color: #75838e; font-size: .7rem; }

/* Shared portal components */
.br-page-head { margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.br-page-head h1 { margin: .2rem 0; font-size: clamp(2.2rem, 4vw, 4rem); line-height: .9; text-transform: uppercase; }
.br-page-head p { margin: 0; color: #687782; }
.br-head-total { font: 700 1.6rem "Barlow Condensed", sans-serif; color: var(--blue); white-space: nowrap; }
.br-alert, .alert { margin-bottom: 1rem; padding: .85rem 1rem; border: 0; border-left: 4px solid; border-radius: 0; }
.br-alert.success, .alert-success { background: #e8f7f1; border-color: var(--success); color: #155b43; }
.br-alert.error, .alert-danger { background: #fdecec; border-color: var(--danger); color: #7b2020; }
.br-status { padding: .55rem .75rem; border: 1px solid; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.br-status.open { color: #167754; border-color: var(--success); }
.br-status.closed { color: #a42e2e; border-color: var(--danger); }
.br-input, .form-control, .form-select { width: 100%; min-height: 44px; padding: .65rem .75rem; border: 1px solid #aebbc5; border-radius: 2px; background: white; color: var(--ink); }
.br-input:focus, .form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(36,111,202,.13); outline: 0; }
.br-panel, .br-admin-panel, .card { padding: 1.15rem; border: 1px solid #c8d1d8; border-radius: 4px; background: white; box-shadow: none; }
.card-header { margin: -1.15rem -1.15rem 1rem; padding: .85rem 1.15rem; border-bottom: 1px solid #c8d1d8; background: var(--coal-2); color: white; font: 700 1rem "Barlow Condensed", sans-serif; text-transform: uppercase; }
.card-body { padding: 0; }
.br-panel-head { margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.br-panel-head span { color: var(--blue); font-size: .66rem; font-weight: 700; }
.br-panel-head h2 { margin: .15rem 0 0; text-transform: uppercase; }
.br-panel-head > strong { color: #6c7a85; font-size: .75rem; }
.br-table-wrap { overflow-x: auto; }
.br-table, .table { width: 100%; border-collapse: collapse; }
.br-table th, .br-table td, .table th, .table td { padding: .75rem; border-bottom: 1px solid #d5dce1; text-align: left; vertical-align: middle; }
.br-table th, .table th { color: #677681; font-size: .65rem; text-transform: uppercase; }
.br-table td, .table td { font-size: .8rem; }
.br-positive { color: #0d8059; }
.br-empty-state, .br-empty { padding: 2rem; border: 1px dashed #aab7c1; display: grid; gap: .35rem; text-align: center; color: #6c7b86; }
.br-notice { margin: 1rem 0; padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-left: 4px solid var(--signal); background: #fff7e8; }
.br-notice div { display: grid; }
.br-notice span { color: #7a6845; font-size: .7rem; text-transform: uppercase; }
.br-notice a { font-weight: 700; }
.br-inline-warning { margin: .8rem 0; padding: .75rem; border-left: 3px solid var(--signal); background: #fff7e8; font-size: .8rem; }
.br-payment-grid { display: grid; grid-template-columns: 1.2fr .8fr; border-top: 5px solid var(--blue); background: white; }
.br-payment-primary, .br-payment-side { padding: clamp(1.2rem,3vw,2.2rem); }
.br-payment-primary { border-right: 1px solid #c8d1d8; }
.br-payment-primary > span, .br-payment-side > span { color: var(--blue); font-size: .68rem; font-weight: 700; }
.br-payment-primary h2 { margin: .3rem 0 1rem; text-transform: uppercase; }
.br-payment-primary dl { margin: 0; }
.br-payment-primary dl > div { padding: .75rem 0; display: grid; grid-template-columns: 140px 1fr; gap: 1rem; border-top: 1px solid #d1d9df; }
.br-payment-primary dt { color: #71808b; font-size: .72rem; }
.br-payment-primary dd { margin: 0; font-weight: 700; }
.br-address { word-break: break-all; }
.br-payment-side { background: var(--coal-2); color: white; }
.br-payment-side ol { margin: 1rem 0 2rem; padding-left: 1.2rem; color: var(--steel); line-height: 2; }
.br-text-button { border: 0; padding: 0; background: transparent; color: var(--blue-2); text-decoration: underline; cursor: pointer; }
.br-payout-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.br-inbox { display: grid; border-top: 4px solid var(--coal); background: white; }
.br-inbox-row { min-height: 76px; padding: 1rem; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #d3dbe1; }
.br-inbox-row.unread { border-left: 4px solid var(--blue); background: #edf5ff; }
.br-inbox-row p { margin: .25rem 0 0; }
.br-inbox-type { color: var(--blue); font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.br-inbox-row time { color: #73828d; font-size: .68rem; white-space: nowrap; }
.br-notification-bar { margin: 0; display: flex; justify-content: center; align-items: center; gap: 1rem; border-left: 0; border-bottom: 1px solid #c8d1d8; }
.br-notification-bar div { display: grid; }
.br-support-modal { border: 1px solid var(--line); border-radius: 3px; background: var(--coal-2); color: white; }
.br-support-modal .modal-header { border-bottom-color: var(--line); }
.br-search-line { margin-top: 1rem; padding: 1rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; background: white; border: 1px solid #c8d1d8; }
.br-search-line label { margin: 0; font-size: .75rem; font-weight: 700; }

/* Dashboard */
.br-production-board { display: grid; grid-template-columns: 1.15fr 1.3fr .65fr; min-height: 210px; background: var(--coal-2); color: white; border-top: 5px solid var(--blue); }
.br-production-total, .br-production-pulse { padding: 1.6rem; display: flex; flex-direction: column; justify-content: center; }
.br-production-total { border-right: 1px solid var(--line); }
.br-production-total span, .br-production-metrics span, .br-production-pulse span { color: var(--steel); font-size: .67rem; font-weight: 700; text-transform: uppercase; }
.br-production-total strong { margin: .4rem 0; font: 700 clamp(2.2rem, 4vw, 4rem) "Barlow Condensed", sans-serif; }
.br-production-total small, .br-production-pulse small { color: #8598a8; }
.br-production-metrics { display: grid; grid-template-columns: repeat(3, 1fr); }
.br-production-metrics > div { padding: 1.2rem; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.br-production-metrics strong { margin: .4rem 0; font: 700 1.5rem "Barlow Condensed", sans-serif; color: var(--ice); }
.br-production-metrics small { color: #8396a6; font-size: .68rem; }
.br-production-pulse { text-align: center; }
.br-production-pulse i { width: 12px; height: 12px; margin: 0 auto .8rem; background: var(--success); box-shadow: 0 0 0 6px rgba(58,194,139,.12); }
.br-production-pulse strong { font: 700 3.4rem "Barlow Condensed", sans-serif; color: var(--blue-2); }
.br-mine-map, .br-shift-log { margin-top: 1.5rem; padding: 1.2rem; background: white; border-top: 4px solid var(--coal); }
.br-mine-map > header, .br-shift-log > header { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.br-mine-map h2, .br-shift-log h2 { margin: .2rem 0 0; text-transform: uppercase; }
.br-haul-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.br-haul-grid article { padding: 1rem; display: grid; grid-template-columns: 72px 1fr; gap: .8rem 1rem; border: 1px solid #cbd4db; background: #f8fafb; }
.br-haul-id { grid-row: span 2; display: grid; place-content: center; text-align: center; background: var(--coal); color: white; }
.br-haul-id span { color: var(--blue-2); font-size: .62rem; }
.br-haul-id strong { font: 700 1.5rem "Barlow Condensed", sans-serif; }
.br-haul-route { display: flex; align-items: center; justify-content: space-between; position: relative; }
.br-haul-route::before { content: ""; position: absolute; left: 4px; right: 4px; height: 2px; background: #b7c5cf; }
.br-haul-route i { width: 9px; height: 9px; background: var(--blue); z-index: 1; }
.br-haul-grid dl { margin: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: .5rem; }
.br-haul-grid dt { color: #71808b; font-size: .6rem; }
.br-haul-grid dd { margin: .2rem 0 0; font-size: .72rem; font-weight: 700; }
.br-shift-log article { min-height: 54px; display: grid; grid-template-columns: 90px 1fr 120px 140px; align-items: center; border-top: 1px solid #d1d9df; font-size: .8rem; }
.br-shift-log time, .br-shift-log small { color: #71808b; }
.br-shift-log strong { text-align: right; color: #0d8059; }

/* Funding and payout */
.br-funding-bay { display: grid; grid-template-columns: 1.05fr .95fr; border-top: 5px solid var(--blue); background: white; }
.br-funding-form, .br-funding-spec { padding: clamp(1.3rem, 3vw, 2.5rem); }
.br-funding-form { border-right: 1px solid #c8d1d8; }
.br-funding-form h2 { margin: .3rem 0 1.5rem; font-size: 2.5rem; text-transform: uppercase; }
.br-funding-form form { display: grid; gap: 1rem; }
.br-money-input { display: grid; grid-template-columns: auto 1fr; border: 1px solid #9facb6; }
.br-money-input span { min-width: 70px; display: grid; place-content: center; background: var(--coal); color: white; font-weight: 700; }
.br-money-input input { min-width: 0; min-height: 58px; border: 0; padding: .7rem 1rem; font-size: 1.25rem; }
.br-output-preview { padding: 1rem; display: grid; background: #e9f2fd; border-left: 4px solid var(--blue); }
.br-output-preview span, .br-output-preview small { color: #5b6f7e; font-size: .68rem; }
.br-output-preview strong { margin: .2rem 0; color: #154e8c; font-size: 1.8rem; }
.br-funding-spec { background: var(--coal-2); color: white; }
.br-funding-spec dl { margin: 1.2rem 0; }
.br-funding-spec dl > div { padding: .8rem 0; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.br-funding-spec dt { color: var(--steel); font-size: .75rem; }
.br-funding-spec dd { margin: 0; font-weight: 700; }
.br-funding-spec p { color: var(--steel); line-height: 1.7; }
.br-payout-layout { display: grid; grid-template-columns: 1.2fr .8fr; border-top: 5px solid var(--blue); background: white; }
.br-payout-console, .br-payout-rules { padding: clamp(1.2rem,3vw,2.2rem); }
.br-payout-console { border-right: 1px solid #c8d1d8; }
.br-payout-console form { display: grid; gap: 1rem; }
.br-source-list { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.br-source-list legend { grid-column: 1/-1; font-size: .75rem; font-weight: 700; }
.br-source-list label { cursor: pointer; }
.br-source-list input { position: absolute; opacity: 0; }
.br-source-list label > span { min-height: 115px; padding: 1rem; display: grid; border: 1px solid #b9c5ce; background: #f8fafb; }
.br-source-list input:checked + span { border: 2px solid var(--blue); background: #edf5ff; }
.br-source-list b { font-size: .9rem; }
.br-source-list small { margin: .4rem 0; font-size: 1.1rem; }
.br-source-list em { color: #71808b; font-size: .68rem; font-style: normal; }
.br-payout-calculation { padding: .9rem; display: grid; border-left: 4px solid var(--blue); background: #edf5ff; }
.br-payout-calculation span, .br-payout-calculation small { color: #607383; font-size: .68rem; }
.br-payout-calculation strong { font-size: 1.5rem; }
.br-payout-rules { background: var(--coal-2); color: white; }
.br-payout-rules > div { padding: 1rem 0; display: grid; grid-template-columns: 85px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.br-payout-rules > div > strong { font: 700 2rem "Barlow Condensed", sans-serif; color: var(--blue-2); }
.br-payout-rules p { margin: 0; }
.br-payout-rules small { color: var(--steel); }
.br-payout-rules > a { display: inline-block; margin-top: 1.4rem; color: var(--ice); }

/* Compensation */
.br-team-gauges { margin-bottom: 1.4rem; display: grid; grid-template-columns: repeat(4,1fr); background: var(--coal-2); color: white; border-top: 4px solid var(--blue); }
.br-team-gauges > div { padding: 1rem 1.2rem; display: grid; border-right: 1px solid var(--line); }
.br-team-gauges span, .br-team-gauges small { color: var(--steel); font-size: .65rem; }
.br-team-gauges strong { margin: .3rem 0; font: 700 1.8rem "Barlow Condensed", sans-serif; }
.br-stage-register { padding: 1.2rem; background: white; border-top: 4px solid var(--coal); }
.br-stage-register > header { margin-bottom: 1rem; }
.br-stage-register h2 { margin: .2rem 0; text-transform: uppercase; }
.br-stage-register article { min-height: 88px; display: grid; grid-template-columns: 55px 1fr 90px 1.2fr 1.2fr; align-items: center; gap: 1rem; border-top: 1px solid #d0d8de; }
.br-stage-register article.reached { background: #edf8f4; }
.br-stage-number { font: 700 2rem "Barlow Condensed", sans-serif; color: var(--blue); text-align: center; }
.br-stage-name small, .br-stage-threshold small, .br-stage-progress small, .br-stage-reward small { color: #72818c; font-size: .6rem; }
.br-stage-name h3 { margin: .15rem 0; font-size: 1.1rem; text-transform: uppercase; }
.br-stage-threshold { display: grid; text-align: center; }
.br-stage-threshold strong { font: 700 1.6rem "Barlow Condensed", sans-serif; }
.br-stage-progress { display: grid; gap: .4rem; }
.br-stage-progress i { height: 5px; background: #d7dfe5; }
.br-stage-progress i b { display: block; width: var(--progress); height: 100%; background: var(--blue); }
.br-stage-reward { display: grid; text-align: right; }
.br-stage-reward strong { font-size: .78rem; }
.br-fulfil-form { display: flex; gap: .4rem; }
.br-fulfil-form input { min-width: 100px; }

/* Existing admin and member views */
.br-dashboard-grid, .br-banking-grid, .br-order-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.br-invite-strip { padding: 1.2rem; background: var(--coal-2); color: white; border-top: 4px solid var(--blue); }
.br-invite-strip code { color: var(--blue-2); word-break: break-all; }
.br-invite-line { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.br-copy-button, .btn { min-height: 36px; border-radius: 3px; }
.br-activity-list, .br-notification-list { display: grid; gap: .7rem; }
.br-ops-mast, .br-portfolio-mast { padding: 1.5rem; background: var(--coal-2); color: white; border-top: 5px solid var(--blue); }
.br-queue-run, .br-engine-spec, .br-comp-admin-stats { margin: 1rem 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: #c6d0d7; border: 1px solid #c6d0d7; }
.br-queue-run > *, .br-engine-spec > *, .br-comp-admin-stats > * { padding: 1rem; display: grid; background: white; color: var(--ink); text-decoration: none; }
.br-money-channels, .br-activity-stream, .br-position-stream, .br-pulse-console, .br-payout-window, .br-tier-sheet, .br-comp-mast, .br-comp-path { margin-top: 1rem; padding: 1.1rem; background: white; border: 1px solid #cad3da; }
.br-channel-lines > a, .br-position-line, .br-activity-stream article { min-height: 58px; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 1rem; border-top: 1px solid #d2d9df; text-decoration: none; }
.br-count-stamp { color: var(--blue); font-weight: 700; }
.text-muted { color: #6d7b86 !important; }

/* Member command console - structure adapted from the supplied ledger reference. */
.br-member-body { background: var(--coal); color: var(--ice); }
.br-member-body .br-shell { display: block; min-height: 100vh; }
.br-member-body .br-rail { position: sticky; top: 0; width: 100%; height: 72px; padding: 0 clamp(1rem, 3vw, 2.6rem); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: stretch; gap: 2rem; background: #080d13; border-right: 0; border-bottom: 1px solid #273442; z-index: 60; }
.br-member-body .br-rail > .br-brand { padding: 0 1.5rem 0 0; border-right: 1px solid #273442; }
.br-member-body .br-rail-status { display: none; }
.br-member-body .br-rail nav { overflow: visible; display: flex; align-items: stretch; gap: 0; }
.br-member-body .br-rail nav > span { display: none; }
.br-member-body .br-rail nav a { min-height: 72px; padding: 0 .85rem; display: grid; place-items: center; border-left: 0; border-bottom: 3px solid transparent; color: #8294a4; font: 700 .67rem "Barlow Condensed", sans-serif; text-transform: uppercase; white-space: nowrap; }
.br-member-body .br-rail nav a:hover { background: transparent; color: white; }
.br-member-body .br-rail nav a.active { color: var(--ice); border-left: 0; border-bottom-color: var(--blue-2); background: transparent; }
.br-member-body .br-rail-logout { margin: 0; padding: 0 0 0 1rem; display: grid; place-items: center; border-left: 1px solid #273442; }
.br-member-body .br-rail-logout button { width: auto; min-height: 36px; padding: 0 .8rem; border-color: #3a4a59; font-size: .67rem; text-transform: uppercase; }
.br-member-body .br-workspace { min-height: calc(100vh - 72px); background: #0b1016; }
.br-member-body .br-workbar { min-height: 54px; padding: .45rem clamp(1rem, 3vw, 2.6rem); border-bottom-color: #273442; background: #0b1016; }
.br-member-body .br-workbar-title span, .br-member-body .br-currency-tool label { color: #718494; }
.br-member-body .br-workbar-title strong, .br-member-body .br-profile-link { color: var(--ice); }
.br-member-body .br-profile-link { border-left-color: #273442; }
.br-member-body .br-content { width: min(1600px, 100%); padding: clamp(1.25rem, 3vw, 3rem); }
.br-member-body .br-app-footer { border-top-color: #273442; color: #687b8b; }
.br-member-body .br-page-head { padding: 1rem 0 1.7rem; border-bottom: 1px solid #34414d; }
.br-member-body .br-page-head h1 { margin-top: .35rem; color: #f1f5f8; font-size: clamp(3rem, 5.2vw, 5.6rem); }
.br-member-body .br-page-head p { color: #8395a4; }
.br-member-body .br-page-kicker { color: var(--blue-2); }
.br-member-body .br-head-total, .br-member-body .br-count-stamp { color: var(--blue-2); }
.br-member-body .br-panel, .br-member-body .br-admin-panel, .br-member-body .card { border-color: #34414d; border-radius: 0; background: #0d131a; color: var(--ice); }
.br-member-body .br-panel-head { padding-bottom: .8rem; border-bottom: 1px solid #34414d; }
.br-member-body .br-panel-head h2 { color: var(--ice); }
.br-member-body .br-panel-head > strong, .br-member-body .text-muted { color: #8293a1 !important; }
.br-member-body .br-input, .br-member-body .form-control, .br-member-body .form-select { border-color: #465665; background: #0a0f15; color: var(--ice); }
.br-member-body .br-input::placeholder, .br-member-body .form-control::placeholder { color: #657787; }
.br-member-body .br-button.dark { border-color: #465665; background: transparent; color: var(--ice); }
.br-member-body .br-money-input { border-color: #465665; }
.br-member-body .br-money-input span { background: #152434; }
.br-member-body .br-money-input input { background: #0a0f15; color: var(--ice); }
.br-member-body .br-payout-calculation { border-left-color: var(--blue-2); background: #101d29; }
.br-member-body .br-payout-calculation span, .br-member-body .br-payout-calculation small { color: #8ba0b1; }
.br-member-body .br-payout-calculation strong { color: var(--ice); }
.br-member-body .br-source-list label > span { border-color: #465665; background: #0a0f15; color: var(--ice); }
.br-member-body .br-source-list input:checked + span { border-color: var(--blue-2); background: #101d29; }
.br-member-body .br-source-list em { color: #8193a2; }
.br-member-body .br-inline-warning { border-left-color: var(--blue-2); background: #101d29; color: #b9c8d3; }
.br-member-body .br-table th, .br-member-body .br-table td, .br-member-body .table th, .br-member-body .table td { border-bottom-color: #2c3843; }
.br-member-body .br-table th, .br-member-body .table th { color: #8192a0; }
.br-member-body .br-table td, .br-member-body .table td { color: #d7e0e7; }
.br-member-body .br-empty-state, .br-member-body .br-empty { border-color: #43515e; color: #8293a1; }
.br-member-body .br-notice { border-left-color: var(--blue-2); background: #101d29; color: var(--ice); }
.br-member-body .br-notice span { color: #88a1b5; }
.br-member-body .br-notification-bar { border-bottom-color: #273442; background: #101d29; color: var(--ice); }
.br-member-body .br-alert.success, .br-member-body .alert-success { background: #10261f; color: #8bd8bb; }
.br-member-body .br-alert.error, .br-member-body .alert-danger { background: #2c1719; color: #ef9a9a; }

.br-ledger-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #34414d; border-bottom: 1px solid #34414d; }
.br-ledger-kpis > div { min-height: 128px; padding: 1.2rem; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #34414d; }
.br-ledger-kpis > div:last-child { border-right: 0; }
.br-ledger-kpis span, .br-ledger-kpis small { color: #7e909f; font-size: .66rem; font-weight: 700; text-transform: uppercase; }
.br-ledger-kpis strong { margin: .35rem 0; color: #f0f4f7; font: 600 clamp(1.7rem, 2.7vw, 2.8rem) "Barlow Condensed", sans-serif; }
.br-ledger-kpis .accent strong { color: var(--blue-2); }
.br-console-grid { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 390px); gap: 2rem; align-items: start; }
.br-console-main, .br-console-side { min-width: 0; }
.br-console-section { margin-bottom: 2rem; }
.br-console-heading { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #34414d; }
.br-console-heading h2 { margin: 0; color: var(--ice); font-size: 1.35rem; text-transform: uppercase; }
.br-console-heading span, .br-console-heading a { color: #7f91a0; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.br-console-side { position: sticky; top: 98px; border: 1px solid #3a4854; background: #0d131a; }
.br-console-side > header { padding: 1rem 1.1rem; border-bottom: 1px solid #34414d; }
.br-console-side > header span { color: var(--blue-2); font-size: .66rem; font-weight: 700; text-transform: uppercase; }
.br-console-side > header h2 { margin: .25rem 0 0; color: var(--ice); font-size: 1.5rem; text-transform: uppercase; }
.br-console-side-body { padding: 1.1rem; }
.br-console-side dl { margin: 0; }
.br-console-side dl > div { padding: .75rem 0; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #2c3843; }
.br-console-side dt { color: #8193a2; font-size: .7rem; }
.br-console-side dd { margin: 0; color: var(--ice); font-weight: 700; text-align: right; }
.br-ledger-row { min-height: 66px; display: grid; grid-template-columns: 110px 1.25fr 1fr 1fr 110px; align-items: center; gap: 1rem; border-bottom: 1px solid #2c3843; color: #d7e0e7; font-size: .78rem; }
.br-ledger-row.header { min-height: 42px; color: #7e909f; font-size: .62rem; font-weight: 700; text-transform: uppercase; }
.br-ledger-row strong { color: var(--ice); }
.br-ledger-row .status { color: #70cba9; }
.br-ledger-row .muted { color: #7d8d9a; }
.br-ledger-row.selected { padding-left: .7rem; border-left: 4px solid var(--blue-2); background: #101d29; }
.br-ledger-row:is(a) { color: inherit; text-decoration: none; }
.br-ledger-row:is(a):hover { background: #101d29; }
.br-ledger-tabs { margin: 1.5rem 0; display: flex; flex-wrap: wrap; }
.br-ledger-tabs span, .br-ledger-tabs a { min-height: 42px; padding: 0 .9rem; display: grid; place-items: center; border: 1px solid #34414d; color: #8293a1; font-size: .7rem; font-weight: 700; text-decoration: none; }
.br-ledger-tabs .active { background: var(--ice); color: var(--coal); }
.br-member-form { display: grid; gap: 1rem; }
.br-member-form label { display: block; margin-bottom: .35rem; color: #8b9ba8; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.br-rule-list { display: grid; }
.br-rule-list > div { min-height: 64px; padding: .8rem 0; display: grid; grid-template-columns: 75px 1fr; align-items: center; border-bottom: 1px solid #2c3843; }
.br-rule-list strong { color: var(--blue-2); font: 700 1.7rem "Barlow Condensed", sans-serif; }
.br-rule-list p { margin: 0; color: var(--ice); }
.br-rule-list small { color: #7f909e; }
.br-member-body .br-inbox { border-top-color: var(--blue); background: #0d131a; }
.br-member-body .br-inbox-row { border-bottom-color: #2c3843; }
.br-member-body .br-inbox-row.unread { border-left-color: var(--blue-2); background: #101d29; }
.br-member-body .br-inbox-row time { color: #7f909e; }
.br-member-body .br-inbox-type { color: var(--blue-2); }
.br-payment-ledger { margin: 0; }
.br-payment-ledger > div { min-height: 58px; padding: .7rem 0; display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 1rem; border-bottom: 1px solid #2c3843; }
.br-payment-ledger dt { color: #8293a1; font-size: .7rem; text-transform: uppercase; }
.br-payment-ledger dd { margin: 0; color: var(--ice); font-weight: 700; }
.br-thread { display: grid; gap: 1rem; padding-top: 1rem; }
.br-thread article { padding: 1rem; border: 1px solid #34414d; background: #0d131a; }
.br-thread article.support { margin-right: 8%; border-left: 4px solid var(--blue-2); }
.br-thread article.member { margin-left: 8%; border-right: 4px solid #647686; }
.br-thread article header { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid #2c3843; }
.br-thread article time { color: #7f909e; font-size: .68rem; }
.br-thread article p { margin: .8rem 0 0; color: #c8d3dc; white-space: pre-wrap; }
.br-member-body textarea.br-input { min-height: 130px; }
.br-referral-url { font-family: Consolas, "Courier New", monospace; font-size: .78rem; }

@media (max-width: 1100px) {
    .br-public-nav nav { position: absolute; top: 76px; left: 0; right: 0; padding: 1rem; display: none; align-items: stretch; flex-direction: column; background: var(--coal); border-bottom: 1px solid var(--line); }
    .br-public-nav nav.open { display: flex; }
    .br-menu-button { display: block; }
    .br-shell { grid-template-columns: 1fr; }
    .br-rail { position: fixed; left: 0; top: 0; width: min(300px, 88vw); transform: translateX(-102%); transition: transform .2s ease; box-shadow: 15px 0 35px rgba(0,0,0,.35); }
    .br-rail.open { transform: translateX(0); }
    .br-workbar .br-menu-button { display: block; background: var(--coal); }
    .br-production-board { grid-template-columns: 1fr; }
    .br-production-total { border-right: 0; border-bottom: 1px solid var(--line); }
    .br-production-pulse { display: none; }
    .br-haul-grid { grid-template-columns: 1fr; }
    .br-member-body .br-shell { display: block; }
    .br-member-body .br-rail { position: fixed; left: 0; top: 0; width: min(320px, 88vw); height: 100vh; padding: 1.2rem 1rem; display: flex; flex-direction: column; align-items: stretch; gap: 0; transform: translateX(-102%); border-right: 1px solid #273442; border-bottom: 0; }
    .br-member-body .br-rail.open { transform: translateX(0); }
    .br-member-body .br-rail > .br-brand { padding: .3rem .3rem 1.2rem; border-right: 0; }
    .br-member-body .br-rail-status { display: flex; }
    .br-member-body .br-rail nav { overflow-y: auto; display: grid; align-items: initial; }
    .br-member-body .br-rail nav > span { display: block; }
    .br-member-body .br-rail nav a { min-height: 42px; padding: .65rem .72rem; display: block; border-bottom: 0; border-left: 3px solid transparent; text-align: left; }
    .br-member-body .br-rail nav a.active { border-left-color: var(--blue-2); border-bottom: 0; background: #12263a; }
    .br-member-body .br-rail-logout { margin-top: auto; padding-top: 1rem; display: block; border-left: 0; }
    .br-member-body .br-rail-logout button { width: 100%; }
    .br-ledger-kpis { grid-template-columns: repeat(2, 1fr); }
    .br-ledger-kpis > div:nth-child(2) { border-right: 0; }
    .br-ledger-kpis > div:nth-child(-n+2) { border-bottom: 1px solid #34414d; }
    .br-console-grid { grid-template-columns: 1fr; }
    .br-console-side { position: static; }
}

@media (max-width: 760px) {
    .br-public-nav { height: 68px; }
    .br-public-nav nav { top: 68px; }
    .br-brand img { width: 38px; height: 38px; }
    .br-mine-hero { min-height: 760px; align-items: flex-start; padding: 5rem 1.2rem 15rem; }
    .br-mine-hero-image { background-position: 63% center; }
    .br-mine-hero-copy { width: 100%; }
    .br-mine-hero h1 { font-size: 4rem; }
    .br-hero-readout { left: 1rem; right: 1rem; grid-template-columns: 1fr; }
    .br-hero-readout > div { min-height: 65px; padding: .7rem 1rem; border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 1fr auto; align-items: center; }
    .br-hero-readout small { display: none; }
    .br-yield-board > header { grid-template-columns: 1fr; gap: 1rem; }
    .br-calculator { grid-template-columns: 1fr; }
    .br-calculator-controls { border-right: 0; border-bottom: 1px solid #c8d1d8; }
    .br-calculator-label { align-items: start; flex-direction: column; }
    .br-yield-rules, .br-reward-track article, .br-access-strip { grid-template-columns: 1fr; }
    .br-yield-rules > div { border-right: 0; border-bottom: 1px solid #c7d0d7; }
    .br-reward-track article { padding: 1rem 0; gap: .3rem; }
    .br-reward-track article > span { font-size: 2rem; }
    .br-reward-track p { text-align: left; }
    .br-access-strip { display: grid; }
    .br-auth-stage { padding: 1rem; place-items: start center; }
    .br-auth-frame, .br-auth-frame.register { grid-template-columns: 1fr; box-shadow: 8px 8px 0 rgba(1, 5, 9, .58); }
    .br-auth-rail { min-height: auto; padding: 1rem 1.2rem; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .25rem 1rem; border-right: 0; border-bottom: 1px solid #344757; }
    .br-auth-rail img { width: 42px; height: 42px; margin: 0; grid-row: 1 / 3; }
    .br-auth-rail h2 { margin: 0; font-size: 1.45rem; }
    .br-auth-status, .br-auth-home { display: none; }
    .br-auth-terminal { padding: 1.5rem 1.2rem; }
    .br-auth-terminal-bar { margin-bottom: 1.5rem; }
    .br-auth-title h1 { font-size: 2.8rem; }
    .br-form-grid, .br-dashboard-grid, .br-banking-grid, .br-order-grid, .br-funding-bay, .br-payout-layout, .br-payment-grid, .br-payout-details-grid { grid-template-columns: 1fr; }
    .br-page-head { align-items: flex-start; flex-direction: column; }
    .br-production-metrics { grid-template-columns: 1fr; }
    .br-production-metrics > div { border-right: 0; border-bottom: 1px solid var(--line); }
    .br-haul-grid dl { grid-template-columns: 1fr 1fr; }
    .br-shift-log article { grid-template-columns: 72px 1fr auto; padding: .7rem 0; }
    .br-shift-log article small { display: none; }
    .br-funding-form, .br-payout-console { border-right: 0; border-bottom: 1px solid #c8d1d8; }
    .br-payment-primary { border-right: 0; border-bottom: 1px solid #c8d1d8; }
    .br-source-list { grid-template-columns: 1fr; }
    .br-team-gauges { grid-template-columns: 1fr 1fr; }
    .br-stage-register article { grid-template-columns: 35px 1fr auto; padding: .8rem 0; gap: .5rem; }
    .br-stage-progress, .br-stage-reward { grid-column: 2 / -1; text-align: left; }
    .br-search-line { grid-template-columns: 1fr; }
    .br-queue-run, .br-engine-spec, .br-comp-admin-stats { grid-template-columns: 1fr 1fr; }
    .br-workbar-title { display: none; }
    .br-profile-link { display: none; }
    .br-workbar { gap: .6rem; }
    .br-workbar .br-currency-tool { margin-left: auto; }
    .br-app-footer { flex-direction: column; }
    .br-member-body .br-page-head h1 { font-size: 3.2rem; }
    .br-member-body .br-workbar-title { display: none; }
    .br-ledger-kpis { grid-template-columns: 1fr; }
    .br-ledger-kpis > div { min-height: 94px; border-right: 0; border-bottom: 1px solid #34414d; }
    .br-ledger-row { grid-template-columns: 82px 1fr auto; padding: .75rem 0; gap: .55rem; }
    .br-ledger-row.header { display: none; }
    .br-ledger-row > :nth-child(3), .br-ledger-row > :nth-child(4) { display: none; }
    .br-console-grid { gap: 1.2rem; }
}

/* Mine allocation docket: intentionally separate from the shared payment-card pattern. */
.br-allocation-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.5rem; }
.br-allocation-head h1 { margin: .2rem 0; font-size: clamp(3rem, 6vw, 5.7rem); line-height: .92; text-transform: uppercase; }
.br-allocation-head p { margin: 0; max-width: 620px; color: #8395a4; }
.br-docket-stamp { min-width: 190px; padding: 1rem 1.2rem; display: grid; border: 1px solid #34414d; border-top: 5px solid var(--blue-2); background: #0d131a; color: var(--ice); }
.br-docket-stamp span, .br-docket-stamp small { color: var(--steel); font-size: .68rem; text-transform: uppercase; }
.br-docket-stamp strong { margin: .2rem 0; color: var(--blue-2); font: 700 1.8rem "Barlow Condensed", sans-serif; }
.br-allocation-sheet { border: 1px solid #34414d; background: #0d131a; box-shadow: 12px 12px 0 #05090d; }
.br-allocation-banner { min-height: 112px; padding: 1.2rem clamp(1.2rem, 3vw, 2.4rem); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .15rem 2rem; border-bottom: 1px solid #34414d; background: #101d29; color: var(--ice); }
.br-allocation-banner span { color: var(--blue-2); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.br-allocation-banner strong { grid-row: 1 / 3; grid-column: 2; color: white; font: 700 clamp(2.2rem, 4vw, 4.2rem) "Barlow Condensed", sans-serif; }
.br-allocation-banner small { color: var(--steel); }
.br-allocation-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); }
.br-transfer-ticket { padding: clamp(1.25rem, 3vw, 2.4rem); background: #0d131a; border-right: 1px dashed #465665; }
.br-transfer-ticket > header { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 4px solid var(--blue-2); color: #8293a1; font-size: .7rem; text-transform: uppercase; }
.br-transfer-ticket > header b { color: var(--blue-2); }
.br-transfer-ticket dl { margin: 0; }
.br-transfer-ticket dl > div { min-height: 62px; padding: .8rem 0; display: grid; grid-template-columns: minmax(130px, .45fr) 1fr; align-items: center; gap: 1rem; border-bottom: 1px solid #2c3843; }
.br-transfer-ticket dt { color: #8293a1; font-size: .7rem; text-transform: uppercase; }
.br-transfer-ticket dd { margin: 0; color: var(--ice); font-weight: 800; overflow-wrap: anywhere; }
.br-transfer-ticket .br-ticket-reference { margin: 0 -.75rem; padding: .8rem .75rem; background: #101d29; border-bottom-color: #34414d; }
.br-transfer-ticket .br-ticket-reference dd { color: var(--blue-2); font: 800 1.25rem "Barlow Condensed", sans-serif; }
.br-ticket-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding-top: 1.25rem; }
.br-docket-notes { padding: clamp(1.25rem, 3vw, 2.2rem); background: #080d13; color: var(--ice); }
.br-docket-notes h2 { margin: .35rem 0 1.4rem; font-size: clamp(2rem, 3vw, 3rem); line-height: 1; }
.br-docket-notes ol { margin: 0 0 2rem; padding: 0; list-style: none; counter-reset: docket-step; }
.br-docket-notes li { counter-increment: docket-step; padding: 1rem 0 1rem 3rem; position: relative; display: grid; gap: .25rem; border-top: 1px solid #334552; }
.br-docket-notes li::before { content: "0" counter(docket-step); position: absolute; left: 0; top: 1rem; color: var(--blue-2); font: 700 1.35rem "Barlow Condensed", sans-serif; }
.br-docket-notes li span { color: var(--steel); font-size: .78rem; line-height: 1.55; }
.br-docket-notes .br-text-button { color: var(--ice); }
.br-activation-track { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #34414d; background: #0b1016; }
.br-activation-track > div { min-height: 98px; padding: 1rem; display: grid; align-content: center; border-right: 1px solid #34414d; }
.br-activation-track > div:last-child { border-right: 0; }
.br-activation-track span { color: #718494; font: 700 .72rem "Barlow Condensed", sans-serif; }
.br-activation-track strong { margin: .15rem 0; color: var(--ice); text-transform: uppercase; }
.br-activation-track small { color: #7e909f; }
.br-activation-track .complete { background: #10261f; }
.br-activation-track .complete span { color: #70cba9; }
.br-activation-track .current { box-shadow: inset 0 -5px var(--blue-2); background: #101d29; }
.br-activation-track .current span { color: var(--blue-2); }

@media (max-width: 900px) {
    .br-allocation-grid { grid-template-columns: 1fr; }
    .br-transfer-ticket { border-right: 0; border-bottom: 1px dashed #465665; }
}

@media (max-width: 620px) {
    .br-allocation-head { align-items: stretch; flex-direction: column; }
    .br-docket-stamp { min-width: 0; }
    .br-allocation-banner { grid-template-columns: 1fr; }
    .br-allocation-banner strong { grid-row: auto; grid-column: auto; }
    .br-transfer-ticket dl > div { grid-template-columns: 1fr; gap: .25rem; }
    .br-activation-track { grid-template-columns: 1fr 1fr; }
    .br-activation-track > div:nth-child(2) { border-right: 0; }
    .br-activation-track > div:nth-child(-n+2) { border-bottom: 1px solid #34414d; }
}

/* Four-week special contract */
.br-dash-special { position: relative; overflow: hidden; margin-bottom: 1.5rem; display: grid; grid-template-columns: minmax(250px, .68fr) minmax(520px, 1.32fr) auto; align-items: stretch; border: 1px solid #3c5365; border-top: 5px solid #7bd7ff; background: #0b1721; color: var(--ice); box-shadow: 10px 10px 0 #05090d; }
.br-dash-special::after { content: "SPECIAL"; position: absolute; right: -12px; bottom: -35px; color: rgba(123,215,255,.045); font: 700 7.5rem "Barlow Condensed", sans-serif; pointer-events: none; }
.br-dash-special-title { position: relative; z-index: 1; padding: 1.5rem; display: flex; justify-content: center; flex-direction: column; background: #102535; }
.br-dash-special-title > span { color: #7bd7ff; font-size: .65rem; font-weight: 800; }
.br-dash-special-title > span i { width: 7px; height: 7px; display: inline-block; margin-right: .4rem; border-radius: 50%; background: #54e7b0; box-shadow: 0 0 0 5px rgba(84,231,176,.12); }
.br-dash-special-title h2 { margin: .25rem 0; color: #fff; font-size: clamp(2.1rem, 3vw, 3.4rem); line-height: .95; text-transform: uppercase; }
.br-dash-special-title p { margin: .35rem 0 0; color: #8295a4; font-size: .7rem; line-height: 1.55; }
.br-dash-special-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); }
.br-dash-special-metrics > div { min-width: 0; padding: 1rem; display: flex; justify-content: center; flex-direction: column; border-right: 1px solid #34414d; }
.br-dash-special-metrics span,.br-dash-special-metrics small,.br-dash-special-pending span,.br-dash-special-pending small { color: #7f919f; font-size: .6rem; text-transform: uppercase; }
.br-dash-special-metrics strong,.br-dash-special-pending strong { margin: .28rem 0; color: #fff; font: 700 clamp(1.2rem, 2vw, 1.85rem) "Barlow Condensed", sans-serif; }
.br-dash-special-metrics .progress-cell > div { height: 5px; margin-top: .45rem; background: #253744; }
.br-dash-special-metrics .progress-cell > div i { height: 100%; display: block; background: #7bd7ff; }
.br-dash-special-actions { position: relative; z-index: 1; min-width: 170px; padding: 1rem; display: flex; justify-content: center; flex-direction: column; gap: .55rem; }
.br-dash-special-actions a { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .9rem; border: 1px solid #56758d; color: #dff6ff; font-size: .65rem; font-weight: 800; text-decoration: none; text-align: center; }
.br-dash-special-actions a:first-child { border-color: #7bd7ff; background: #7bd7ff; color: #071019; }
.br-dash-special-pending { position: relative; z-index: 1; padding: 1rem 1.5rem; display: flex; justify-content: center; flex-direction: column; }
.br-dash-special-pending strong { color: #7bd7ff; font-size: 2.4rem; }
.br-dash-special-offer { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); }
.br-dash-special-offer > div { display: flex; align-items: center; justify-content: center; flex-direction: column; border-right: 1px solid #34414d; }
.br-dash-special-offer b { color: #7bd7ff; font: 700 2.5rem "Barlow Condensed", sans-serif; }
.br-dash-special-offer span { color: #8295a4; font-size: .62rem; text-transform: uppercase; }
.br-dash-special.completed { border-top-color: #54e7b0; }
.br-dash-special.completed .br-dash-special-title > span,.br-dash-special.completed .br-dash-special-pending strong { color: #54e7b0; }
.br-dash-special.pending { border-top-color: #e8c46b; }
.br-dash-special.pending .br-dash-special-title > span { color: #e8c46b; }
.br-public-special { padding: clamp(3.5rem, 7vw, 7rem) clamp(1.2rem, 7vw, 7rem); display: grid; grid-template-columns: minmax(280px, .85fr) minmax(460px, 1.15fr) auto; align-items: end; gap: clamp(2rem, 5vw, 5rem); border-top: 5px solid #7bd7ff; background: #071019; color: #f1f8fc; }
.br-public-special > div > span { color: #7bd7ff; font-size: .7rem; font-weight: 800; }
.br-public-special h2 { max-width: 560px; margin: .5rem 0 1rem; font-size: clamp(2.8rem, 5vw, 5.5rem); line-height: .9; text-transform: uppercase; }
.br-public-special p { max-width: 640px; margin: 0; color: #8798a6; line-height: 1.75; }
.br-public-special dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #34414d; }
.br-public-special dl > div { min-height: 92px; padding: 1rem; display: flex; justify-content: flex-end; flex-direction: column; border-right: 1px solid #34414d; border-bottom: 1px solid #34414d; }
.br-public-special dt { color: #718493; font-size: .62rem; text-transform: uppercase; }
.br-public-special dd { margin: .2rem 0 0; color: #fff; font: 700 1.25rem "Barlow Condensed", sans-serif; text-transform: uppercase; }
.br-special-invite { margin-bottom: 1.4rem; padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-left: 5px solid #7bd7ff; background: #101d29; color: var(--ice); }
.br-special-invite > div { display: grid; gap: .15rem; }
.br-special-invite span { color: #7bd7ff; font-size: .65rem; font-weight: 800; }
.br-special-invite strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.2rem; text-transform: uppercase; }
.br-special-invite small { color: #8294a3; }
.br-special-invite a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 1rem; border: 1px solid #7bd7ff; color: #dff6ff; font-size: .72rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.br-special-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.br-special-head h1 { margin: .15rem 0 .6rem; color: var(--ice); font-size: clamp(3.2rem, 7vw, 6.8rem); line-height: .85; text-transform: uppercase; }
.br-special-head p { max-width: 760px; margin: 0; color: #8294a3; line-height: 1.7; }
.br-special-readout { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 1.5rem; border-top: 4px solid #7bd7ff; background: #101820; }
.br-special-readout > div { min-height: 126px; padding: 1.1rem; display: flex; justify-content: flex-end; flex-direction: column; border-right: 1px solid #34414d; }
.br-special-readout > div:last-child { border-right: 0; }
.br-special-readout span,.br-special-readout small { color: #8395a4; font-size: .64rem; text-transform: uppercase; }
.br-special-readout strong { margin: .25rem 0; color: #fff; font: 700 2rem "Barlow Condensed", sans-serif; text-transform: uppercase; }
.br-special-console { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); border: 1px solid #34414d; background: #0d131a; box-shadow: 12px 12px 0 #05090d; }
.br-special-selector { padding: clamp(1.25rem, 3vw, 2.5rem); border-right: 1px solid #34414d; }
.br-special-selector > header span,.br-special-ticket > span { color: #7bd7ff; font-size: .65rem; font-weight: 800; }
.br-special-selector > header h2 { margin: .3rem 0; color: var(--ice); font-size: 2rem; text-transform: uppercase; }
.br-special-selector > header p { color: #8193a1; font-size: .78rem; }
.br-special-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1.5rem; background: #34414d; border: 1px solid #34414d; }
.br-special-tiers label { min-width: 0; margin: 0; cursor: pointer; background: #101820; }
.br-special-tiers input { position: absolute; opacity: 0; pointer-events: none; }
.br-special-tiers label > span { min-height: 92px; display: flex; justify-content: center; flex-direction: column; padding: 1rem; border-left: 4px solid transparent; transition: background .18s ease, border-color .18s ease; }
.br-special-tiers b { color: var(--ice); font: 700 1.5rem "Barlow Condensed", sans-serif; }
.br-special-tiers small { color: #718493; font-size: .66rem; }
.br-special-tiers input:checked + span { border-left-color: #7bd7ff; background: #153149; }
.br-special-tiers input:focus-visible + span { outline: 2px solid #7bd7ff; outline-offset: -2px; }
.br-special-ticket { padding: clamp(1.25rem, 3vw, 2.2rem); background: #071019; }
.br-special-ticket dl { margin: 1.5rem 0; border-top: 1px solid #34414d; }
.br-special-ticket dl > div { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #2c3843; }
.br-special-ticket dt { color: #7e909f; font-size: .68rem; font-weight: 500; text-transform: uppercase; }
.br-special-ticket dd { margin: 0; color: var(--ice); font: 700 1.2rem "Barlow Condensed", sans-serif; }
.br-special-ticket dl > .total { margin: 0 -.8rem; padding: 0 .8rem; background: #153149; }
.br-special-ticket dl > .total dd { color: #7bd7ff; font-size: 1.65rem; }
.br-special-ticket p { color: #728594; font-size: .69rem; line-height: 1.65; }
.br-special-ticket .br-button { width: 100%; margin-top: 1rem; }
@media (max-width: 920px) {
  .br-dash-special { grid-template-columns: 1fr; }
  .br-dash-special-metrics { grid-template-columns: 1fr 1fr; }
  .br-dash-special-metrics > div { min-height: 92px; border-bottom: 1px solid #34414d; }
  .br-dash-special-actions { flex-direction: row; }
  .br-dash-special-actions a { flex: 1; }
  .br-dash-special-offer > div { min-height: 100px; }
  .br-public-special { grid-template-columns: 1fr; align-items: start; }
  .br-public-special .br-button { width: max-content; }
  .br-special-readout { grid-template-columns: 1fr 1fr; }
  .br-special-readout > div:nth-child(2) { border-right: 0; }
  .br-special-readout > div:nth-child(-n+2) { border-bottom: 1px solid #34414d; }
  .br-special-console { grid-template-columns: 1fr; }
  .br-special-selector { border-right: 0; border-bottom: 1px solid #34414d; }
}
@media (max-width: 620px) {
  .br-dash-special { box-shadow: 6px 6px 0 #05090d; }
  .br-dash-special-metrics { grid-template-columns: 1fr; }
  .br-dash-special-metrics > div { border-right: 0; }
  .br-dash-special-actions { flex-direction: column; }
  .br-dash-special-offer { grid-template-columns: 1fr; }
  .br-dash-special-offer > div { min-height: 82px; border-right: 0; border-bottom: 1px solid #34414d; }
  .br-public-special { padding: 3.5rem 1.2rem; }
  .br-public-special dl { grid-template-columns: 1fr; }
  .br-public-special dl > div { border-right: 0; }
  .br-special-invite,.br-special-head { align-items: stretch; flex-direction: column; }
  .br-special-invite a { justify-content: center; }
  .br-special-readout { grid-template-columns: 1fr; }
  .br-special-readout > div { min-height: 100px; border-right: 0; border-bottom: 1px solid #34414d; }
  .br-special-tiers { grid-template-columns: 1fr 1fr; }
  .br-special-head h1 { font-size: 3.7rem; }
}
