:root {
  --bg: #f7f2e8;
  --paper: rgba(255, 255, 255, 0.8);
  --card: rgba(255, 255, 255, 0.74);
  --line: rgba(22, 41, 34, 0.12);
  --ink: #112119;
  --muted: #5f6d65;
  --accent: #eb7a34;
  --accent-strong: #c55511;
  --accent-soft: rgba(235, 122, 52, 0.16);
  --secondary: #12776a;
  --secondary-soft: rgba(18, 119, 106, 0.14);
  --sidebar: #102820;
  --sidebar-line: rgba(255, 255, 255, 0.12);
  --success-bg: rgba(20, 128, 96, 0.14);
  --success-text: #0f624d;
  --error-bg: rgba(190, 53, 53, 0.12);
  --error-text: #8f2323;
  --shadow: 0 24px 60px rgba(20, 26, 23, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(235, 122, 52, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(18, 119, 106, 0.12), transparent 25%),
    var(--bg);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.landing-shell,
.dashboard-shell {
  position: relative;
}

.landing-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.landing-backdrop {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.55;
  pointer-events: none;
}

.landing-backdrop-a {
  top: -80px;
  right: -80px;
  background: rgba(235, 122, 52, 0.24);
}

.landing-backdrop-b {
  bottom: -100px;
  left: -100px;
  background: rgba(18, 119, 106, 0.18);
}

.topbar,
.content-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar {
  margin-bottom: 28px;
}

.brand-mark,
.sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ffd393);
  box-shadow: 0 0 0 6px rgba(235, 122, 52, 0.12);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ghost-link,
.primary-link,
.cta-button,
.submit-button,
.logout-button {
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.ghost-link,
.primary-link,
.cta-button,
.logout-button {
  padding: 12px 18px;
}

.ghost-link {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.primary-link,
.cta-button,
.submit-button {
  color: #fff8f1;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 36px rgba(197, 85, 17, 0.22);
}

.ghost-link:hover,
.primary-link:hover,
.cta-button:hover,
.submit-button:hover,
.logout-button:hover {
  transform: translateY(-1px);
}

.notice {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid transparent;
}

.notice-success {
  color: var(--success-text);
  background: var(--success-bg);
  border-color: rgba(15, 98, 77, 0.12);
}

.notice-error {
  color: var(--error-text);
  background: var(--error-bg);
  border-color: rgba(143, 35, 35, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-copy,
.preview-card,
.feature-card,
.metric-card,
.account-card,
.create-panel,
.empty-state,
.accounts-section {
  background: var(--card);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
}

.hero-copy,
.preview-card {
  border-radius: var(--radius-lg);
  padding: 32px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-copy h1,
.dashboard-content h1 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy p,
.dashboard-content p,
.feature-card p,
.account-note,
.wallet-box span {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.helper-text {
  max-width: 420px;
  color: var(--muted);
  font-size: 0.95rem;
}

.preview-card {
  position: relative;
  overflow: hidden;
}

.preview-header,
.section-head,
.account-card-top,
.preview-user,
.mini-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-label,
.section-head span,
.preview-account-card small,
.wallet-box small,
.sidebar-brand small,
.user-chip small {
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 33, 25, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: capitalize;
}

.status-ready {
  background: rgba(18, 119, 106, 0.14);
  color: var(--secondary);
}

.status-wallet-pending {
  background: rgba(235, 122, 52, 0.16);
  color: var(--accent-strong);
}

.status-draft {
  background: rgba(17, 33, 25, 0.08);
  color: var(--muted);
}

.preview-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  margin-top: 20px;
}

.preview-sidebar {
  min-height: 300px;
  padding: 18px;
  border-radius: 24px;
  background: #102820;
  color: #e8f4ef;
}

.preview-logo {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-family: "Space Grotesk", sans-serif;
}

.preview-sidebar ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.preview-sidebar li {
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(232, 244, 239, 0.72);
}

.preview-sidebar li.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.preview-user {
  margin-top: 54px;
  flex-direction: column;
  align-items: flex-start;
}

.preview-main {
  display: grid;
  gap: 18px;
}

.mini-metric-row {
  gap: 14px;
}

.mini-metric,
.preview-account-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.mini-metric {
  flex: 1;
}

.mini-metric strong,
.metric-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.preview-account-list,
.feature-strip,
.metric-grid,
.dashboard-grid,
.account-grid {
  display: grid;
  gap: 18px;
}

.feature-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius-md);
}

.feature-card h2,
.section-head h2,
.account-card h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 100vh;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 22px;
  background:
    radial-gradient(circle at top right, rgba(235, 122, 52, 0.18), transparent 28%),
    var(--sidebar);
  color: #eef5f2;
}

.sidebar-top {
  display: grid;
  gap: 32px;
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.sidebar-link {
  padding: 13px 14px;
  border-radius: 16px;
  color: rgba(238, 245, 242, 0.72);
}

.sidebar-link.active,
.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sidebar-user {
  display: grid;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--sidebar-line);
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.logout-button {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--sidebar-line);
}

.dashboard-content {
  padding: 28px;
}

.dashboard-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0;
}

.metric-card {
  padding: 24px;
  border-radius: 24px;
}

.metric-card span,
.account-card p,
.wallet-box strong,
.wallet-box code {
  display: block;
}

.wallet-box strong {
  margin-bottom: 4px;
}

.wallet-box code {
  margin: 10px 0 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(17, 33, 25, 0.05);
  overflow-wrap: anywhere;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  align-items: start;
}

.accounts-section,
.create-panel {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.account-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 18px;
}

.account-card {
  padding: 22px;
  border-radius: 26px;
}

.wallet-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(17, 33, 25, 0.04);
  border: 1px solid var(--line);
}

.empty-state {
  padding: 42px 28px;
  border-radius: 28px;
  margin-top: 18px;
  text-align: center;
}

.account-form {
  display: grid;
  gap: 16px;
}

.account-form label {
  display: grid;
  gap: 8px;
}

.account-form span {
  font-weight: 700;
}

.account-form input,
.account-form textarea,
.account-form select {
  width: 100%;
  border: 1px solid rgba(17, 33, 25, 0.12);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.account-form input:focus,
.account-form textarea:focus,
.account-form select:focus {
  outline: 2px solid rgba(235, 122, 52, 0.18);
  border-color: rgba(235, 122, 52, 0.4);
}

.submit-button {
  border: 0;
  padding: 15px 18px;
  cursor: pointer;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.accounts-browser,
.account-stage,
.detail-card,
.detail-metric-card,
.compact-empty-state {
  background: var(--card);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
}

.accounts-browser,
.account-stage {
  border-radius: var(--radius-lg);
}

.accounts-browser {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 18px;
  padding: 24px;
}

.account-list-stack,
.member-list,
.summary-list {
  display: grid;
  gap: 12px;
}

.account-list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(17, 33, 25, 0.08);
  background: rgba(255, 255, 255, 0.62);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.account-list-card strong,
.member-card strong,
.summary-row strong {
  display: block;
}

.account-list-card small,
.compact-empty-state small,
.detail-metric-card span,
.detail-metric-card small,
.member-card small,
.summary-row span,
.form-hint,
.inline-note {
  color: var(--muted);
}

.account-list-card:hover,
.account-list-card.active {
  transform: translateY(-1px);
  border-color: rgba(235, 122, 52, 0.35);
  background: rgba(255, 248, 241, 0.9);
}

.browser-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
}

.compact-form textarea {
  min-height: 112px;
}

.compact-empty-state {
  padding: 20px;
  border-radius: 22px;
}

.account-stage {
  display: grid;
  gap: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.detail-card {
  border-radius: 28px;
  padding: 24px;
}

.account-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.account-hero h2,
.empty-detail-state h2 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.detail-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.detail-metric-card {
  padding: 18px;
  border-radius: 22px;
}

.detail-metric-card strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.metric-unit {
  font-size: 0.95rem;
  color: var(--muted);
}

.chart-card {
  overflow: hidden;
}

.chart-area {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  min-height: 210px;
  margin-top: 20px;
}

.chart-column {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.chart-bar {
  width: 100%;
  max-width: 58px;
  border-radius: 18px 18px 8px 8px;
  background:
    linear-gradient(180deg, rgba(18, 119, 106, 0.24), rgba(18, 119, 106, 0.05)),
    linear-gradient(180deg, var(--accent), var(--accent-strong));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.chart-column strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.wallet-summary-box {
  margin-bottom: 18px;
}

.form-hint,
.inline-note {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.member-card,
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(17, 33, 25, 0.08);
}

.role-chip {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: capitalize;
}

.summary-row span {
  font-weight: 700;
}

.empty-detail-state {
  text-align: center;
  padding: 52px 28px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .dashboard-grid,
  .preview-layout,
  .workspace-grid,
  .detail-grid,
  .detail-metric-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    gap: 24px;
  }

  .accounts-browser {
    position: static;
  }
}

@media (max-width: 720px) {
  .landing-shell,
  .dashboard-content {
    padding: 20px 16px 32px;
  }

  .topbar,
  .content-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .preview-card,
  .accounts-section,
  .create-panel,
  .accounts-browser,
  .detail-card {
    padding: 22px;
  }

  .topbar-actions,
  .hero-actions {
    width: 100%;
  }

  .primary-link,
  .cta-button,
  .ghost-link {
    width: 100%;
    text-align: center;
  }

  .preview-sidebar {
    min-height: auto;
  }

  .account-hero,
  .member-card,
  .summary-row,
  .account-list-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-area {
    gap: 8px;
  }
}

.dashboard-body {
  background:
    radial-gradient(circle at top left, rgba(0, 214, 201, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 167, 38, 0.12), transparent 22%),
    linear-gradient(180deg, #090b10, #05070a 60%, #090b10);
  color: #f7f8fa;
}

.modal-open {
  overflow: hidden;
}

.fragment-dashboard {
  grid-template-columns: 320px 1fr;
  min-height: 100vh;
}

.project-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%),
    rgba(9, 11, 16, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.project-sidebar-top {
  display: grid;
  gap: 22px;
}

.sidebar-brand-strong {
  color: #fff;
}

.sidebar-brand-strong small {
  color: rgba(255, 255, 255, 0.56);
}

.project-nav-head {
  display: grid;
  gap: 14px;
}

.sidebar-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.project-nav-head h2,
.wallet-empty-copy h2,
.project-chart-panel h2,
.modal-dialog h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.new-project-button,
.wallet-connect-button,
.ghost-panel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.new-project-button,
.ghost-panel-button {
  padding: 12px 14px;
}

.new-project-button {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-list {
  display: grid;
  gap: 10px;
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-link:hover,
.project-link.active {
  transform: translateY(-1px);
  background: rgba(255, 183, 77, 0.12);
  border-color: rgba(255, 183, 77, 0.3);
}

.project-link-copy {
  display: grid;
  gap: 4px;
}

.project-link-copy strong {
  font-size: 0.98rem;
}

.project-link-copy small {
  color: rgba(255, 255, 255, 0.54);
}

.project-link-pill,
.project-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.project-link-pill.connected,
.project-badge.connected {
  background: rgba(0, 214, 201, 0.16);
  color: #90fff7;
}

.project-link-pill.waiting,
.project-badge.waiting {
  background: rgba(255, 183, 77, 0.14);
  color: #ffd497;
}

.project-empty-nav {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
}

.project-empty-nav span {
  color: rgba(255, 255, 255, 0.54);
}

.sidebar-user {
  display: grid;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
}

.sidebar-user strong,
.sidebar-user small {
  color: #fff;
}

.sidebar-user small {
  color: rgba(255, 255, 255, 0.56);
}

.logout-button {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-stage {
  padding: 28px;
}

.project-header,
.wallet-summary-panel,
.project-metric-card,
.project-chart-panel,
.wallet-empty-state,
.modal-dialog {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(14, 16, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.project-header,
.wallet-summary-panel,
.project-chart-panel,
.wallet-empty-state {
  border-radius: 28px;
  padding: 28px;
}

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.project-header h1 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  color: #fff;
  letter-spacing: -0.06em;
}

.project-header p,
.project-metric-card p,
.wallet-empty-copy p,
.modal-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.project-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ghost-panel-button {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-connect-button {
  padding: 14px 18px;
  color: #0d1016;
  background: linear-gradient(135deg, #ffd78b, #ffb84d);
  box-shadow: 0 14px 30px rgba(255, 184, 77, 0.28);
  font-weight: 800;
}

.wallet-connect-button.large {
  min-width: 240px;
}

.wallet-connect-button:hover,
.new-project-button:hover,
.ghost-panel-button:hover,
.submit-button:hover {
  transform: translateY(-1px);
}

.wallet-summary-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.wallet-summary-panel small,
.wallet-balance-chip small,
.project-metric-card small {
  color: rgba(255, 255, 255, 0.5);
}

.wallet-summary-panel strong,
.wallet-balance-chip strong,
.project-metric-card strong {
  display: block;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
}

.wallet-summary-panel strong {
  margin: 8px 0 6px;
  font-size: 1.35rem;
  word-break: break-all;
}

.wallet-summary-panel span {
  color: rgba(255, 255, 255, 0.66);
}

.wallet-balance-chip {
  min-width: 180px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 183, 77, 0.1);
  border: 1px solid rgba(255, 183, 77, 0.22);
  text-align: right;
}

.wallet-balance-chip strong {
  font-size: 2rem;
}

.project-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.project-metric-card {
  padding: 22px;
  border-radius: 24px;
}

.project-metric-card strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 14px;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.project-metric-card strong span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.54);
}

.project-chart-panel {
  margin-top: 18px;
}

.section-head h2 {
  color: #fff;
}

.section-head span {
  color: rgba(255, 255, 255, 0.54);
}

.project-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
  min-height: 260px;
  margin-top: 22px;
}

.chart-node {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.chart-node strong,
.chart-node small {
  color: #fff;
}

.chart-node small {
  color: rgba(255, 255, 255, 0.54);
}

.project-chart .chart-bar {
  width: 100%;
  max-width: 62px;
  border-radius: 18px 18px 10px 10px;
  background:
    linear-gradient(180deg, rgba(0, 214, 201, 0.18), rgba(0, 214, 201, 0.04)),
    linear-gradient(180deg, #ffd78b, #ffb84d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.wallet-empty-state {
  display: grid;
  gap: 24px;
  margin-top: 18px;
}

.wallet-empty-state.centered {
  justify-items: start;
  max-width: 760px;
}

.wallet-empty-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wallet-empty-features article {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-empty-features strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.wallet-empty-features span {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.modal-shell[hidden] {
  display: none;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 30;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 9, 0.74);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  margin: 8vh auto 0;
  padding: 28px;
  border-radius: 28px;
}

.modal-dialog.wide {
  width: min(720px, calc(100vw - 32px));
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
}

.modal-form {
  margin-top: 18px;
}

.modal-form span,
.account-form span {
  color: #fff;
}

.modal-form input,
.modal-form textarea,
.account-form input,
.account-form textarea,
.account-form select {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder,
.account-form input::placeholder,
.account-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.submit-button {
  color: #0d1016;
  background: linear-gradient(135deg, #ffd78b, #ffb84d);
  box-shadow: 0 16px 36px rgba(255, 184, 77, 0.24);
}

@media (max-width: 1160px) {
  .fragment-dashboard,
  .project-metric-grid,
  .wallet-empty-features {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .project-header,
  .wallet-summary-panel,
  .project-header-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-chart {
    gap: 10px;
  }
}
