/* ---------- TRANSPARENCY DASHBOARD ---------- */
.dash{
  position:relative;z-index:2;
  max-width:1120px;margin:0 auto;
  padding:calc(var(--nav-h) + 88px) 24px 40px;
  --dash-accent:#ffffff;        /* pink chahiye to: #f2a5c4 */
  --line-2:#8b8291;
  --line-3:#57505f;
  --surface:#16131A;
  --edge:#262130;
  --dim:#9A8FA3;
}

.dash-head{max-width:640px;margin-bottom:44px}
.dash-head h1{
  font-size:clamp(36px,4.6vw,56px);
  font-weight:700;letter-spacing:-.036em;line-height:1.08;
  background:linear-gradient(180deg,#ffffff 20%,#dcdcdc 70%,#b0b0b0 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.dash-head p{
  margin-top:16px;max-width:50ch;
  font-size:16.5px;font-weight:500;line-height:1.6;letter-spacing:-.012em;color:#8a8a8a;
}

/* ----- checkpoint selector ----- */
.picker{
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  padding-bottom:26px;margin-bottom:30px;
  box-shadow:inset 0 -1px 0 var(--edge);
}
.cpsel{position:relative}
.cpsel-btn{
  display:flex;align-items:center;gap:14px;
  padding:12px 16px 12px 18px;border:0;border-radius:12px;
  background:var(--surface);box-shadow:inset 0 0 0 1px var(--edge);
  font-family:inherit;font-size:14.5px;font-weight:500;color:#F5F0F5;letter-spacing:-.008em;
  cursor:pointer;
  transition:box-shadow .18s var(--ease);
}
.cpsel-btn:hover{box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.cpsel-btn svg{transition:transform .2s var(--ease)}
.cpsel-btn[aria-expanded="true"] svg{transform:rotate(180deg)}

.cpsel-list{
  position:absolute;top:calc(100% + 8px);left:0;z-index:20;
  min-width:100%;max-height:290px;overflow-y:auto;
  padding:6px;border-radius:14px;
  background:#17141C;
  box-shadow:inset 0 0 0 1px var(--edge),0 24px 50px -20px rgba(0,0,0,.9);
  list-style:none;
}
.cpsel-list li{
  padding:11px 14px;border-radius:9px;
  font-size:14px;color:#c9c3cf;letter-spacing:-.006em;white-space:nowrap;
  cursor:pointer;
  transition:background .15s var(--ease),color .15s var(--ease);
}
.cpsel-list li:hover{background:rgba(255,255,255,.06);color:#fff}
.cpsel-list li[aria-selected="true"]{background:rgba(255,255,255,.1);color:#fff}

.picker .rec{margin-left:auto;font-size:13.5px;color:var(--dim)}
.picker .sep{color:#4b4552;font-size:13.5px}
.picker .tx{
  font-size:13.5px;color:#d8d4da;
  border-bottom:1px solid rgba(255,255,255,.22);padding-bottom:1px;
  transition:color .18s var(--ease),border-color .18s var(--ease);
}
.picker .tx:hover{color:#fff;border-bottom-color:rgba(255,255,255,.6)}

/* ----- metric cards ----- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card{
  padding:26px 24px 24px;border-radius:16px;
  background:var(--surface);
  box-shadow:inset 0 0 0 1px var(--edge);
}
.card .k{display:block;font-size:13.5px;font-weight:500;color:#cfc9d3;letter-spacing:-.006em}
.card .v{
  display:block;margin-top:14px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:32px;line-height:1.1;letter-spacing:-.035em;color:#F5F0F5;
  font-variant-numeric:tabular-nums;
}
.card .q{
  display:block;margin-top:10px;
  font-size:12.5px;line-height:1.45;color:#6f6676;letter-spacing:-.002em;
}
.card .delta{
  display:block;margin-top:14px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:12.5px;color:#8b8291;letter-spacing:-.01em;
  font-variant-numeric:tabular-nums;
}

/* ----- charts ----- */
.charts{margin-top:44px;display:flex;flex-direction:column;gap:24px}
.chart-card{
  padding:24px 22px 20px;border-radius:16px;
  background:var(--surface);box-shadow:inset 0 0 0 1px var(--edge);
}
.chart-card h3{font-size:16.5px;font-weight:600;letter-spacing:-.015em;color:#F5F0F5}
.legend{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0 18px}
.legend span{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--dim)}
.legend i{width:14px;height:2px;border-radius:2px;display:block}
.chart-card svg{display:block;width:100%;height:auto}
.chart-note{
  margin-top:16px;max-width:70ch;
  font-size:12.5px;line-height:1.6;color:#6f6676;letter-spacing:-.002em;
}

/* ----- history ----- */
.history{margin-top:52px}
.history h2,.verify h2{
  font-size:19px;font-weight:600;letter-spacing:-.018em;color:#F5F0F5;
}
.history h2{margin-bottom:18px}
.rows{border-radius:16px;overflow:hidden;box-shadow:inset 0 0 0 1px var(--edge)}
.row-h,.row-r{
  display:grid;grid-template-columns:64px 1.7fr repeat(5,1fr) 46px;
  gap:12px;align-items:center;padding:14px 18px;
}
.row-h{font-size:11.5px;letter-spacing:.13em;color:#6a6070;background:rgba(255,255,255,.02)}
.row-r{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:13.5px;color:#e4e0e6;letter-spacing:-.015em;
  font-variant-numeric:tabular-nums;
  box-shadow:inset 0 1px 0 var(--edge);
}
.row-r .period{color:#9a919f}
.row-r a{color:#c9c4cd}
.row-r a:hover{color:#fff}

/* ----- verification ----- */
.verify{margin-top:60px}
.verify > p{margin-top:10px;font-size:15px;color:var(--dim);letter-spacing:-.004em}
.addrs{
  margin-top:22px;border-radius:16px;overflow:hidden;
  box-shadow:inset 0 0 0 1px var(--edge);background:var(--surface);
}
.addr{
  display:grid;grid-template-columns:190px 1fr auto;gap:16px;align-items:center;
  padding:16px 20px;box-shadow:inset 0 1px 0 var(--edge);
}
.addr:first-child{box-shadow:none}
.addr .n{font-size:13.5px;color:var(--dim);letter-spacing:-.004em}
.addr .val{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:13px;color:#e4e0e6;letter-spacing:-.015em;
  overflow-wrap:anywhere;
}
.addr .val a{color:#e4e0e6;border-bottom:1px solid rgba(255,255,255,.18)}
.addr .val a:hover{color:#fff;border-bottom-color:rgba(255,255,255,.5)}
.addr .acts{display:flex;gap:8px;align-items:center}
.copy{
  padding:7px 13px;border:0;border-radius:8px;
  font-family:inherit;font-size:12.5px;font-weight:500;color:var(--dim);
  background:transparent;box-shadow:inset 0 0 0 1px var(--edge);cursor:pointer;
  transition:color .18s var(--ease),box-shadow .18s var(--ease);
}
.copy:hover{color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)}
.scan{font-size:12.5px;color:#a9a2b0}
.scan:hover{color:#fff}

.howto{margin-top:26px;display:flex;flex-direction:column;gap:12px}
.howto li{
  list-style:none;padding-left:18px;position:relative;
  font-size:14px;line-height:1.6;color:#8d8d93;letter-spacing:-.004em;
}
.howto li::before{
  content:"";position:absolute;left:0;top:.65em;
  width:5px;height:5px;border-radius:50%;background:#3d3844;
}
.howto code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:13px;color:#e4e0e6;
}

/* ----- states ----- */
.skel{
  border-radius:16px;background:var(--surface);
  box-shadow:inset 0 0 0 1px var(--edge);
  height:158px;position:relative;overflow:hidden;
}
.skel::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.045),transparent);
  transform:translateX(-100%);animation:sweep 1.6s infinite;
}
@keyframes sweep{to{transform:translateX(100%)}}

.state{
  text-align:center;padding:86px 24px;
  border-radius:18px;background:var(--surface);
  box-shadow:inset 0 0 0 1px var(--edge);
}
.state h2{font-size:22px;font-weight:600;letter-spacing:-.02em;color:#F5F0F5}
.state p{margin-top:12px;font-size:15px;color:var(--dim);letter-spacing:-.004em}
.state .go{
  display:inline-block;margin-top:26px;
  padding:14px 28px;border-radius:999px;border:0;
  font-family:inherit;font-size:15px;font-weight:600;letter-spacing:-.012em;
  color:#0c0c0c;background:var(--dash-accent);cursor:pointer;
  transition:filter .2s var(--ease),transform .2s var(--ease);
}
.state .go:hover{filter:brightness(.9);transform:translateY(-2px)}

.dash-note{
  margin:60px 0 0;max-width:68ch;
  font-size:13px;line-height:1.7;color:#635a6b;letter-spacing:-.002em;
}

[hidden]{display:none !important}

@media(max-width:900px){
  .dash{padding:calc(var(--nav-h) + 56px) 20px 30px}
  .cards{grid-template-columns:repeat(2,1fr)}
  .row-h{display:none}
  .rows{box-shadow:none;display:flex;flex-direction:column;gap:12px}
  .row-r{
    display:flex;flex-direction:column;gap:9px;
    padding:18px;border-radius:14px;
    background:var(--surface);box-shadow:inset 0 0 0 1px var(--edge);
  }
  .row-r > span{display:flex;justify-content:space-between;gap:14px}
  .row-r > span::before{
    content:attr(data-label);
    font-family:'Switzer',sans-serif;font-size:12.5px;color:#6a6070;letter-spacing:.04em;
  }
  .addr{grid-template-columns:1fr;gap:10px}
  .addr .n{font-size:12.5px;letter-spacing:.06em}
}
@media(max-width:640px){
  .dash{padding:calc(var(--nav-h) + 44px) 18px 24px}
  .dash-head{margin-bottom:32px}
  .dash-head h1{font-size:34px;letter-spacing:-.03em}
  .dash-head p{font-size:15px;margin-top:13px}

  .cards{grid-template-columns:1fr;gap:12px}
  .card{padding:22px 20px 20px}
  .card .v{font-size:28px}

  /* the selector row stacks instead of squeezing */
  .picker{gap:12px;padding-bottom:22px;margin-bottom:24px}
  .picker select{width:100%}
  .picker .rec{margin-left:0;font-size:13px}
  .picker .sep{display:none}

  .charts{margin-top:34px;gap:16px}
  .chart-card{padding:20px 16px 16px}
  .legend{gap:14px;margin:10px 0 14px}

  .history{margin-top:40px}
  .verify{margin-top:44px}
  .addrs{background:transparent;box-shadow:none;display:flex;flex-direction:column;gap:12px}
  .addr{
    border-radius:14px;padding:16px;
    background:var(--surface);box-shadow:inset 0 0 0 1px var(--edge);
  }
  .addr .val{font-size:12px}
  .addr .acts{justify-content:flex-start}
  .howto li{font-size:13.5px}
  .state{padding:64px 20px}
  .dash-note{margin-top:44px}
}
@media(prefers-reduced-motion:reduce){
  .skel::after{animation:none}
}