/* Live user dashboard (app.html) — readable sizes on top of replex.css */
.ra-loading { color: var(--rx-muted); padding: 40px 0; }
.app-page .panel-subtitle, .app-page .tiny-disclaimer { font-size: 13px; line-height: 1.55; }
.app-page .activity-row strong { font-size: 14px; }
.app-page .activity-row small { font-size: 12px; }
.app-page .activity-row > b { font-size: 13px; white-space: nowrap; }
.page-intro code { font-size: 12px; color: var(--rx-muted); word-break: break-all; }
.page-intro p a, .ra-table a, .tree-node a, .ra-up { color: #8fd4ff; text-decoration: none; }
.page-intro p a:hover, .ra-table a:hover, .tree-node a:hover, .ra-up:hover { text-decoration: underline; }
.ra-ro { background: #33c6ff22; color: #7fdcff; }
.ra-roles { margin-bottom: 16px; }
.ra-roles p { font-size: 13px; }
.ra-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
@media (max-width: 1000px) { .ra-grid { grid-template-columns: 1fr; } }
.ra-section { margin-top: 16px; }
.ra-cat { display: grid; grid-template-columns: 12px 1fr auto; gap: 4px 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid #ffffff0b; font-size: 14px; }
.ra-cat small { display: block; color: var(--rx-muted); font-size: 12px; }
.ra-cat b { font-variant-numeric: tabular-nums; }
.ra-cat .ra-bar { grid-column: 2 / -1; height: 6px; border-radius: 6px; background: #ffffff0d; overflow: hidden; }
.ra-cat .ra-bar i { display: block; height: 100%; border-radius: 6px; }
.ra-muted { opacity: .6; }
.ra-sw { width: 10px; height: 10px; border-radius: 3px; }
.ra-investment { background: #00e5ff; } .ra-direct { background: #00a6d6; } .ra-tenLevel { background: #0084ff; } .ra-placement { background: #0050f0; }
.ra-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ra-table th { font-size: 11px; color: #79849a; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 8px; border-bottom: 1px solid #ffffff12; text-align: left; }
.ra-table td { padding: 9px 8px; border-bottom: 1px solid #ffffff0a; color: #c9cfdc; font-variant-numeric: tabular-nums; }
.ra-table .num { text-align: right; }
.ra-tier-img { width: 40px; height: 35px; object-fit: contain; flex: none; }
.ra-tx { color: #8fd4ff; text-decoration: none; }
.ra-tx:hover { text-decoration: underline; }
.ra-upline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 14px; font-size: 13px; }
.ra-upline .eyebrow { margin-right: 6px; }
.ra-up { padding: 4px 9px; border: 1px solid #ffffff14; border-radius: 8px; }
.ra-up small { color: var(--rx-muted); margin-right: 5px; font-size: 11px; }
.ra-arrow { color: var(--rx-muted); }
.ra-node > summary { list-style: none; cursor: pointer; }
.ra-node > summary::-webkit-details-marker { display: none; }
.ra-node > summary::before { content: '▸'; color: var(--rx-muted); margin-right: 2px; transition: transform .15s; }
.ra-node[open] > summary::before { transform: rotate(90deg); }
.app-page .tree-node strong { font-size: 13px; }
.app-page .tree-node small { font-size: 11px; }
.app-page .tree-children { display: grid; gap: 8px; margin-top: 8px; }
.ra-np { display: grid; gap: 8px; margin-top: 14px; font-size: 14px; }
.ra-np small { color: var(--rx-muted); font-size: 12px; }
.ra-scroll { max-height: 560px; overflow: auto; }
.ra-role-row { opacity: .7; }
.ra-count { font-size: 12px; color: var(--rx-muted); font-weight: 400; margin-left: 6px; }
.ra-view { display: flex; gap: 8px; margin: 6px 0 16px; flex-wrap: wrap; }
.ra-view input { flex: 1 1 280px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid #ffffff16; background: #0b0e17; color: #e8eaf4; font: inherit; font-size: 14px; }
.ra-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ra-chip { padding: 8px 12px; border: 1px solid #ffffff14; border-radius: 10px; color: #e8eaf4; text-decoration: none; font-size: 14px; }
.ra-chip small { color: var(--rx-muted); margin-left: 6px; font-size: 11px; }
.ra-chip:hover { border-color: #0084ff88; }
.app-page .copy-field code { font-size: 12px; word-break: break-all; }

/* ==== logo palette only (cyan #00e5ff -> sky #33c6ff -> azure #0084ff -> blue #0050f0, white, navy) ==== */
:root { --rx-purple: #0084ff; --rx-mint: #00e5ff; --rx-pink: #0050f0; --rx-blue: #33c6ff; --rx-orange: #33c6ff; }
.ra-investment { background: #00e5ff !important; } .ra-direct { background: #33c6ff !important; }
.ra-tenLevel { background: #0084ff !important; } .ra-placement { background: #0050f0 !important; }
.ra-sw.ra-investment, .ra-sw.ra-direct, .ra-sw.ra-tenLevel, .ra-sw.ra-placement { border: 0; }
.gradient-text { background: linear-gradient(90deg, #00e5ff, #0084ff) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; }
.button-primary { background: linear-gradient(110deg, #0050f0, #0084ff 55%, #00e5ff) !important; color: #fff !important; border: 0 !important; }
.positive { color: #00e5ff !important; }

/* shared site styles, in the logo palette on the dashboard pages */
.live-dot { background: #00e5ff !important; box-shadow: 0 0 14px #00e5ffaa !important; }
.mock-badge { color: #9ff6ff !important; background: #00e5ff1a !important; }
.text-link { color: #33c6ff !important; }
.metric-icon { color: #9ff6ff !important; }
.metric-icon.purple { background: #0084ff1f !important; color: #8fd4ff !important; }
.metric-icon.mint { background: #00e5ff1a !important; color: #7df3ff !important; }
.metric-icon.pink { background: #0050f022 !important; color: #8fd4ff !important; }
.table-status.confirmed { color: #7df3ff !important; background: #00e5ff1a !important; }
.table-status.pending { color: #8fd4ff !important; background: #0084ff1f !important; }
.hx-ico.bonus, .tb-bonus b { color: #33c6ff !important; }

/* RPX coin icon */
.rpx-ic { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.2em; margin-right: 3px; border-radius: 50%; filter: drop-shadow(0 0 4px #00e5ff88); }
.tb-st small .rpx-ic, .eng-meta small .rpx-ic { width: 13px; height: 13px; vertical-align: -2px; }
