@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@100;200;300;400;500;600;700&display=swap');

html, body {
    height: 100%;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    /* font-weight: 130; */
    /* font-weight: 400; */
    font-weight: 222;
    background-color: hsl(250, 9%, 13%);
    color: #fffdf4;
    margin: 0;
    overflow-x: hidden;
    overflow-y: hidden; /* the page itself no longer scrolls -- .dash-main does that now */
}

.dash {
    background: #0b0d10;
    color: #e9ebee;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden; /* clip children to the viewport; each one scrolls on its own below */
}
.dash a { color:inherit; text-decoration:none; }

.dash-sidebar {
    width: 275px;
    flex: 0 0 275px;
    background: linear-gradient(to bottom, #0A0C12 0%, #0E1218 100%);
    backdrop-filter: blur(6px);
    border-right: 1px solid #0a0b0d;
    display: flex;
    flex-direction: column;
    padding: 20px 14px;
    box-sizing: border-box;
    box-shadow: 4px 0 20px rgba(0,0,0,0.5);
    position: relative;
    z-index: 10;
    height: 100vh;
    overflow-y: auto;   /* safety net only -- kicks in if the nav/reservoir/chip stack
                            ever grows taller than the viewport on a small screen */
    overflow-x: hidden;
    transition: width 0.18s ease, flex-basis 0.18s ease, padding 0.18s ease;
}
.dash-brand { display:flex; align-items:center; gap:8px; padding:4px 8px 20px; font-weight:700; letter-spacing:0.5px; font-size:15px; }
.dash-brand .tri { width:0; height:0; border-left:9px solid transparent; border-right:9px solid transparent; border-bottom:15px solid #ff5a1f; }
.dash-brand .ai { color:#ff5a1f; }

.dash-nav { display:flex; flex-direction:column; gap:2px; flex:1; }
.dash-nav-item { display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:8px; font-size:13.5px; color:#a7adb5; cursor:pointer; }
.dash-nav-item:hover { background:#161a1f; color:#e9ebee; }
.dash-nav-item.active { background:linear-gradient(90deg, rgba(255,90,31,0.16), rgba(255,90,31,0.02)); color:#fff; border-left:2px solid #ff5a1f; padding-left:8px; }
.dash-nav-icon { width:16px; text-align:center; opacity:0.85; }

.dash-reservoir {
    margin-top: 160px;
    background: linear-gradient(to bottom, rgba(23,26,34,0.85) 0%, rgba(13,15,20,0.85) 100%);
    backdrop-filter: blur(6px);
    border: 1px solid #21252b;
    border-radius: 12px;
    padding: 14px;
}
.dash-reservoir-head { display:flex; justify-content:space-between; align-items:center; font-size:11px; letter-spacing:0.6px; color:#8b9099; margin-bottom:10px; }
.dash-reservoir-bal { font-size:19px; font-weight:700; }
.dash-reservoir-bal .unit { font-size:11px; color:#8b9099; font-weight:600; margin-left:3px; }
.dash-reservoir-usd { font-size:12px; color:#7d838c; margin:2px 0 10px; }
.dash-bar-track { height:5px; border-radius:3px; background:#22262c; overflow:hidden; margin-bottom:6px; }
.dash-bar-fill { height:100%; background:linear-gradient(90deg,#ff8a3d,#ff5a1f); }
.dash-bar-pct { font-size:11px; color:#8b9099; text-align:right; margin-bottom:10px; }
.dash-btn-outline { width:100%; padding:8px 0; border-radius:8px; border:1px solid #2b3038; background:transparent; color:#e9ebee; font-size:12.5px; cursor:pointer; }
.dash-btn-outline:hover { background:#1a1e24; }
.dash-app-chip { margin-top:auto; display:flex; align-items:center; gap:8px; padding:10px 8px; font-size:11.5px; color:#8b9099; }
.dash-app-chip .dot { width:7px; height:7px; border-radius:50%; background:#38d97a; margin-left:auto; }

.dash-main {
    flex: 1;
    min-width: 0;
    padding: 26px 0 60px;
    box-sizing: border-box;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* -------- top bar + ticker -------- */
.dash-topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-left: 34px;
    padding-right: 34px;
    box-sizing: border-box;
}
.dash-topbar-right { display:flex; align-items:center; gap:12px; margin-left:auto; flex:0 0 auto; white-space:nowrap; }
.dash-status { display:flex; align-items:center; gap:7px; background:#12261c; border:1px solid #1f4430; color:#5fd98a; font-size:12px; padding:6px 12px; border-radius:20px; white-space:nowrap; flex:0 0 auto; }
.dash-status .dot { width:7px; height:7px; border-radius:50%; background:#38d97a; }
.dash-bell { width:34px; height:34px; border-radius:50%; background:#14171b; border:1px solid #21252b; display:flex; align-items:center; justify-content:center; flex:0 0 34px; }
.dash-avatar { width:34px; height:34px; border-radius:50%; background:#2a2e35; display:flex; align-items:center; justify-content:center; font-size:14px; flex:0 0 34px; }
.dash-topbar-right .wallet-msg { display:none; } /* wallet errors shown elsewhere in the page already; keep topbar compact */
.dash-wallet-btn-wrap { position:relative; }
.dash-wallet-btn { white-space:nowrap; background:#181a1d; color:#e9ebee; border:1px solid #2c3038; padding:8px 14px; border-radius:9px; font-size:12.5px; font-weight:600; cursor:pointer; display:flex; align-items:center; gap:7px; }
.dash-wallet-btn:hover { background:#202226; }
.dash-wallet-btn.busy { color:#ff8a3d; border-color:#3a2013; cursor:default; }
.dash-wallet-btn.busy::before { content:" "; width:11px; height:11px; border-radius:50%; border:2px solid #3a2013; border-top-color:#ff8a3d; animation:dash-spin 0.7s linear infinite; flex:0 0 auto; }
.dash-wallet-btn.connected { border-color:#1f4430; background:#12261c; color:#5fd98a; }
.dash-wallet-dot { width:7px; height:7px; border-radius:50%; background:#38d97a; flex:0 0 auto; }
.dash-wallet-err { position:absolute; top:38px; right:0; width:220px; font-size:11px; color:#ff8a8a; background:#1c1215; border:1px solid #3a1f22; border-radius:8px; padding:8px 10px; z-index:30; }
@keyframes dash-spin { to { transform:rotate(360deg); } }

.dash-hero {
    position: relative;
    z-index: 1;
    overflow: visible;
    max-height: 450px;
    min-height: 450px;
    display: flex;
    align-items: center;
    padding: 36px 40px;
    box-sizing: border-box;
    margin: 0 0 22px;
    border-radius: 0;
    border: none;
    border-top: 1px solid #21252b;
    background-image:
        linear-gradient(to right, #0b0d10 0%, rgba(11,13,16,0.6) 30%, transparent 60%),
        linear-gradient(to bottom, transparent 0%, transparent 80%, #0b0d10 100%),
        url('/img/bo.vo.png');
    background-repeat: no-repeat;
    background-size: cover, cover, cover;
    background-position: center, center, right top;
}
.dash-hero-eyebrow { font-size:22px; font-weight:400; color:#d8dade; }
.dash-hero-title { font-size:44px; font-weight:800; line-height:1.05; margin:2px 0 14px; }
.dash-hero-title .accent { color:#ff5a1f; }
.dash-hero-sub { font-size:14.5px; color:#c7cad0; max-width:360px; line-height:1.5; margin-bottom:0px; }
.dash-hero-sub-sub { font-size:14.5px; color:#c7cad0; max-width:360px; line-height:1.5; margin-bottom:22px; }
.dash-hero-actions { display:flex; gap:10px; }
.dash-btn-primary { background:#ff5a1f; color:#fff; border:none; padding:11px 18px; border-radius:9px; font-size:13.5px; font-weight:600; cursor:pointer; display:flex; align-items:center; gap:8px; }
.dash-btn-primary:hover { background:#ff6a34; }
.dash-btn-primary:disabled { background:#3a3530; color:#8b9099; cursor:not-allowed; }
.dash-btn-secondary { background:#181a1d; color:#e9ebee; border:1px solid #2c3038; padding:11px 18px; border-radius:9px; font-size:13.5px; font-weight:600; cursor:pointer; }
.dash-btn-secondary:hover { background:#202226; }

.dash-reservoir-card { position:absolute; top:24px; right:34px; width:330px; background:rgba(18,20,23,0.88); backdrop-filter:blur(6px); border:1px solid #2a2e35; border-radius:14px; padding:18px; }
.dash-reservoir-card h4 { margin:0 0 14px; font-size:14px; font-weight:700; }
.dash-reservoir-card .row { display:flex; justify-content:space-between; align-items:center; }
.dash-reservoir-card .label { font-size:11px; color:#8b9099; margin-bottom:4px; }
.dash-reservoir-card .bal { font-size:16px; font-weight:800; }
.dash-reservoir-card .bal .unit { font-size:16px; color:#ff8a3d; font-weight:700; margin-left:3px; }
.dash-reservoir-card .usd { font-size:12px; color:#8b9099; margin:2px 0 14px; }
.dash-reservoir-card .burn { font-size:16px; font-weight:800; }
.dash-reservoir-card .burn .delta { color:#4fd47a; font-size:12px; font-weight:700; margin-left:4px; }
.dash-reservoir-card .vslast { font-size:10.5px; color:#767b83; margin-top:2px; }
.dash-ring { position:relative; width:96px; height:96px; display:flex; align-items:center; justify-content:center; flex:0 0 96px; }
.dash-ring-svg { position:absolute; top:0; left:0; width:96px; height:96px; }
.dash-reservoir-card .manage { margin-top:14px; }

.dash-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: -37px 0 26px;
    padding-left: 34px;
    padding-right: 34px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}
.dash-tile {
    background: linear-gradient(to bottom, rgba(23,26,34,0.85) 0%, rgba(13,15,20,0.85) 100%);
    backdrop-filter: blur(6px);
    border: 1px solid #21252b;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.dash-tile:hover { border-color:#3a3f47; }
.dash-tile-icon { width:34px; height:34px; border-radius:9px; display:flex; align-items:center; justify-content:center; font-size:15px; margin-bottom:12px; }
.dash-tile-icon.orange { background:#3a2013; color:#ff8a3d; font-size: 120%;}
.dash-tile-icon.previousepoch { background:#3a2013; color:#ff8a3d; font-size: 120%;}
.dash-tile-icon.purple { background:#241a38; color:#b58cff; font-size: 120%;}
.dash-tile-icon.blue { background:#132538; color:#6fb0ff; font-size: 77%;}
.dash-tile-icon.gold { background:#332812; color:#e3b34d; font-size: 100%; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;}

.dash-tile h5 { margin:0 0 5px; font-size:14.5px; font-weight:700; }
.dash-tile p { margin:0 0 14px; font-size:12px; color:#8b9099; line-height:1.45; min-height:32px; }
.dash-tile-link { font-size:12.5px; font-weight:600; color:#e9ebee; display:flex; align-items:center; gap:6px; cursor:pointer; }

/* -------- governance tile countdown -------- */
.dash-countdown { font-size:19px; font-weight:800; color:#ff8a3d; letter-spacing:0.5px; margin:2px 0 12px; font-variant-numeric:tabular-nums; }
.dash-countdown.done { color:#4fd47a; }
.dash-countdown-lbl { font-size:10.5px; color:#767b83; margin-top:12px; margin-bottom:12px; }

.dash-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
    padding-left: 34px;
    padding-right: 34px;
    box-sizing: border-box;
}
.dash-feed-card {
    background: linear-gradient(to bottom, rgba(23,26,34,0.85) 0%, rgba(13,15,20,0.85) 100%);
    backdrop-filter: blur(6px);
    border: 1px solid #21252b;
    border-radius: 14px;
    padding: 6px 0 4px;
}
.dash-feed-tabs { display:flex; align-items:center; justify-content:space-between; padding:12px 18px 10px; border-bottom:1px solid #1c1f24; flex-wrap:wrap; gap:10px; }
.dash-tabset { display:flex; gap:20px; }
.dash-tab { font-size:13px; color:#8b9099; cursor:pointer; padding-bottom:10px; border-bottom:2px solid transparent; }
.dash-tab.active { color:#fff; border-bottom-color:#ff5a1f; font-weight:600; }
.dash-cat-select { font-size:12px; color:#a7adb5; background:#1a1d22; border:1px solid #262a30; border-radius:7px; padding:6px 10px; }

/* -------- sort-by control -------- */
.dash-sortby-row { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.dash-sortby-label { font-size:13px; font-weight:600; color:#a7adb5; white-space:nowrap; }

.dash-row { display:flex; gap:14px; align-items:flex-start; padding:16px 18px; border-bottom:1px solid #1a1d22; }
.dash-row:last-child { border-bottom:none; }
.dash-row:hover { background:#171a1f; }
.dash-rank-col { width:26px; flex:0 0 26px; text-align:right; font-size:13px; font-weight:700; color:#767b83; align-self:center; padding-top:6px; }
.dash-arrow-col { width:42px; flex:0 0 42px; text-align:center; }
.dash-arrow { color:#ff5a1f; font-size:15px; line-height:1; }
.dash-arrow-n { font-size:12.5px; font-weight:700; color:#e9ebee; margin-top:2px; }
.dash-row-main { flex:1; min-width:0; }
.dash-row-title-line { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.dash-row-title { font-size:14.5px; font-weight:600; color:#f1f2f4; }
.dash-tag { font-size:10.5px; font-weight:700; padding:2px 8px; border-radius:5px; }
.tag-dev { background:#2a1f42; color:#c9a6ff; }
.tag-data { background:#122a42; color:#7fbcff; }
.tag-announce { background:#3a2a12; color:#ffb95c; }
.tag-research { background:#123a24; color:#6fe0a0; }
.tag-opinion { background:#3a3212; color:#e8cf5c; }
.tag-tutorial { background:#123338; color:#6fd6e8; }
.dash-row-desc { font-size:12.5px; color:#8b9099; margin:6px 0 8px; line-height:1.4; }
.dash-row-meta { display:flex; align-items:center; gap:8px; font-size:12px; color:#8b9099; }
.dash-verified { color:#ff8a3d; font-size:11px; }
.dash-row-stats { flex:0 0 auto; display:flex; align-items:center; gap:16px; font-size:12.5px; color:#c7cad0; white-space:nowrap; }
.dash-row-stats .lava { color:#ff8a3d; font-weight:600; }

.dash-side-card { background:#14171b; border:1px solid #21252b; border-radius:14px; padding:16px 16px 14px; margin-bottom:16px; }
.dash-side-card h4 { margin:0 0 12px; font-size:14px; font-weight:700; }
.dash-contrib-row { display:flex; align-items:center; gap:10px; padding:7px 0; font-size:13px; }
.dash-contrib-rank { width:16px; color:#767b83; font-size:12px; }
.dash-contrib-avatar { width:22px; height:22px; border-radius:50%; background:#2a2e35; flex:0 0 22px; }
.dash-contrib-name { flex:1; color:#e9ebee; }
.dash-contrib-lava { color:#ff8a3d; font-size:12px; font-weight:600; }
.dash-payout-row { display:flex; align-items:center; gap:10px; padding:7px 0; font-size:12.5px; }
.dash-payout-avatar { width:20px; height:20px; border-radius:50%; background:#2a2e35; flex:0 0 20px; }
.dash-payout-addr { flex:1; color:#c7cad0; }
.dash-payout-amt { color:#4fd47a; font-weight:700; }
.dash-payout-time { color:#767b83; font-size:11px; }

/* -------- live chat card -------- */
.dash-chat-card {
    background: linear-gradient(to bottom, rgba(23,26,34,0.85) 0%, rgba(13,15,20,0.85) 100%);
    backdrop-filter: blur(6px);
    border: 1px solid #21252b;
    border-radius: 14px;
    padding: 0;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    height: 480px;
    overflow: hidden;
}
.dash-chat-head { display:flex; align-items:center; justify-content:space-between; padding:14px 16px 10px; border-bottom:1px solid #1c1f24; }
.dash-chat-head h4 { margin:0; font-size:14px; font-weight:700; }
.dash-chat-live-badge { display:flex; align-items:center; gap:5px; font-size:10.5px; color:#5fd98a; background:#12261c; border:1px solid #1f4430; border-radius:20px; padding:3px 8px; }
.dash-chat-live-badge .dot { width:6px; height:6px; border-radius:50%; background:#38d97a; }
.dash-chat-msgs { list-style:none; margin:0; padding:10px 14px 16px; display:flex; flex-direction:column-reverse; gap:9px; overflow-y:auto; flex:1 1 auto; min-height:0; }
.dash-chat-msgs li { font-size:12.5px; color:#c7cad0; line-height:1.4; }
.dash-chat-msgs .who { color:#ff8a3d; font-weight:700; margin-right:4px; }
.dash-chat-inputrow { padding:10px 14px; border-top:1px solid #1c1f24; }
.dash-chat-inputrow input { width:100%; box-sizing:border-box; background:#1a1d22; border:1px solid #262a30; border-radius:8px; padding:9px 11px; color:#e9ebee; font-size:12.5px; outline:none; }
.dash-chat-inputrow input::placeholder { color:#5c6169; }
.dash-chat-inputrow input:focus { border-color:#ff5a1f; }
.dash-chat-inputrow input:disabled { opacity:0.55; cursor:not-allowed; }
.dash-chat-online { padding:10px 14px 14px; border-top:1px solid #1c1f24; }
.dash-chat-online-lbl { font-size:10.5px; color:#767b83; margin-bottom:8px; }
.dash-chat-online-list { display:flex; flex-wrap:wrap; gap:8px; }
.dash-chat-online-chip { display:flex; align-items:center; gap:5px; font-size:11.5px; color:#c7cad0; background:#1a1d22; border:1px solid #262a30; border-radius:20px; padding:4px 9px; }
.dash-chat-online-chip .dot { width:6px; height:6px; border-radius:50%; background:#38d97a; }

/* -------- previous-epoch mock screen -------- */
.dash-epoch-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.dash-epoch-back { font-size:12.5px; color:#8b9099; cursor:pointer; display:flex; align-items:center; gap:6px; }
.dash-epoch-back:hover { color:#e9ebee; }
.dash-epoch-title { font-size:26px; font-weight:800; margin:4px 0 2px; }
.dash-epoch-sub { font-size:13px; color:#8b9099; }
.dash-epoch-list { background:#14171b; border:1px solid #21252b; border-radius:14px; overflow:hidden; }
.dash-admin-panel { background:#14171b; border:1px solid #21252b; border-radius:14px; padding:18px 20px; margin-bottom:18px; animation:dash-admin-in 0.18s ease; }
@keyframes dash-admin-in { from{opacity:0; transform:translateY(-6px);} to{opacity:1; transform:translateY(0);} }
.dash-admin-panel-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.dash-admin-panel-head h4 { margin:0; font-size:14.5px; font-weight:700; }
.dash-admin-close { cursor:pointer; color:#8b9099; font-size:14px; padding:4px 8px; border-radius:6px; }
.dash-admin-close:hover { background:#1a1d22; color:#e9ebee; }
.dash-admin-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:12px; }
.dash-admin-card { background:#1a1d22; border:1px solid #262a30; border-radius:10px; padding:14px; display:flex; flex-direction:column; gap:8px; }
.dash-admin-card h6 { margin:0; font-size:12.5px; font-weight:700; color:#e9ebee; }
.dash-admin-card .desc { margin:0; font-size:11px; color:#8b9099; line-height:1.4; }
.dash-admin-card button { background:#181a1d; color:#e9ebee; border:1px solid #2c3038; padding:8px 12px; border-radius:7px; font-size:11.5px; font-weight:600; cursor:pointer; align-self:flex-start; }
.dash-admin-card button:hover { background:#202226; border-color:#3a3f47; }
.dash-admin-card button:disabled { opacity:0.55; cursor:not-allowed; }
.dash-admin-card pre { font-size:10.5px; background:#101216; border:1px solid #21252b; border-radius:7px; padding:8px 10px; margin:0; white-space:pre-wrap; word-break:break-all; }
.dash-admin-card.wide { grid-column: 1 / -1; width: fit-content; }

.dash-ticker { display:flex; align-items:center; flex:1 1 auto; min-width:0; width:auto; gap:10px; background:#14171b; border:1px solid #21252b; border-radius:20px; padding:8px 16px; box-sizing:border-box; }
.dash-ticker-badge { flex:0 0 auto; font-size:10px; font-weight:800; letter-spacing:0.6px; color:#ff8a3d; background:#3a2013; border-radius:5px; padding:3px 7px; }
.dash-ticker-viewport { flex:1 1 auto; width:0; min-width:0; overflow:hidden; }
.dash-ticker-track { display:flex; flex-shrink:0; width:max-content; animation-name:dash-ticker-scroll; animation-timing-function:linear; animation-iteration-count:infinite; }
.dash-ticker-item { display:flex; align-items:center; gap:8px; padding:0 24px; white-space:nowrap; flex:0 0 auto; }
.dash-ticker-rank { color:#ff5a1f; font-weight:800; flex:0 0 auto; }
.dash-ticker-title { color:#e9ebee; }
.dash-ticker-lava { flex:0 0 auto; color:#ff8a3d; font-weight:700; font-size:11.5px; }
@keyframes dash-ticker-scroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }

.dash-modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(6, 7, 9, 0.55);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
    animation: dash-modal-fade-in 0.18s ease;
}
@keyframes dash-modal-fade-in { from { opacity: 0; } to { opacity: 1; } }

.dash-modal-card {
    position: relative;
    background: linear-gradient(155deg, rgba(30,33,40,0.72) 0%, rgba(14,16,20,0.78) 100%);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 28px 28px 24px;
    width: 440px; max-width: 90vw;
    box-shadow:
        0 24px 60px rgba(0,0,0,0.55),
        0 2px 0 rgba(255,255,255,0.06) inset,
        0 0 0 1px rgba(255,90,31,0.06);
    animation: dash-modal-in 0.22s cubic-bezier(0.16,1,0.3,1);
    overflow: hidden;
}
@keyframes dash-modal-in {
    from { opacity: 0; transform: translateY(10px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.dash-modal-glow {
    position: absolute; top: -80px; right: -80px;
    width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,90,31,0.35) 0%, rgba(255,90,31,0) 70%);
    pointer-events: none;
    filter: blur(10px);
}

.dash-modal-head { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.dash-modal-head h4 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.2px; }
.dash-modal-close {
    cursor: pointer; opacity: 0.55; font-size: 13px; line-height: 1;
    width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
    transition: opacity 0.15s, background 0.15s;
}
.dash-modal-close:hover { opacity: 1; background: rgba(255,255,255,0.09); }

.dash-modal-card .desc {
    position: relative; z-index: 1;
    font-size: 12.5px; color: #a7adb5; line-height: 1.5;
    margin: 8px 0 20px;
}

.dash-modal-field { position: relative; z-index: 1; margin-bottom: 14px; }
.dash-modal-field label {
    display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.4px;
    color: #8b9099; text-transform: uppercase; margin-bottom: 6px;
}

.dash-modal-input {
    width: 100%; box-sizing: border-box;
    margin: 12px 0;
    padding: 12px 14px;
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #f1f2f4; font-size: 13.5px;
    outline: none;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.dash-modal-input::placeholder { color: #5c6169; }
.dash-modal-input:focus {
    border-color: rgba(255,90,31,0.55);
    background: rgba(0,0,0,0.4);
    box-shadow: 0 0 0 3px rgba(255,90,31,0.12);
}
.dash-modal-input:disabled { opacity: 0.5; cursor: not-allowed; }

.dash-submit-actions {
    position: relative; z-index: 1;
    display: flex; gap: 10px; margin-top: 20px;
}
.dash-submit-actions .dash-btn-primary,
.dash-submit-actions .dash-btn-secondary { flex: 1; justify-content: center; }

.dash-reservoir-popup { background:transparent; border-radius:16px; overflow:hidden; border:0.5px solid rgba(255,255,255,0.08); }
.dash-titlebar { background:rgba(255,255,255,0.03); padding:1rem 1.5rem; border-bottom:0.5px solid rgba(255,255,255,0.08); }
.dash-titlebar h4 { margin:0; font-size:16px; font-weight:500; color:#fff; }
.dash-reservoir-body { padding:1.5rem; background:transparent; }

.dash-ring-inner {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}
.dash-ring-inner .pct-lbl { font-size: 8.5px; font-weight: 600; color: #8b9099; }

.dash-row-glow { animation: dash-row-glow-pulse 5.2s ease-out; }
@keyframes dash-row-glow-pulse {
    0%   { background-color: rgba(255, 140, 0, 0.35); box-shadow: 0 0 16px rgba(255, 140, 0, 0.5); }
    100% { background-color: transparent; box-shadow: none; }
}

/* ---- collapsible sidebar ---- */
.dash-sidebar-toggle {
    margin-left: auto; cursor: pointer;
    width: 24px; height: 24px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; flex: 0 0 24px;
    background: #14171b;
    border: 1px solid #21252b;
    color: #8b9099;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.dash-sidebar-toggle:hover {
    color: #ff8a3d;
    border-color: #3a2013;
    background: #1a1d22;
}
.dash-sidebar-toggle:active { background: #12261c1a; }

/* icon-rail state: .dash-brand becomes justify-content:center with only
   the triangle mark + this button as children -- margin-left:auto would
   shove the button to the far edge of the narrow 72px rail instead of
   sitting next to the logo, so drop it in favor of the row's own gap */
.dash-sidebar.collapsed .dash-sidebar-toggle {
    margin-left: 0;
}

.dash-sidebar.collapsed {
    width: 72px; flex: 0 0 72px; padding-left: 10px; padding-right: 10px;
}
.dash-sidebar.collapsed .dash-brand-text,
.dash-sidebar.collapsed .dash-nav-item-label,
.dash-sidebar.collapsed .dash-reservoir,
.dash-sidebar.collapsed .dash-app-chip { display: none; }
.dash-sidebar.collapsed .dash-nav-item { justify-content: center; padding: 9px 0; }
.dash-sidebar.collapsed .dash-brand { justify-content: center; padding: 4px 0 20px; }

.dash-reservoir-full { display: block; }
.dash-reservoir-slice {
    display: none;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 0;
}
.dash-sidebar.collapsed .dash-reservoir-full { display: none; }
.dash-sidebar.collapsed .dash-reservoir-slice { display: flex; }
.dash-sidebar.collapsed .dash-reservoir { padding: 8px 0; }

.dash-reservoir-slice .slice-icon { font-size: 16px; }
.dash-reservoir-slice .slice-label {
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: 11px; font-weight: 700; color: #ff8a3d; letter-spacing: 0.3px;
    white-space: nowrap;
}

.debug-dump { visibility: hidden; }

.dash-app-chips-grid {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 10px;
    padding: 10px 8px 2px;
}
.dash-app-chips-grid .dash-app-chip {
    margin-top: 0;
    padding: 3px 0;
    font-size: 11px;
    color: #5c6169;
    cursor: pointer;
}
.dash-app-chips-grid .dash-app-chip:hover { color: #8b9099; }
.dash-sidebar.collapsed .dash-app-chips-grid { display: none; }

.dash-copyright {
    font-size: 10.5px;
    color: #5c6169;
    text-align: left;
    padding: 10px 8px 2px;
}
.dash-sidebar.collapsed .dash-copyright { display: none; }

/* =======================================================================
   MOBILE / RESPONSIVE
   Breakpoints: 768px (tablet / off-canvas sidebar kicks in), 480px (phone
   tightening: hero/tiles/reservoir spacing, modal, admin grid, chat).
   The sidebar becomes a fixed off-canvas drawer at <=768px, toggled by
   .dash-hamburger (topbar) via the !sidebar-mobile-open? atom, with a
   .dash-sidebar-backdrop overlay to tap-close. See CLJS changes for the
   new elements/atom this pairs with.
   ======================================================================= */

.dash-hamburger { display: none; }

@media (max-width: 768px) {

    /* ---- app shell: sidebar becomes an off-canvas drawer ---- */
    .dash { overflow: visible; }

    .dash-sidebar {
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 260px;
        flex: 0 0 260px;
        transform: translateX(-100%);
        transition: transform 0.22s ease;
        z-index: 200;
        box-shadow: 8px 0 30px rgba(0,0,0,0.6);
    }
    .dash-sidebar.mobile-open { transform: translateX(0); }
    /* the desktop icon-rail "collapsed" state is irrelevant once we're
       off-canvas -- always show the full drawer content when open */
    .dash-sidebar.collapsed { width: 260px; flex: 0 0 260px; padding: 20px 14px; }
    .dash-sidebar.collapsed .dash-brand-text,
    .dash-sidebar.collapsed .dash-nav-item-label,
    .dash-sidebar.collapsed .dash-reservoir,
    .dash-sidebar.collapsed .dash-app-chip,
    .dash-sidebar.collapsed .dash-app-chips-grid,
    .dash-sidebar.collapsed .dash-copyright { display: revert; }
    .dash-sidebar.collapsed .dash-nav-item { justify-content: flex-start; padding: 9px 10px; }
    .dash-sidebar.collapsed .dash-brand { justify-content: flex-start; padding: 4px 8px 20px; }
    .dash-sidebar.collapsed .dash-reservoir-full { display: block; }
    .dash-sidebar.collapsed .dash-reservoir-slice { display: none; }
    .dash-sidebar-toggle { display: none; } /* desktop collapse control not needed once off-canvas */

    .dash-sidebar-backdrop {
        display: block;
        position: fixed; inset: 0;
        background: rgba(6,7,9,0.6);
        backdrop-filter: blur(3px);
        z-index: 150;
        animation: dash-modal-fade-in 0.18s ease;
    }

    .dash-hamburger {
        display: flex;
        align-items: center; justify-content: center;
        width: 34px; height: 34px; flex: 0 0 34px;
        border-radius: 9px;
        background: #14171b;
        border: 1px solid #21252b;
        color: #e9ebee;
        font-size: 15px;
        cursor: pointer;
        order: -1; /* sit before ticker/status/etc in the topbar */
    }

    .dash-main { padding: 16px 0 50px; }

    /* ---- topbar / ticker ---- */
    .dash-topbar {
        padding-left: 14px;
        padding-right: 14px;
        gap: 10px;
        flex-wrap: wrap;
    }
    .dash-ticker { order: 3; flex: 1 1 100%; }
    .dash-topbar-right { gap: 8px; }
    .dash-status span:not(.dot) { display: none; } /* keep just the dot on phones-ish widths, label reappears >480 below */

    /* ---- hero: stop overlaying the reservoir card, stack instead ----
       On desktop the reservoir card is position:absolute, floating on
       top of the bg image inside a fixed-height hero. On mobile we want
       it to push the hero taller instead of covering the artwork, so it
       goes back to being a normal in-flow block after the hero content
       -- the hero's own min/max-height constraints are dropped so the
       section can grow to fit both children naturally. */
    .dash-hero {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        max-height: none;
        height: auto;
        padding: 24px 14px 28px;
        margin-bottom: 16px;
        background-image:
            linear-gradient(to bottom, rgba(11,13,16,0.45) 0%, rgba(11,13,16,0.92) 85%),
            url('/img/bo.vo.png');
        background-position: center top;
        background-size: cover;
    }
    .dash-hero-title { font-size: 32px; }
    .dash-hero-sub { max-width: none; }
    .dash-hero-actions { flex-wrap: wrap; }

    .dash-reservoir-card {
        position: static;
        width: auto;
        margin-top: 24px;
    }

    /* ---- tiles + body: single column ---- */
    .dash-tiles {
        grid-template-columns: 1fr 1fr;
        margin: 12px 0 20px;
        padding-left: 14px;
        padding-right: 14px;
    }
    .dash-body {
        grid-template-columns: 1fr;
        padding-left: 14px;
        padding-right: 14px;
    }

    .dash-chat-card { height: 360px; }

    /* ---- admin panel ---- */
    .dash-admin-panel { padding: 14px; margin: 0 14px 18px; }
    .dash-admin-grid { grid-template-columns: 1fr; }
    .dash-admin-card.wide { width: 100%; overflow-x: auto; }

    /* ---- submit / epoch-admin modals ---- */
    .dash-modal-card { width: 100%; max-width: 94vw; padding: 22px 18px 18px; }
    .dash-submit-actions { flex-direction: column; }

    /* ---- feed rows: let stats wrap instead of overflowing ---- */
    .dash-row { padding: 14px 12px; gap: 10px; }
    .dash-row-stats { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .dash-hero-title { font-size: 26px; }
    .dash-tiles { grid-template-columns: 1fr; }
    .dash-reservoir-card { padding: 14px; }
    .dash-ring { width: 76px; height: 76px; flex: 0 0 76px; }
    .dash-status span:not(.dot) { display: inline; } /* room reopened once ticker has already dropped to its own row */
    .dash-topbar-right { flex-wrap: wrap; row-gap: 8px; }
    .dash-avatar, .dash-bell { display: none; } /* pure decoration, drop first on very small screens */
    .dash-chat-card { height: 320px; }
    .dash-feed-tabs { padding: 10px 12px 8px; }
    .dash-tabset { gap: 12px; flex-wrap: wrap; }
    .dash-sortby-row > div:last-child { display: none; } /* epoch/cost info line: hide on phone, still visible on the reservoir card */
}

@media (max-width: 768px) {
    .dash-row-main * { overflow-wrap: break-word; word-break: break-all; }
}

@media (max-width: 768px) {
    .dash-body { padding-right: 18px; }
    .dash-row { padding: 14px 16px 14px 12px; }
}

.dash-ring-progress {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
}
.dash-ring-progress::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #14171b;
}


.dash-popover-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.dash-popover-card {
  background: #0f1419;
  border: 1px solid #1a2332;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.dash-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #1a2332;
}

.dash-popover-head h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

.dash-popover-close {
  background: none;
  border: none;
  color: #888;
  font-size: 20px;
  cursor: pointer;
}

.dash-popover-body {
  padding: 20px 24px;
  color: #ccc;
  line-height: 1.6;
}


/* ========== POPOVER STYLES ========== */

.dash-popover-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 7, 9, 0.55);
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: dash-modal-fade-in 0.18s ease;
}

.dash-popover-card {
    position: relative;
    background: linear-gradient(155deg, rgba(30,33,40,0.82) 0%, rgba(14,16,20,0.88) 100%);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    max-width: 520px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 0;
    box-shadow:
        0 24px 60px rgba(0,0,0,0.55),
        0 2px 0 rgba(255,255,255,0.06) inset,
        0 0 0 1px rgba(255,90,31,0.06);
    animation: dash-modal-in 0.22s cubic-bezier(0.16,1,0.3,1);
    overflow: hidden;
}

.dash-popover-card::-webkit-scrollbar {
    width: 7px;
}
.dash-popover-card::-webkit-scrollbar-track {
    background: transparent;
}
.dash-popover-card::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
}
.dash-popover-card::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.12);
}

.dash-popover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    background: rgba(14,16,20,0.7);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.dash-popover-head h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: #f1f2f4;
    letter-spacing: -0.2px;
}

.dash-popover-close {
    cursor: pointer;
    opacity: 0.55;
    font-size: 13px;
    line-height: 1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    flex: 0 0 26px;
    transition: opacity 0.15s, background 0.15s;
    color: #a7adb5;
}

.dash-popover-close:hover {
    opacity: 1;
    background: rgba(255,255,255,0.09);
    color: #e9ebee;
}

.dash-popover-body {
    padding: 20px 24px 24px;
}

.dash-popover-body p {
    margin: 0;
    font-size: 14px;
    color: #a7adb5;
    line-height: 1.6;
}

.dash-popover-body p + p {
    margin-top: 12px;
}

/* ========== SIDEBAR & FOOTER BUTTON STYLING ========== */

.dash-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    color: #a7adb5;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.15s ease;
    font-family: inherit;
    font-weight: 500;
}

.dash-sidebar-item:hover {
    background: #161a1f;
    color: #e9ebee;
    border-color: transparent;
}

.dash-sidebar-item:active {
    background: #0f1216;
    color: #ff8a3d;
}

.dash-app-chip {
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    background: transparent;
    border: none;
    padding: 3px 0;
    font-size: 11px;
    font-family: inherit;
}

.dash-app-chip:hover {
    color: #ff8a3d;
}

.dash-app-chip:active {
    color: #ff6a34;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */

@media (max-width: 768px) {
    .dash-popover-card {
        max-width: 95vw;
        width: 95vw;
        max-height: 85vh;
        border-radius: 14px;
    }

    .dash-popover-head {
        padding: 16px 20px;
    }

    .dash-popover-head h3 {
        font-size: 16px;
    }

    .dash-popover-body {
        padding: 16px 20px 20px;
    }

    .dash-popover-body p {
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .dash-popover-card {
        max-width: 98vw;
        width: 98vw;
        border-radius: 12px;
    }

    .dash-popover-head {
        padding: 14px 16px;
    }

    .dash-popover-head h3 {
        font-size: 15px;
    }

    .dash-popover-body {
        padding: 14px 16px 16px;
    }

    .dash-popover-close {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
    }
}


/* ========== EPOCH NAVIGATION ========== */

.dash-epoch-nav {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 0 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dash-epoch-nav-label {
    font-size: 13px;
    color: #8b9099;
    flex: 1;
    text-align: center;
    font-weight: 500;
}

.dash-btn-secondary {
    background: #181a1d;
    color: #e9ebee;
    border: 1px solid #2c3038;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    flex: 0 0 auto;
}

.dash-btn-secondary:hover:not(:disabled) {
    background: #202226;
    border-color: #3a3f47;
    color: #fff;
}

.dash-btn-secondary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.dash-btn-secondary:active:not(:disabled) {
    background: #0f1216;
    border-color: #1a1f26;
}

/* ========== TABLE STYLING ========== */

.dash-table {
    width: 100%;
    border-collapse: collapse;
}

.dash-table thead {
    position: sticky;
    top: 0;
    background: rgba(14,16,20,0.7);
    backdrop-filter: blur(8px);
    z-index: 5;
}

.dash-table th {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid #21252b;
    font-size: 11.5px;
    font-weight: 700;
    color: #8b9099;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dash-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #1a1d22;
    font-size: 13px;
}

.dash-table tbody tr:hover {
    background: rgba(255,90,31,0.04);
}

.dash-table tbody tr:last-child td {
    border-bottom: none;
}

.dash-table td:first-child {
    color: #ff8a3d;
    font-weight: 700;
    width: 50px;
    text-align: left;
}

.dash-table td:nth-child(2) {
    color: #e9ebee;
    font-weight: 500;
}

.dash-table td:nth-child(3) {
    color: #8b9099;
}

.dash-table td:nth-child(4) {
    color: #ff8a3d;
    font-weight: 600;
    text-align: right;
}

.dash-reservoir-card-head h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #f1f2f4;
    letter-spacing: -0.1px;
}

.dash-tile-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tooltip-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 90, 31, 0.15);
    border: 1px solid rgba(255, 90, 31, 0.3);
    color: #ff8a3d;
    font-size: 11px;
    font-weight: 700;
    cursor: help;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.15s ease;
    flex: 0 0 18px;
}

.tooltip-icon:hover {
    background: rgba(255, 90, 31, 0.25);
    border-color: rgba(255, 90, 31, 0.5);
    box-shadow: 0 0 8px rgba(255, 90, 31, 0.2);
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    background: linear-gradient(155deg, rgba(20, 23, 27, 0.95) 0%, rgba(14, 16, 20, 0.98) 100%);
    border: 1px solid rgba(255, 90, 31, 0.25);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    color: #a7adb5;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    animation: tooltip-fade-in 0.15s ease;
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(155deg, rgba(20, 23, 27, 0.95) 0%, rgba(14, 16, 20, 0.98) 100%);
    border-right: 1px solid rgba(255, 90, 31, 0.25);
    border-bottom: 1px solid rgba(255, 90, 31, 0.25);
    transform: translateX(-50%) rotate(45deg);
}

@keyframes tooltip-fade-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive: stack tooltip on smaller screens */
@media (max-width: 480px) {
    .tooltip-content {
        white-space: normal;
        max-width: 200px;
        left: auto;
        right: -120px;
        transform: none;
    }

    .tooltip-content::after {
        left: auto;
        right: 8px;
        transform: rotate(45deg);
    }
}

.dash-popover-card {
    position: relative;
    background: linear-gradient(155deg, rgba(30,33,40,0.82) 0%, rgba(14,16,20,0.88) 100%);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    max-width: 520px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow:
        0 24px 60px rgba(0,0,0,0.55),
        0 2px 0 rgba(255,255,255,0.06) inset,
        0 0 0 1px rgba(255,90,31,0.06);
    animation: dash-modal-in 0.22s cubic-bezier(0.16,1,0.3,1);
    overflow: hidden;
}

.dash-popover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    background: rgba(14,16,20,0.7);
    backdrop-filter: blur(8px);
    z-index: 10;
    flex-shrink: 0;
}

.dash-popover-body {
    padding: 20px 24px 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.dash-popover-body::-webkit-scrollbar {
    width: 7px;
}

.dash-popover-body::-webkit-scrollbar-track {
    background: transparent;
}

.dash-popover-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
}

.dash-popover-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.12);
}

.dash-popover-body h4 {
    margin: 14px 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #ff8a3d;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.dash-popover-body h4:first-child {
    margin-top: 0;
}

.dash-popover-body p {
    margin: 0;
    font-size: 14px;
    color: #a7adb5;
    line-height: 1.6;
}

.dash-popover-body p + p {
    margin-top: 12px;
}

.dash-popover-footer {
    margin-top: 16px !important;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px !important;
    color: #8b9099 !important;
    text-align: center;
}

.dash-popover-body h4 {
    margin: 14px 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #a7adb5;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}


.dash-reservoir-card-body {
    display: flex;
    gap: 0;
    padding: 16px 18px;
}

.dash-reservoir-card-numbers {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding-right: 18px;
}

.dash-reservoir-card-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 18px;
    flex: 0 0 auto;
}

.dash-ring-lg { position:relative; width:120px; height:120px; display:flex; align-items:center; justify-content:center; flex:0 0 120px; }
.dash-ring-lg .dash-ring-inner { width:80px; height:80px; font-size:15px; }
.dash-ring-lg .dash-ring-inner .pct-lbl { font-size:9.5px; }

.dash-reservoir-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin: 8px 0;
}


.dash-reservoir-card {

    background: rgba(18,20,23,0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

}
