:root {
  --bg: #04060b;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.105);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f7f9ff;
  --muted: rgba(247, 249, 255, 0.66);
  --soft: rgba(247, 249, 255, 0.44);
  --accent: #38b6ff;
  --red: #f64b43;
  --orange: #fd5f3a;
  --yellow: #f5c43d;
  --green: #4ade80;
  --violet: #8b5cf6;
  --font-display: "Inter Tight", Inter, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.6, .6, 0, 1);
  --angle: 0deg;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; opacity: .55; }
img, canvas, svg { display: block; max-width: 100%; }
::selection { background: rgba(56, 182, 255, .35); }

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(56, 182, 255, .45);
  transition: width .18s ease, height .18s ease, border-color .18s ease;
}
body.cursor-hover .cursor-ring {
  width: 58px;
  height: 58px;
  border-color: rgba(245, 196, 61, .75);
}

.app-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(56, 182, 255, .14), transparent 32rem),
    radial-gradient(circle at 95% 20%, rgba(246, 75, 67, .14), transparent 30rem),
    #04060b;
}
.bg-gradient {
  position: absolute;
  inset: -12%;
  background: url("assets/privatum-gradient-clean.png") center / cover no-repeat;
  opacity: .23;
  filter: blur(28px) saturate(130%);
  transform: scale(1.04);
}
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .78;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 72%);
}
.bg-spotlight {
  position: absolute;
  left: 50%;
  top: -18%;
  width: 220px;
  height: 760px;
  background: conic-gradient(at 50% -5%, transparent 45%, rgba(124,145,182,.3) 49%, rgba(56,182,255,.5) 50%, rgba(124,145,182,.3) 51%, transparent 55%);
  filter: blur(18px);
  opacity: .55;
  transform-origin: top center;
  animation: spotlight-breathe 7s ease-in-out infinite alternate;
}
.spotlight-b {
  left: 78%;
  opacity: .28;
  animation-duration: 9s;
  animation-delay: -3s;
}
@keyframes spotlight-breathe {
  from { transform: translateX(-50%) rotate(-7deg) scale(1); opacity: .3; }
  to { transform: translateX(-50%) rotate(7deg) scale(1.15); opacity: .62; }
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  grid-template-columns: 292px minmax(0, 1fr);
}
.glass-panel {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.08), 0 24px 90px rgba(0,0,0,.24);
  backdrop-filter: blur(18px) saturate(130%);
}
.glass-panel::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 0%, rgba(56,182,255,.55) 12%, transparent 24%, transparent 62%, rgba(245,196,61,.35) 74%, transparent 86%);
  content: "";
  opacity: 0;
  transition: opacity .35s var(--ease);
  animation: border-spin 8s linear infinite;
}
.glass-panel:hover::before { opacity: .8; }
@keyframes border-spin { to { --angle: 360deg; } }

.app-sidebar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(4, 6, 11, .78);
  backdrop-filter: blur(22px) saturate(140%);
}
.side-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}
.side-brand img { width: 44px; height: 44px; }
.side-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -.055em;
}
.side-brand small { color: var(--muted); }
.network-pill {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid rgba(74,222,128,.22);
  border-radius: 18px;
  background: rgba(74,222,128,.07);
}
.network-pill strong, .network-pill small { display: block; }
.network-pill small { color: var(--muted); margin-top: 2px; }
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 rgba(74,222,128,.7);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  70% { box-shadow: 0 0 0 12px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.module-nav {
  display: grid;
  gap: 7px;
  overflow: auto;
  padding-right: 4px;
}
.nav-item {
  position: relative;
  display: grid;
  min-height: 48px;
  align-items: center;
  grid-template-columns: 42px 1fr 8px;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-weight: 700;
  transition: .24s var(--ease);
}
.nav-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .72rem;
}
.nav-item i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  transition: .24s var(--ease);
}
.nav-item:hover,
.nav-item.active {
  border-color: rgba(56,182,255,.26);
  background: rgba(56,182,255,.09);
  color: var(--text);
  transform: translateX(3px);
}
.nav-item.active i { background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.side-footer {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.side-link {
  color: var(--muted);
  font-weight: 700;
  transition: .2s var(--ease);
}
.side-link:hover { color: var(--text); transform: translateX(3px); }
.sidebar-scrim { display: none; }

.app-main {
  min-width: 0;
  padding: 22px 22px 34px;
}
.topbar {
  position: sticky;
  top: 16px;
  z-index: 25;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 12px 14px 12px 20px;
  border-radius: 24px;
}
.topbar-title small,
.eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.topbar-title strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -.035em;
}
.topbar-actions, .button-row, .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.icon-button,
.ghost-button,
.secondary-button,
.primary-button,
.wallet-button,
.text-button,
.flip-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.primary-button {
  background: linear-gradient(135deg, #fff, #d9ecff);
  color: #05070b;
  box-shadow: 0 16px 42px rgba(56,182,255,.22);
}
.primary-button:hover { box-shadow: 0 20px 54px rgba(56,182,255,.34); }
.secondary-button {
  border-color: var(--line);
  background: rgba(255,255,255,.07);
  color: var(--text);
}
.ghost-button, .text-button {
  background: transparent;
  color: var(--muted);
}
.text-button { color: var(--accent); padding: 0; min-height: auto; }
.wallet-button {
  border-color: rgba(246,117,67,.3);
  background: rgba(246,117,67,.1);
  color: var(--text);
}
.wallet-button img { width: 24px; height: 24px; }
.flip-button { border-color: var(--line); background: rgba(255,255,255,.06); color: var(--text); }
.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.wallet-button:hover,
.flip-button:hover,
.icon-button:hover { transform: translateY(-2px); }
.full { width: 100%; }
.mobile-menu { display: none; width: 46px; padding: 0; border-color: var(--line); background: rgba(255,255,255,.06); }
.mobile-menu span { display: block; width: 18px; height: 2px; margin: 2px 0; background: var(--text); }

.module-stage { position: relative; }
.module-page { display: none; }
.module-page.active { display: block; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.hero-card {
  position: relative;
  display: flex;
  min-height: 310px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  padding: 34px;
  border-radius: 34px;
}
.hero-card-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 50%, rgba(245,196,61,.28), transparent 22rem),
    radial-gradient(circle at 0% 100%, rgba(0,54,136,.45), transparent 24rem),
    linear-gradient(115deg, rgba(246,75,67,.42), rgba(253,95,58,.24));
}
.hero-card-content { position: relative; z-index: 1; max-width: 780px; }
.hero-card h1,
.form-panel h1,
.activity-ledger h1,
.recovery-panel h1,
.sdk-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6.3rem);
  font-weight: 620;
  letter-spacing: -.075em;
  line-height: .9;
}
.hero-card p,
.module-copy {
  max-width: 720px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}
.hero-orb {
  position: relative;
  z-index: 1;
  display: grid;
  width: 230px;
  height: 230px;
  flex: 0 0 auto;
  place-items: center;
}
.hero-orb img {
  position: relative;
  z-index: 2;
  width: 128px;
  height: 128px;
  filter: drop-shadow(0 0 34px rgba(255,255,255,.25));
  animation: logo-breathe 5s ease-in-out infinite;
}
.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  animation: orbit-spin 18s linear infinite;
}
.orbit::before {
  position: absolute;
  top: 12%;
  left: 18%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 24px #fff;
  content: "";
}
.orbit-b { inset: 24px; animation-duration: 12s; animation-direction: reverse; border-color: rgba(56,182,255,.28); }
.orbit-c { inset: 48px; animation-duration: 9s; border-color: rgba(245,196,61,.28); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes logo-breathe { 50% { transform: scale(.94) rotate(4deg); } }
.stat-card {
  min-height: 158px;
  padding: 22px;
  border-radius: 26px;
}
.stat-card span, .metric-grid span, .wallet-status span, .form-summary span {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: clamp(1.45rem, 2vw, 2rem);
}
.stat-card small { color: var(--muted); }
.chart-panel { grid-column: span 2; padding: 24px; border-radius: 30px; }
.pipeline-panel { grid-column: span 2; padding: 24px; border-radius: 30px; }
.activity-panel { grid-column: span 3; padding: 24px; border-radius: 30px; }
.quick-panel { padding: 24px; border-radius: 30px; }
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.panel-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 620;
  letter-spacing: -.055em;
  line-height: 1;
}
.panel-mark { width: 58px; height: 58px; opacity: .9; }
.status-badge {
  padding: 8px 11px;
  border: 1px solid rgba(74,222,128,.28);
  border-radius: 999px;
  background: rgba(74,222,128,.09);
  color: var(--green);
  font-size: .8rem;
  font-weight: 850;
}
.bar-chart {
  display: flex;
  height: 260px;
  align-items: end;
  gap: 10px;
  padding-top: 12px;
}
.bar-chart span {
  position: relative;
  flex: 1;
  min-width: 14px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--yellow), var(--red) 58%, rgba(56,182,255,.18));
  box-shadow: 0 0 28px rgba(246,75,67,.14);
  transform-origin: bottom;
}
.bar-chart span:hover::after {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #080b11;
  color: var(--text);
  content: attr(data-value);
  font-family: var(--font-mono);
  font-size: .72rem;
  transform: translateX(-50%);
  white-space: nowrap;
}
.mini-pipeline {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 8px;
}
.mini-pipeline span {
  display: grid;
  min-height: 72px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-weight: 800;
}
.mini-pipeline i {
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--yellow));
}
.quick-actions { display: grid; gap: 10px; }
.quick-action {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  font-weight: 800;
  transition: .2s var(--ease);
}
.quick-action::after { color: var(--accent); content: "↗"; }
.quick-action:hover { border-color: rgba(56,182,255,.36); background: rgba(56,182,255,.09); transform: translateX(3px); }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .8fr);
  gap: 18px;
  align-items: start;
}
.form-panel, .pipeline-visual, .qr-panel, .route-panel, .recovery-panel, .recovery-map-panel, .posture-panel, .code-panel, .sdk-hero, .activity-ledger {
  padding: 28px;
  border-radius: 32px;
}
.form-panel h1, .activity-ledger h1, .recovery-panel h1, .sdk-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.8rem); }
.dashboard-form { margin-top: 24px; }
.dashboard-form label {
  display: grid;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--muted);
  font-weight: 800;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dashboard-form input:not([type="range"]),
.dashboard-form select,
.dashboard-form textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  background: rgba(255,255,255,.065);
  color: var(--text);
  transition: .2s var(--ease);
}
.dashboard-form textarea { min-height: 120px; padding-top: 14px; resize: vertical; }
.dashboard-form select option { background: #080b11; color: var(--text); }
.dashboard-form input:focus,
.dashboard-form select:focus,
.dashboard-form textarea:focus {
  border-color: rgba(56,182,255,.55);
  box-shadow: 0 0 0 4px rgba(56,182,255,.1);
}
.dashboard-form input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}
.dashboard-form output { color: var(--text); font-family: var(--font-mono); }
.form-summary {
  display: grid;
  gap: 1px;
  margin: 22px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}
.form-summary div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px;
  background: rgba(255,255,255,.045);
}
.form-summary strong { font-family: var(--font-mono); font-size: .88rem; }
.flow-orbit {
  position: relative;
  display: grid;
  width: min(360px, 82vw);
  aspect-ratio: 1;
  margin: 18px auto 28px;
  place-items: center;
}
.flow-orbit::before,
.flow-orbit::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(56,182,255,.2);
  border-radius: 50%;
  content: "";
  animation: orbit-spin 16s linear infinite;
}
.flow-orbit::after { inset: 42px; animation-duration: 10s; animation-direction: reverse; border-color: rgba(245,196,61,.22); }
.flow-core {
  position: relative;
  z-index: 2;
  display: grid;
  width: 122px;
  height: 122px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: inset 0 0 42px rgba(56,182,255,.12), 0 0 60px rgba(56,182,255,.12);
}
.flow-node {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #080b11;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 900;
}
.node-a { top: 7%; left: 50%; transform: translateX(-50%); }
.node-b { right: 4%; bottom: 18%; }
.node-c { left: 4%; bottom: 18%; }
.flow-steps { display: grid; gap: 10px; }
.flow-step {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  opacity: .52;
  transition: .25s var(--ease);
}
.flow-step.active {
  border-color: rgba(56,182,255,.4);
  background: rgba(56,182,255,.09);
  opacity: 1;
  transform: translateX(4px);
}
.flow-step span:first-child {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--accent);
  font-family: var(--font-mono);
}
.flow-step small { color: var(--muted); }
.stealth-display {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.05);
}
.stealth-display img { width: 88px; height: 88px; flex: 0 0 auto; animation: logo-breathe 5s ease-in-out infinite; }
.stealth-display span { display: block; color: var(--muted); margin-bottom: 8px; }
.stealth-display strong {
  display: block;
  font-family: var(--font-mono);
  font-size: .94rem;
  overflow-wrap: anywhere;
}
.qr-panel canvas {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.04);
}
.receive-steps { display: grid; gap: 12px; }
.receive-steps div, .recommendations div {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}
.receive-steps span { color: var(--accent); font-family: var(--font-mono); font-weight: 900; }
.receive-steps strong { display: block; margin: 7px 0; }
.receive-steps p { margin: 0; color: var(--muted); line-height: 1.55; }
.swap-preview {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(56,182,255,.28);
  border-radius: 20px;
  background: rgba(56,182,255,.08);
}
.swap-preview span, .swap-preview small { display: block; color: var(--muted); }
.swap-preview strong { display: block; margin: 8px 0; font-family: var(--font-mono); font-size: 2rem; }
.route-map {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr;
  align-items: center;
  gap: 8px;
  margin: 26px 0;
}
.route-map div {
  display: grid;
  min-height: 86px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.05);
  font-weight: 900;
}
.route-map span { height: 2px; background: linear-gradient(90deg, var(--accent), var(--yellow)); }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.metric-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}
.metric-grid strong { font-family: var(--font-mono); font-size: 1.25rem; }
#route-canvas {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.035);
}
.shard-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.shard-card { padding: 24px; border-radius: 30px; }
.shard-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 22px;
  background: rgba(56,182,255,.1);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 900;
}
.shard-card > span {
  color: var(--soft);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shard-card h2, .quorum-panel h2 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 620;
  letter-spacing: -.055em;
}
.shard-card p { min-height: 110px; color: var(--muted); line-height: 1.62; }
.health-track, .recovery-progress {
  height: 9px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
}
.health-track span, .recovery-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--green));
}
.shard-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shard-meta strong { color: var(--muted); font-size: .88rem; }
.quorum-panel { grid-column: 1 / -1; padding: 30px; border-radius: 32px; text-align: center; }
.quorum-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.quorum-visual span, .quorum-visual strong {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  font-family: var(--font-mono);
}
.quorum-visual strong { width: 86px; border-color: rgba(74,222,128,.32); color: var(--green); }
.quorum-visual i { color: var(--yellow); font-family: var(--font-display); font-size: 1.7rem; font-style: normal; }
.activity-ledger { min-height: 720px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.filter-row button {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}
.filter-row button.active { border-color: rgba(56,182,255,.42); background: rgba(56,182,255,.1); color: var(--text); }
.activity-list { display: grid; gap: 10px; }
.activity-item {
  display: grid;
  grid-template-columns: 48px 1.4fr .8fr .55fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.04);
}
.activity-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  background: rgba(56,182,255,.1);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 900;
}
.activity-item strong, .activity-item span, .activity-item small { display: block; }
.activity-item span, .activity-item small { margin-top: 3px; color: var(--muted); }
.recovery-progress span { width: 25%; background: linear-gradient(90deg, var(--accent), var(--yellow)); }
.recovery-step-card {
  margin: 26px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.05);
}
.recovery-step-card span { color: var(--accent); font-family: var(--font-mono); font-weight: 900; }
.recovery-step-card h2 { margin: 12px 0; font-family: var(--font-display); font-size: 2.4rem; letter-spacing: -.05em; }
.recovery-step-card p { color: var(--muted); line-height: 1.6; }
.recovery-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 28px 0;
}
.recovery-map div {
  display: grid;
  min-height: 140px;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.05);
  text-align: center;
}
.recovery-map strong, .recovery-map span { display: block; }
.recovery-map span { margin-top: 8px; color: var(--muted); }
.recovery-map i { color: var(--yellow); font-family: var(--font-display); font-size: 2rem; font-style: normal; }
.sdk-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 18px; align-items: start; }
.code-panel { overflow: hidden; padding: 0; }
.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
}
.code-panel pre {
  margin: 0;
  max-height: 680px;
  overflow: auto;
  padding: 22px;
  color: #d8edff;
  font-family: var(--font-mono);
  font-size: .9rem;
  line-height: 1.7;
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}
.toggle-row strong, .toggle-row span { display: block; }
.toggle-row span { margin-top: 5px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.toggle {
  position: relative;
  width: 58px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  transition: .2s var(--ease);
}
.toggle span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  transition: .2s var(--ease);
}
.toggle.active { background: var(--accent); }
.toggle.active span { transform: translateX(24px); }
.recommendations { display: grid; gap: 12px; }
.recommendations div { color: var(--muted); line-height: 1.5; }
.recommendations div::before { color: var(--green); content: "✓ "; font-weight: 900; }
.mobile-module-nav { display: none; }

.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(14px);
}
.wallet-modal.open { display: flex; }
.wallet-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(15,18,26,.96), rgba(6,8,13,.96));
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: var(--text);
  font-size: 1.5rem;
}
.wallet-hero { display: flex; gap: 18px; margin-bottom: 24px; }
.wallet-hero > img {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  padding: 14px;
  border: 1px solid rgba(246,117,67,.34);
  border-radius: 26px;
  background: rgba(246,117,67,.1);
}
.wallet-hero h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 2.4rem; letter-spacing: -.055em; }
.wallet-hero p { margin: 0; color: var(--muted); line-height: 1.55; }
.wallet-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
}
.wallet-option img { width: 38px; height: 38px; }
.wallet-option strong, .wallet-option span { display: block; }
.wallet-option span { color: var(--muted); font-size: .9rem; }
.wallet-status {
  display: grid;
  gap: 1px;
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}
.wallet-status div { padding: 13px; background: rgba(255,255,255,.045); }
.wallet-status strong { font-family: var(--font-mono); font-size: .88rem; }
.toast-stack {
  position: fixed;
  z-index: 130;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
  width: min(430px, calc(100vw - 44px));
}
.toast {
  display: flex;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(74,222,128,.28);
  border-radius: 18px;
  background: rgba(7,10,13,.95);
  box-shadow: 0 24px 90px rgba(0,0,0,.45);
}
.toast.error { border-color: rgba(246,75,67,.35); }
.toast-icon { color: var(--green); font-weight: 900; }
.toast.error .toast-icon { color: var(--red); }
.toast strong, .toast span { display: block; }
.toast span { margin-top: 3px; color: var(--muted); line-height: 1.45; }
.toast button { margin-left: auto; background: transparent; color: var(--muted); }

.reveal-card { opacity: 1; transform: none; }
.module-page.active .reveal-card { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 260px minmax(0, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .chart-panel, .pipeline-panel, .activity-panel { grid-column: span 2; }
  .quick-panel { grid-column: span 2; }
  .two-column, .sdk-layout { grid-template-columns: 1fr; }
  .shard-layout { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .cursor-dot, .cursor-ring { display: none; }
  .app-shell { display: block; }
  .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(330px, 88vw);
    transform: translateX(-106%);
    transition: transform .28s var(--ease);
    box-shadow: 40px 0 100px rgba(0,0,0,.45);
  }
  .app-sidebar.open { transform: translateX(0); }
  .sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 28;
    display: block;
    background: rgba(0,0,0,.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s var(--ease);
  }
  .sidebar-scrim.open { opacity: 1; pointer-events: auto; }
  .app-main { padding: 12px 12px 96px; }
  .topbar { top: 8px; min-height: 66px; padding: 9px 10px 9px 12px; border-radius: 19px; }
  .mobile-menu { display: inline-flex; flex-direction: column; }
  .topbar-actions .ghost-button { display: none; }
  .wallet-button { min-height: 42px; padding: 0 11px; font-size: .82rem; }
  .wallet-button img { width: 20px; height: 20px; }
  .topbar-title strong { font-size: 1.05rem; }
  .hero-card { min-height: 250px; padding: 22px; border-radius: 26px; }
  .hero-card h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-orb { display: none; }
  .bento-grid { grid-template-columns: 1fr; gap: 12px; }
  .chart-panel, .pipeline-panel, .activity-panel, .quick-panel { grid-column: span 1; }
  .form-panel, .pipeline-visual, .qr-panel, .route-panel, .recovery-panel, .recovery-map-panel, .posture-panel, .code-panel, .sdk-hero, .activity-ledger { padding: 18px; border-radius: 24px; }
  .form-panel h1, .activity-ledger h1, .recovery-panel h1, .sdk-hero h1 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .form-row, .metric-grid { grid-template-columns: 1fr; }
  .mini-pipeline { grid-template-columns: 1fr; }
  .mini-pipeline i { width: 2px; height: 22px; margin: 0 auto; }
  .stealth-display { align-items: flex-start; flex-direction: column; }
  .route-map, .recovery-map { grid-template-columns: 1fr; }
  .route-map span { width: 2px; height: 28px; margin: 0 auto; }
  .recovery-map i { text-align: center; }
  .shard-meta { align-items: flex-start; flex-direction: column; }
  .activity-item { grid-template-columns: 44px 1fr; }
  .activity-item > div:nth-child(3), .activity-item > div:nth-child(4) { grid-column: 2; }
  .wallet-hero { flex-direction: column; }
  .wallet-option { grid-template-columns: auto 1fr; }
  .wallet-option .primary-button { grid-column: 1 / -1; }
  .mobile-module-nav {
    position: fixed;
    z-index: 40;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(5,7,10,.92);
    backdrop-filter: blur(18px);
  }
  .mobile-module-nav button {
    min-height: 42px;
    border-radius: 15px;
    background: transparent;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800;
  }
  .mobile-module-nav button.active { background: rgba(56,182,255,.12); color: var(--text); }
  .toast-stack { right: 10px; bottom: 78px; width: calc(100vw - 20px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .cursor-dot, .cursor-ring { display: none; }
}

/* Premium light workspace refinement */
:root {
  --bg: #f4f5f7;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --line: rgba(14, 18, 27, .10);
  --line-strong: rgba(14, 18, 27, .18);
  --text: #0e121b;
  --muted: rgba(14, 18, 27, .62);
  --soft: rgba(14, 18, 27, .42);
  --accent: #f64b43;
  --green: #22975a;
}
html,body{background:var(--bg);color:var(--text)}
.app-bg{background:#f4f5f7}.bg-gradient,.bg-grid,.bg-spotlight,#particle-canvas,.cursor-dot,.cursor-ring{display:none!important}
.app-shell{grid-template-columns:248px minmax(0,1fr)}
.app-sidebar{padding:24px 18px;border-right:1px solid var(--line);background:#fff;backdrop-filter:none}
.side-brand img{filter:invert(1);width:38px;height:38px}.side-brand strong{font-size:1.35rem}.side-brand small,.network-pill small{color:var(--muted)}
.network-pill{padding:10px;border-color:rgba(34,151,90,.18);border-radius:8px;background:#f1faf5}
.module-nav{gap:3px}.nav-item{min-height:44px;padding:6px 10px 6px 6px;border-radius:8px;color:var(--muted);font-weight:650}.nav-icon{width:30px;height:30px;border-radius:7px;background:#f4f5f7;color:var(--muted)}.nav-item:hover,.nav-item.active{border-color:var(--line);background:#f3f4f6;color:var(--text);transform:none}.nav-item.active .nav-icon{background:var(--text);color:#fff}.nav-item.active i{background:var(--accent);box-shadow:none}.side-footer{border-color:var(--line)}
.app-main{max-width:1500px;padding:18px 24px 40px}.topbar{top:10px;min-height:68px;margin-bottom:16px;padding:10px 12px 10px 18px;border-radius:8px;background:rgba(255,255,255,.92)!important;box-shadow:0 8px 30px rgba(14,18,27,.06);backdrop-filter:blur(18px)}
.glass-panel{border-color:var(--line);background:#fff;box-shadow:0 8px 30px rgba(14,18,27,.055);backdrop-filter:none}.glass-panel:before{display:none}.topbar-title small,.eyebrow{color:var(--accent);letter-spacing:.08em}.topbar-title strong{letter-spacing:0}
.icon-button,.ghost-button,.secondary-button,.primary-button,.wallet-button,.text-button,.flip-button{border-radius:7px}.primary-button{background:var(--text);color:#fff;box-shadow:none}.primary-button:hover{box-shadow:none}.secondary-button{border-color:var(--line);background:#fff;color:var(--text)}.wallet-button{border-color:var(--line);background:#f7f8fa;color:var(--text)}.ghost-button,.text-button{color:var(--muted)}
.bento-grid{gap:12px}.hero-card{min-height:262px;padding:30px;border-radius:8px}.hero-card-bg{background:linear-gradient(120deg,#10141e,#202737)!important}.hero-card h1,.hero-card p,.hero-card .eyebrow{color:#fff}.hero-card p{opacity:.68}.hero-orb{filter:none}.stat-card,.chart-panel,.pipeline-panel,.activity-panel,.quick-panel,.form-panel,.info-panel,.table-panel,.settings-panel,.sdk-panel{border-radius:8px!important}
.stat-card{padding:18px}.stat-card>span{color:var(--muted)}.stat-card strong{color:var(--text)}.stat-card small{color:var(--soft)}
.chart-panel,.pipeline-panel,.activity-panel,.quick-panel{padding:22px}.panel-heading h2{letter-spacing:0}.bar-chart .bar{background:linear-gradient(to top,#f64b43,#ff9b72)!important;box-shadow:none!important}.mini-pipeline span{border-color:var(--line);background:#f6f7f9;color:var(--text)}.mini-pipeline i{background:#d9dde3}
.activity-list>div,.activity-row,.quick-action{border-color:var(--line)!important;background:#f7f8fa!important;color:var(--text)!important}.quick-action:hover{background:#eef0f3!important;transform:none}.status-badge{background:#eaf8ef;color:#168247;border-color:rgba(34,151,90,.18)}
.dashboard-form input,.dashboard-form select,.dashboard-form textarea,.field-like,.select-like{border-color:var(--line)!important;background:#f7f8fa!important;color:var(--text)!important;border-radius:7px!important}.module-copy{color:var(--muted)}
.hero-orb .orbit{border-color:rgba(255,255,255,.2)}
@media(max-width:1100px){.app-shell{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:820px){.app-shell{display:block}.app-sidebar{background:#fff}.app-main{padding:12px}.topbar{top:6px}.mobile-menu{background:#f4f5f7;border-color:var(--line)}.mobile-menu span{background:var(--text)}}

/* Minimalist Quartz dashboard */
:root{--bg:#f5f5f7;--panel:#fff;--panel-strong:#fff;--line:#e8e8eb;--line-strong:#d9d9de;--text:#17191d;--muted:#6f7279;--soft:#9b9da3;--accent:#f25549;--red:#f25549;--orange:#f25549;--yellow:#f2ba4a;--green:#269461;--font-display:"Outfit","Hanken Grotesk",sans-serif;--font-body:"Figtree","Hanken Grotesk",sans-serif;--font-mono:"Figtree",sans-serif;--ease:cubic-bezier(.2,0,0,1)}
html,body{background:var(--bg);font-family:var(--font-body);letter-spacing:0}
body{padding:0}.app-shell{width:100%;min-height:100vh;margin:0;grid-template-columns:232px minmax(0,1fr);overflow:hidden;border:0;border-radius:0;background:var(--panel);box-shadow:none}
.app-sidebar{position:sticky;height:100vh;padding:24px 18px;border-right:1px solid var(--line);background:var(--panel)}
.side-brand{gap:10px;margin:0 6px 28px}.side-brand img{width:32px;height:32px;filter:invert(1)}.side-brand strong{font:600 18px/1 var(--font-display);letter-spacing:0}.side-brand small{margin-top:4px;font-size:11px}
.network-pill{margin-bottom:20px;padding:11px 12px;border:1px solid #dceee4;border-radius:12px;background:#f5fbf7}.network-pill strong{font-size:12px}.network-pill small{font-size:10px}.pulse-dot{width:7px;height:7px;box-shadow:none}
.module-nav{gap:2px}.nav-item{min-height:40px;grid-template-columns:28px 1fr 5px;gap:9px;padding:5px 10px 5px 6px;border:0;border-radius:10px;color:var(--muted);font-size:13px;font-weight:500}.nav-icon{width:26px;height:26px;border:0;border-radius:7px;background:transparent;color:var(--soft);font-size:9px}.nav-item:hover,.nav-item.active{border:0;background:#f3f3f5;color:var(--text);transform:none}.nav-item.active .nav-icon{background:var(--text);color:#fff}.nav-item.active i{width:5px;height:5px;background:var(--accent)}.side-footer{gap:7px;padding:16px 7px 0}.side-link{font-size:12px;font-weight:500}
.app-main{max-width:none;padding:0;background:#fff}.topbar{position:sticky;top:0;min-height:72px;margin:0;padding:0 28px;border-width:0 0 1px;border-radius:0;background:rgba(255,255,255,.94)!important;box-shadow:none;backdrop-filter:blur(16px)}.topbar-title{display:flex;align-items:center;gap:6px}.topbar-title small{margin:0;color:var(--soft);font-size:12px;font-weight:500;letter-spacing:0;text-transform:none}.topbar-title small:after{content:" /"}.topbar-title strong{font:500 13px/1 var(--font-body)}.topbar-actions{gap:8px}
.icon-button,.ghost-button,.secondary-button,.primary-button,.wallet-button,.text-button,.flip-button{min-height:38px;padding:0 14px;border-radius:10px;font-size:12px;font-weight:600}.primary-button{background:var(--text);color:#fff}.primary-button:hover,.secondary-button:hover,.ghost-button:hover,.wallet-button:hover,.flip-button:hover,.icon-button:hover{transform:none}.secondary-button{border-color:var(--line-strong);background:#fff}.wallet-button{border-color:var(--line);background:#fff}.wallet-button img{width:20px;height:20px}.ghost-button{color:var(--muted)}
.module-stage{padding:30px}.bento-grid{gap:0}.overview-grid{grid-template-columns:repeat(12,minmax(0,1fr));border:1px solid var(--line);border-radius:16px;overflow:hidden}.glass-panel{border:0;background:#fff;box-shadow:none}.glass-panel:before{display:none}
.hero-card{min-height:230px;grid-column:1 / -1;padding:30px 32px;border-bottom:1px solid var(--line);border-radius:0!important;background:#fff}.hero-card-bg{display:none}.hero-card-content{max-width:820px}.hero-card .eyebrow,.hero-card h1,.hero-card p{color:inherit}.eyebrow,.topbar-title small{letter-spacing:0}.eyebrow{margin-bottom:8px;color:var(--accent);font-size:10px;font-weight:700}.hero-card h1,.form-panel h1,.activity-ledger h1,.recovery-panel h1,.sdk-hero h1{margin-bottom:10px;font-family:var(--font-display);font-size:clamp(2.4rem,4vw,4rem);font-weight:500;letter-spacing:0;line-height:1}.hero-card p,.module-copy{max-width:650px;margin-bottom:22px;color:var(--muted);font-size:14px;line-height:1.55}.hero-orb{right:28px;width:180px;height:180px}.hero-orb img{width:84px;height:84px;filter:invert(1);animation:logo-breathe 6s ease-in-out infinite}.orbit{border-color:var(--line-strong)!important}.orbit:before{width:7px;height:7px;background:var(--accent);box-shadow:none}
.stat-card{min-height:118px;grid-column:span 3;padding:20px 22px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0!important}.stat-card:nth-of-type(5){border-right:0}.stat-card span,.metric-grid span,.wallet-status span,.form-summary span{margin-bottom:7px;color:var(--soft);font-size:10px;font-weight:600;letter-spacing:0}.stat-card strong{margin-bottom:6px;font-family:var(--font-body);font-size:22px;font-weight:600}.stat-card small{font-size:11px}
.chart-panel{min-height:300px;grid-column:span 5;padding:24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0!important}.pipeline-panel{grid-column:span 7;padding:24px;border-bottom:1px solid var(--line);border-radius:0!important}.activity-panel{grid-column:span 8;padding:24px;border-right:1px solid var(--line);border-radius:0!important}.quick-panel{grid-column:span 4;padding:24px;border-radius:0!important}.panel-heading{margin-bottom:20px}.panel-heading h2{font-family:var(--font-display);font-size:22px;font-weight:500;letter-spacing:0;line-height:1.05}.bar-chart{height:190px;gap:8px}.bar-chart span{border-radius:5px 5px 2px 2px;background:var(--accent);box-shadow:none;opacity:.84}.mini-pipeline{grid-template-columns:1fr 18px 1fr 18px 1fr 18px 1fr 18px 1fr;gap:5px}.mini-pipeline span{min-height:58px;border-color:var(--line);border-radius:10px;background:#f7f7f8;color:var(--muted);font-size:11px;font-weight:600}.mini-pipeline i{height:1px;background:var(--line-strong)}.status-badge{padding:6px 9px;border-radius:8px;font-size:10px}.quick-actions{grid-template-columns:1fr 1fr;gap:8px}.quick-action{min-height:46px;padding:0 12px;border-radius:10px;background:#f7f7f8!important;font-size:11px;font-weight:600}.quick-action:after{color:var(--accent)}
.two-column,.sdk-layout{gap:16px}.form-panel,.pipeline-visual,.qr-panel,.route-panel,.recovery-panel,.recovery-map-panel,.posture-panel,.code-panel,.sdk-hero,.activity-ledger,.shard-card,.quorum-panel{padding:28px;border:1px solid var(--line);border-radius:16px!important}.form-panel h1,.activity-ledger h1,.recovery-panel h1,.sdk-hero h1{font-size:clamp(2rem,3.3vw,3.4rem)}.dashboard-form label{color:var(--muted);font-size:12px;font-weight:600}.dashboard-form input:not([type=range]),.dashboard-form select,.dashboard-form textarea{min-height:48px;border-color:var(--line);border-radius:10px;background:#f7f7f8;color:var(--text)}.dashboard-form input:focus,.dashboard-form select:focus,.dashboard-form textarea:focus{border-color:#c9c9ce;box-shadow:0 0 0 3px rgba(242,85,73,.08)}.dashboard-form input[type=range]{accent-color:var(--accent)}.dashboard-form select option{background:#fff;color:var(--text)}.form-summary{border-radius:10px}.form-summary div{background:#fafafa}.flow-core,.flow-node{border-color:var(--line);background:#fff;color:var(--text);box-shadow:none}.flow-core{color:var(--accent)}.flow-orbit:before,.flow-orbit:after{border-color:var(--line-strong)}.flow-step,.stealth-display,.receive-steps div,.recommendations div,.wallet-option{border-color:var(--line);border-radius:10px;background:#f7f7f8}.flow-step.active{border-color:#f3c5c1;background:#fff7f6}.flow-step span:first-child{background:#ededf0;color:var(--text)}.panel-mark,.stealth-display img{filter:invert(1)}
.activity-item,.activity-list>div{border-color:var(--line)!important;border-radius:10px!important;background:#fff!important}.filter-row button{border-radius:8px}.filter-row button.active{background:var(--text);color:#fff}.shard-card,.quorum-panel{box-shadow:none}.shard-icon{background:var(--text);color:#fff}.code-panel{background:var(--text);color:#fff}.toggle.active{background:var(--accent)}
.wallet-modal{background:rgba(23,25,29,.34)}.wallet-card{border:1px solid var(--line);border-radius:18px;background:#fff}.modal-close{background:#f3f3f5;color:var(--text)}.wallet-hero h2{font-family:var(--font-display);font-size:28px;letter-spacing:0}.wallet-status{border-radius:10px}.wallet-status div{background:#fafafa}.toast{border-color:var(--line);border-radius:12px;background:#fff;color:var(--text);box-shadow:0 18px 60px rgba(23,25,29,.14)}
.mobile-module-nav{border-color:var(--line)!important;background:rgba(255,255,255,.95)!important}.mobile-module-nav button{color:var(--muted)!important}.mobile-module-nav button.active{background:var(--text)!important;color:#fff!important}
@media(max-width:1180px){body{padding:0}.app-shell{min-height:100vh;border:0;border-radius:0}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-card{grid-column:1/-1}.stat-card{grid-column:span 1}.chart-panel,.pipeline-panel,.activity-panel,.quick-panel{grid-column:span 2}.chart-panel,.activity-panel{border-right:0}}
@media(max-width:820px){.app-sidebar{position:fixed;height:100vh}.app-main{padding:0}.module-stage{padding:14px 12px 92px}.topbar{top:0;padding:0 12px}.overview-grid{grid-template-columns:1fr}.hero-card,.stat-card,.chart-panel,.pipeline-panel,.activity-panel,.quick-panel{grid-column:1;border-right:0}.hero-card{min-height:230px;padding:22px}.hero-card h1{font-size:40px}.hero-orb{display:none}.stat-card{min-height:105px}.quick-actions{grid-template-columns:1fr}.panel-heading h2{font-size:20px}.form-panel,.pipeline-visual,.qr-panel,.route-panel,.recovery-panel,.recovery-map-panel,.posture-panel,.code-panel,.sdk-hero,.activity-ledger{padding:20px;border-radius:14px!important}.form-panel h1,.activity-ledger h1,.recovery-panel h1,.sdk-hero h1{font-size:32px}.wallet-button span{display:none}}
