/* Aurora Mine — rebuilt to match the archived AuroraMine (Oct 2017) design
   verbatim: colors, spacing and component rules copied from the real site's
   base.css + style.css. See /tmp/aurora_*.css source during the rebuild. */

@import url("https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,700i");

@font-face {
  font-family: "Font Awesome";
  src: url("../fonts/fontawesome.woff2") format("woff2"),
       url("../fonts/fontawesome.woff") format("woff"),
       url("../fonts/fontawesome.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
.fa:before { font-family: "Font Awesome", sans-serif; vertical-align: baseline; }
[data-icon]:before, .icon:before {
  content: attr(data-icon);
  display: inline-block;
  font-size: inherit;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  min-width: 1em;
}

/* ---- reset essentials ---- */
* { box-sizing: border-box; }
html, body, div, span, h1, h2, h3, h4, h5, h6, p, ul, ol, li, table, tr, td, th, a, img, form, input, select, textarea, button { margin: 0; padding: 0; border: 0; }
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section { display: block; }
img { max-width: 100%; border-style: none; }
table { border-collapse: collapse; }
a { background-color: transparent; }

/* ---- base typography (real base.css) ---- */
html { font-family: "Lato", Arial, sans-serif; font-size: 14px; color: #fff; }
body {
  background-color: #0d374c;
  background-image: url("../img/bg.jpg");
  background-position: 0% 50%;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-width: 1230px;
}
small { font-size: .85em; }
strong, b { font-weight: 700; }
a:link, a:visited { color: #00ff96; text-decoration: none; }
a:hover, a:active { text-decoration: underline; }
::selection { background: #fff; color: #0d374c; }
hr { background-color: #fff; margin: 40px auto; height: 1px; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; margin-bottom: 1.25em; }
h1 { font-size: 28px; font-weight: 400; }
h2 { font-size: 26px; text-align: center; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
p, ul, ol { margin-bottom: 1.5em; }
p, ul li, ol li, table td { line-height: 1.5; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

.container { position: relative; width: 1200px; margin-left: auto; margin-right: auto; }
.underline { display: none; } /* legacy hook from the old theme, unused now */

/* ---- menu (real #menu rules) ---- */
#menu { background-color: #0d374c; height: 86px; position: relative; z-index: 50; }
#menu .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
#menu .brand { display: flex; align-items: center; height: 100%; color: #fff; }
#menu .brand img { display: block; }
#menu nav ul { display: flex; list-style: none; align-items: center; }
#menu nav ul > li > a { padding: 10px; border-bottom: 2px solid transparent; color: #fff; display: block; }
#menu nav ul > li:hover > a, #menu nav ul > li:active > a { background-color: #0a2c3d; }
#menu nav ul > li.active > a { border-color: #00ff96; }
#menu nav ul > li + li { margin-left: 20px; }
#menu .fa { color: #00ff96; font-size: 16px; }
#navBurger { display: none; width: 30px; height: 22px; flex-direction: column; justify-content: space-between; background: none; cursor: pointer; }
#navBurger span { display: block; height: 2px; background: #00ff96; border-radius: 1px; }

/* ---- hero ---- */
#hero, #dash-hero {
  background-image: url("../img/hero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
}
#hero .container { text-align: center; }
.hero-mobile { display: none; }
#dash-hero .container { padding: 60px 0; }

/* ---- stats bar ---- */
#stats { background-color: #0d374c; padding: 18px 0; }
#stats .container { display: flex; justify-content: space-between; align-items: center; }
#stats .container > div { text-align: center; }
#stats .label { font-size: 11px; color: #00ff96; display: block; font-weight: 700; line-height: 1; margin-bottom: .5em; text-transform: uppercase; }
#stats .value { display: block; }
#stats select { background: none; border: none; border-bottom: 2px solid #00ff96; color: #fff; padding: .5em .25em; display: inline-block; font: inherit; }
#stats select > option { color: #0d374c; }

input, select { background: none; border: none; border-bottom: 2px solid #00ff96; padding: .5em .25em; display: inline-block; color: #fff; font: inherit; }
select > option { color: #0d374c; }

/* ---- main body panel ---- */
main { background-color: rgba(29,112,153,.3); }
main > .container, main > div > .container, main > .view > .container { padding: 75px 0; }

/* ---- dashboard hero stats (#dash-hero, real archive pattern) ---- */
#user-stats { display: flex; justify-content: space-between; align-items: center; }
#user-stats .value { display: block; font-weight: 700; font-size: 20px; text-align: center; }
#user-stats .label { font-size: 13px; color: #00ff96; display: block; font-weight: 800; line-height: 1; margin-top: .5em; text-transform: uppercase; text-align: center; }
#user-stats div div+div { margin-top: 20px; }
#user-stats .balance .value { font-size: 42px; text-align: left; }
#user-stats .balance .label { text-align: left; }

/* ---- striped info tables (real archive table.default/top/total) ---- */
table.default tbody tr:nth-child(even) { background-color: rgba(255,255,255,.1); }
table.default tbody tr:nth-child(odd) { background-color: rgba(255,255,255,.3); }
table.total { width: 100%; max-width: 1000px; margin-left: auto; margin-right: auto; }
table.top { width: 100%; }
table.top th { text-align: left; border-bottom: 2px solid #00ff96; color: #00ff96; padding: .8em; }

/* ---- #investor (deposit box, real archive pattern) ---- */
#investor { width: 750px; max-width: 100%; background-color: rgba(255,255,255,.1); margin: 0 auto; }
#investor .tabs { background-color: rgba(255,255,255,.3); text-align: center; }
#investor .tabs .tab { padding: .6em 0; margin: 0 1em; font-size: 16px; font-weight: 700; color: #fff; display: inline-block; cursor: pointer; border-bottom: 3px solid transparent; }
#investor .tabs .tab:hover, #investor .tabs .tab:active, #investor .tabs .tab.active { border-color: #00ff96; }
#investor .tab-box { padding: 2em; }
#investor .flex { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
#investor .flex .imgwrap { padding: 10px; background-color: #fff; line-height: 0; }
#investor .flex .imgwrap img { width: 125px; height: 125px; }
#investor .flex p { margin-left: 20px; margin-bottom: 0; }

/* ---- two-column layout utility (dashboard info boxes) ---- */
.cols { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.cols > div { flex: 1 1 300px; }

.btn, a.btn, button.btn {
  display: inline-block;
  font-weight: 700;
  color: #0d374c;
  padding: .9em 1.75em;
  border-radius: 3px;
  background-color: #2bc3ff;
  text-align: center;
  transition: transform .125s;
  cursor: pointer;
}
.btn:hover, .btn:active, a.btn:hover, a.btn:active { background-color: #29b9f2; transform: scale(1.1); text-decoration: none; }
.btn.big, a.btn.big, button.btn.big { font-size: 18px; }
.cta-wrap { text-align: center; padding: 56px 0 0; }

/* ---- pricing ---- */
.pricing { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.pricing .plan { background-color: #0d374c; box-shadow: 0 15px 35px -10px rgba(0,0,0,.4); padding: 36px 32px; flex: 1 1 0; min-width: 240px; }
.pricing .plan .icon { font-size: 42px; color: #fff; line-height: 1; }
.pricing .plan .price-hp { display: flex; align-items: center; justify-content: space-between; padding-bottom: 30px; border-bottom: 2px solid #00ff96; margin-bottom: 0; }
.pricing .hashpower { font-size: 26px; color: #00ff96; line-height: 1; margin-bottom: .15em; font-weight: 700; display: block; text-align: right; }
.pricing .price { font-size: 16px; text-align: right; line-height: 1; display: block; }
.pricing .divider { display: none; }
.pricing .profit { text-align: center; padding-top: 28px; display: block; }
.pricing .days { text-transform: uppercase; font-weight: 700; display: block; line-height: 1; margin-bottom: .5em; font-size: 12px; }
.pricing .profitpc { font-size: 16px; font-weight: 700; color: #2bc3ff; display: block; }
.pricing .profitpc small { display: block; font-size: 10px; text-transform: uppercase; color: #fff; font-weight: 700; margin-top: .4em; }

/* ---- calculator ---- */
.calc-wrap { background-color: rgba(255,255,255,.1); }
.calc-wrap .container { padding: 15px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.calc-wrap h3 { margin: 0; margin-right: 40px; white-space: nowrap; }
#calculator { display: flex; justify-content: space-between; align-items: center; width: 100%; flex-wrap: wrap; gap: 20px; }
#calculator .input input { display: block; width: 100%; font-size: 16px; text-align: center; }
#calculator .input label { text-transform: uppercase; color: #00ff96; font-weight: 700; text-align: center; display: block; font-size: 10px; margin-top: .75em; }
#calculator .equal { font-size: 20px; font-weight: 700; }
#calculator .result { display: flex; gap: 20px; flex-wrap: wrap; }
#calculator .result > div { display: flex; align-items: baseline; }
#calculator .r-label { font-size: 12px; font-weight: 700; margin-right: 10px; text-transform: uppercase; }
#calculator .r-value { font-size: 16px; line-height: 20px; }

/* ---- about ---- */
#about .company-box { float: right; display: flex; margin-left: 20px; margin-bottom: 20px; }
#about .company-box img.badge { margin-right: 20px; width: 169px; height: 140px; }
#about .company-box .lines { line-height: 1.5; }
#about .company-box .lines strong { display: block; }
#about .company-box .lines a { display: inline-block; margin-top: 4px; }
#about p { width: 65%; }
#about .founders-banner { display: block; margin: 25px 0; width: 100%; height: auto; background: rgba(13,55,76,.55); border-radius: 6px; }

/* ---- locations ---- */
#locations img.world { float: left; margin-right: 40px; width: 145px; height: 151px; }
#locations .loc-copy { overflow: hidden; }
#locations ul.loc-list { margin-left: 170px; list-style: disc; }

/* ---- why choose us ---- */
#why .why-flex { display: flex; align-items: flex-start; gap: 40px; }
#why .why-flex > p { width: 45%; margin-bottom: 0; }
table.left { text-align: left; width: 50%; }
table.left th { text-align: left; white-space: nowrap; padding-right: 10px; }
table td, table th { padding: .4em .8em; vertical-align: top; }

/* ---- FAQ (bonus content, kept consistent with the real theme) ---- */
/* ---- 3-level referral diagram (Affiliate / #why section) ---- */
.ref-diagram { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; max-width: 900px; margin: 0 auto; }
.ref-node { background-color: #0d374c; box-shadow: 0 15px 35px -10px rgba(0,0,0,.4); padding: 20px 22px; text-align: center; min-width: 110px; }
.ref-node.you { background-color: rgba(255,255,255,.1); }
.ref-node .ref-pct { display: block; font-size: 26px; font-weight: 700; color: #00ff96; line-height: 1; margin-bottom: .4em; }
.ref-node .ref-node-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; line-height: 1.4; }
.ref-node.you .ref-node-label { font-size: 16px; }
.ref-arrow { font-size: 22px; color: #2bc3ff; font-weight: 700; }
.ref-diagram-note { max-width: 700px; margin: 18px auto 0; text-align: center; font-size: 13px; opacity: .85; }

@media (max-width: 760px) {
  .ref-diagram { gap: 8px; }
  .ref-arrow { transform: rotate(90deg); }
}

#faq .faq-item { background: rgba(255,255,255,.1); margin-bottom: 10px; padding: .6em 1em; }
#faq .faq-item strong { display: block; font-weight: 700; color: #00ff96; }
#faq .faq-item p { margin: .75em 0 0; width: 100%; }

/* ---- footer ---- */
.site-footer { background-color: #0d374c; padding: 30px 0; font-size: 12px; }
.site-footer .foot-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.site-footer nav a { margin-left: 16px; color: #fff; }
.site-footer nav a:hover { color: #00ff96; }
.site-footer .legal { opacity: .7; margin-bottom: .5em; }
.site-footer .copy { opacity: .7; margin-bottom: 0; }

/* ---- login / auth (shared look for auth.html) ---- */
.login { width: 300px; margin: 0 auto; text-align: center; background-color: #0d374c; padding: 35px; }
.login input, .login select { display: block; width: 100%; margin-bottom: 1em; }
.login label { text-align: left; font-size: 11px; color: #00ff96; display: block; font-weight: 700; line-height: 1; text-transform: uppercase; margin-bottom: .25em; }
.login .btn { margin-top: 10px; }
.login a { display: block; margin-top: 20px; font-size: 12px; }
.login [data-icon]:before { display: block; text-align: center; font-size: 36px; margin-bottom: 20px; }
.login .tabs { display: flex; justify-content: center; margin-bottom: 20px; }
.login .tabs .tab { padding: .6em 0; margin: 0 1em; font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; border-bottom: 3px solid transparent; }
.login .tabs .tab:hover, .login .tabs .tab.active { border-color: #00ff96; }
.login .formerror { display: block; color: #ff294d; font-size: 12px; margin: -.5em 0 1em; min-height: 1em; }
.captcha-check { display: flex; align-items: center; gap: .9em; background: #f9f9f9; color: #000; border: 1px solid #d3d3d3; border-radius: 3px; padding: .9em 1.1em; margin: 1em 0; text-align: left; font-size: 14px; font-weight: 400; text-transform: none; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.captcha-box { position: relative; width: 28px; height: 28px; flex: 0 0 auto; border: 2px solid #c1c1c1; border-radius: 3px; background: #fff; display: flex; align-items: center; justify-content: center; transition: border-color .15s; cursor: pointer; }
.captcha-box.checked { border-color: #00a650; }
/* scoped past .login so it reliably beats the page-wide ".login input"
   rule (same specificity otherwise, so source order would decide it) —
   the real checkbox stays fully hidden; the box's own classes drive 100%
   of the visible state, and the box itself (not the hidden input) is what
   actually gets clicked. */
.login .captcha-box input { display: none; }
.captcha-spinner { display: none; width: 16px; height: 16px; border: 2px solid #e2e2e2; border-top-color: #2bc3ff; border-radius: 50%; }
.captcha-box.loading .captcha-spinner { display: block; animation: captcha-spin .7s linear infinite; }
.captcha-check-mark { display: none; color: #00a650; font-size: 19px; font-weight: 700; line-height: 1; }
.captcha-box.checked .captcha-check-mark { display: block; }
@keyframes captcha-spin { to { transform: rotate(360deg); } }

/* ---- dashboard shell (app.html / admin.html reuse these) ---- */
#submenu { background-color: #0f3f57; padding: 10px 0; }
#submenu .container { display: flex; justify-content: flex-end; }
#submenu ul { display: flex; align-items: center; list-style: none; }
#submenu ul > li > a { padding: .5em 1em; color: #fff; }
#submenu ul > li:hover > a, #submenu ul > li:active > a { background-color: #0c3246; }
#submenu ul > li.active > a, #submenu ul > li > a.active { font-weight: 700; color: #00ff96; }
#submenu ul > li + li { margin-left: 10px; }

#user-stats { display: flex; justify-content: space-between; align-items: center; }
#user-stats .value { display: block; font-weight: 700; font-size: 20px; text-align: center; }
#user-stats .label { font-size: 13px; color: #00ff96; display: block; font-weight: 800; line-height: 1; margin-top: .5em; text-transform: uppercase; text-align: center; }
#user-stats .balance .value { font-size: 42px; text-align: left; }
#user-stats .balance .label { text-align: left; }

.client-note-box { position: fixed; top: 0; right: 50%; z-index: 1000; text-align: center; display: flex; flex-direction: column; align-items: flex-start; }
.client-note-box[hidden] { display: none; }
.client-note-box .note { display: block; margin: 20px 0 0 20px; border: 1px solid #0d374c; border-radius: 3px; background-color: #2bc3ff; color: #0d374c; padding: .8em 1.8em; transform: translateX(50%); }
.client-note-box .note.error { color: #fff; background-color: #ff294d; }
.client-note-box .note.success { color: #0d374c; background-color: #00ff96; }

@media (max-width: 1200px) {
  body { padding: 0; min-width: 0; }
  .container { width: 100%; padding: 0 20px; }
}

/* ---- responsive (not in the 2017 archive — added so the clone is usable on
   phones/tablets; desktop >1100px keeps the archive's exact fixed layout) ---- */
@media (max-width: 1100px) {
  main > .container, main > div > .container { padding: 50px 0; }
  .pricing { gap: 16px; }
  .pricing .plan { flex: 1 1 calc(50% - 16px); }
}

@media (max-width: 900px) {
  #stats .container { flex-wrap: wrap; gap: 18px 28px; justify-content: center; }
  #stats .container > div { text-align: center; flex: 0 0 auto; }
  .calc-wrap .container { flex-direction: column; align-items: stretch; text-align: center; }
  .calc-wrap h3 { margin-right: 0; white-space: normal; }
  #calculator { flex-direction: column; align-items: stretch; }
  #calculator .input { width: 100%; }
  #calculator .result { justify-content: center; }
  #about .company-box { float: none; margin-left: 0; }
  #about p { width: 100%; }
  #locations img.world { float: none; display: block; margin: 0 auto 20px; }
  #locations ul.loc-list { margin-left: 0; }
  .why-flex { flex-direction: column; }
  .why-flex > p { width: 100%; }
  table.left { width: 100%; }
}

@media (max-width: 760px) {
  /* multi-column history/list tables (deposit & withdrawal history, referral
     list) have no wrapper div to make scrollable — the admin dashboard's
     table.data already gets this via .panel-box:has(), but table.top never
     did, so it just silently overflowed the viewport on a phone with no way
     to reach the cut-off columns. */
  table.top { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.top th, table.top td { white-space: nowrap; }

  /* the archived hero-banner.png has its headline/feature copy baked into
     the image itself — fine at full size, but it just shrinks (and
     becomes unreadable) rather than reflowing once the image scales down
     on a phone. Swap it for the same copy as real, legible HTML text below
     this width instead of fighting a flat image. */
  .hero-img { display: none; }
  .hero-mobile { display: block; padding: 28px 0; }
  .hero-mobile h1 { font-size: 22px; margin-bottom: .4em; }
  .hero-mobile-sub { font-size: 14px; font-weight: 700; opacity: .9; margin-bottom: 1.2em; }
  .hero-mobile-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }
  .hero-mobile-features li { border-top: 2px solid #2bc3ff; padding-top: .6em; font-size: 13px; line-height: 1.5; }
  .hero-mobile-features li strong { color: #00ff96; }

  #menu { height: 64px; }
  #menu .brand img { height: 26px; }
  #navBurger { display: flex; }
  #navBurger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  #navBurger.open span:nth-child(2) { opacity: 0; }
  #navBurger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  #menu nav { position: absolute; left: 0; right: 0; top: 64px; z-index: 50; }
  #menu nav ul { display: none; flex-direction: column; background: #0d374c; box-shadow: 0 12px 24px rgba(0,0,0,.35); align-items: stretch; }
  #menu nav ul.open { display: flex; }
  #menu nav ul > li { width: 100%; }
  #menu nav ul > li + li { margin-left: 0; }
  #menu nav ul > li > a { padding: 14px 20px; }

  .pricing .plan { flex: 1 1 100%; }

  .site-footer .foot-flex { flex-direction: column; gap: 14px; text-align: center; }
  .site-footer nav a { margin: 0 8px; }

  .login { width: 100%; max-width: 320px; }

  #submenu .container { justify-content: center; }
  #submenu ul { flex-wrap: wrap; justify-content: center; }
  #user-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
  #user-stats > div { text-align: center; }
  #user-stats .balance .value, #user-stats .balance .label { text-align: center; }
}

@media (max-width: 480px) {
  html { font-size: 13px; }
  #stats .container { gap: 14px 22px; }
  .pricing .plan { padding: 26px 22px; }
}

/* ===================================================================
   AUTH / DASHBOARD / ADMIN — auth.html, app.html, admin.html
   No archived reference exists for these (Wayback only has the
   homepage) — same product, same tokens: #0d374c navy, #00ff96 green,
   #2bc3ff cyan, #ff294d red, Lato, flat panels with 2px accent
   border-bottoms, uppercase 700 micro-labels. No shadows/gradients.
   =================================================================== */

:root {
  --accent: #00ff96;
  --muted: rgba(255,255,255,.65);
  --muted-dim: rgba(255,255,255,.45);
}

/* old "glassy" decorative layers — inert, the real body background wins */
.aurora-bg, .sky-photo, .sky-glow, .sky-shade, .stars, .btc-pattern { display: none; }

.site-header { position: relative; }
.site-header .topnav ul { display: flex; list-style: none; align-items: center; gap: 10px; }
.site-header .topnav li > a, .site-header .topnav li > span { padding: 10px; display: inline-block; color: #fff; }
.site-header .brand .mark { display: inline-flex; width: 28px; height: 28px; margin-right: 10px; vertical-align: middle; }
.site-header .brand .word { display: inline-flex; flex-direction: column; line-height: 1.1; vertical-align: middle; }
.site-header .brand .sub { font-size: 10px; letter-spacing: .08em; color: var(--accent); font-weight: 700; }

.btn-ghost { display: inline-block; padding: .6em 1.2em; border: 2px solid var(--accent); border-radius: 3px; color: var(--accent); font-weight: 700; }
.btn-ghost:hover { background: var(--accent); color: #0d374c; text-decoration: none; }
.btn.small { font-size: 12px; padding: .6em 1.2em; }
.btn.ghost { background: none; border: 2px solid #2bc3ff; color: #2bc3ff; }
.btn.ghost:hover { background: #2bc3ff; color: #0d374c; }
.btn.block { display: block; width: 100%; }

/* ---- dashboard form fields (app.html / admin.html) ---- */
.field { margin-bottom: 1.1em; text-align: left; }
.field label { display: block; font-size: 11px; color: var(--accent); font-weight: 700; text-transform: uppercase; line-height: 1; margin-bottom: .4em; }
.field input { display: block; width: 100%; }

.msg { display: none; border-radius: 3px; padding: .8em 1.2em; font-size: 13px; margin-bottom: 1em; }
.msg.show { display: block; }
.msg.err { color: #fff; background-color: #ff294d; }
.msg.ok { color: #0d374c; background-color: var(--accent); }

/* ---- dashboard shell (app.html + admin.html) ---- */
.dash-shell { display: flex; align-items: flex-start; max-width: 1200px; margin: 0 auto; padding: 30px 20px 80px; gap: 24px; }
.dash-side { flex: 0 0 200px; background: #0d374c; padding: 10px 0; }
.dash-side nav { display: flex; flex-direction: column; }
.dash-side nav a { padding: .8em 1.2em; color: #fff; border-left: 3px solid transparent; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.dash-side nav a:hover { background: #0a2c3d; text-decoration: none; }
.dash-side nav a.active { color: var(--accent); border-color: var(--accent); background: #0a2c3d; }

.dash-main { flex: 1 1 0; min-width: 0; }
.dash-topbar { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--accent); }

.view { display: none; }
.view.active { display: block; }

.cards-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.kpi { flex: 1 1 150px; background: #0d374c; padding: 18px 20px; }
.kpi .k-value { font-size: 24px; font-weight: 700; line-height: 1; }
.kpi .k-value.accent { color: var(--accent); }
.kpi .k-label { font-size: 11px; color: var(--accent); font-weight: 700; text-transform: uppercase; margin-top: .6em; display: block; }

.panel-box { background: #0d374c; padding: 28px 32px; margin-bottom: 20px; }
.panel-box h3 { margin-top: 0; }

.panel-box:has(table.data) { overflow-x: auto; }
table.data { width: 100%; }
table.data th { text-align: left; border-bottom: 2px solid var(--accent); color: var(--accent); white-space: nowrap; }
table.data td { white-space: nowrap; }

.qr-box { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.qr-box img { background: #fff; padding: 8px; }
.addr-box { font-family: monospace; font-size: 13px; word-break: break-all; background: rgba(255,255,255,.1); padding: .8em 1em; flex: 1 1 220px; }

@media (max-width: 900px) {
  .dash-shell { flex-direction: column; }
  .dash-side { flex: 1 1 auto; width: 100%; }
  .dash-side nav { flex-direction: row; flex-wrap: wrap; overflow-x: auto; }
  .dash-side nav a { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
  .dash-side nav a.active { border-color: var(--accent); }
  .panel-box { padding: 22px 20px; }
}

@media (max-width: 760px) {
  .site-header .topnav ul { gap: 0; flex-wrap: wrap; justify-content: center; }
  .dash-shell { padding: 20px 16px 60px; }
  .cards-row { gap: 12px; }
  .kpi { flex: 1 1 calc(50% - 12px); padding: 14px 16px; }
}

@media (max-width: 480px) {
  .kpi { flex: 1 1 100%; }
}
