:root {
  --navy: #0c242c;
  --navy-light: #19343c;
  --mint: #b7f1c9;
  --green: #117c51;
  --ink: #142e35;
  --muted: #687d82;
  --line: #e0e8e7;
  --paper: #f5f8f7;
  --white: #fff;
  --amber: #946515;
  --amber-bg: #fff4de;
  --danger: #b3363b;
  --radius: 18px;
  --shadow: 0 12px 50px #152f3610;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-weight: 400;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
}
button {
  border: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #51aa86;
  outline-offset: 3px;
}
button,
input,
select,
textarea {
  border-radius: 10px;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  border: 1px solid #cfdbd9;
  background: #fff;
  padding: 12px 14px;
  min-height: 46px;
  line-height: 1.4;
}
input::placeholder,
textarea::placeholder {
  color: #829397;
}
textarea {
  resize: vertical;
  min-height: 130px;
}
select {
  appearance: none;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23687d82' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  padding-right: 38px;
}
input[type="file"] {
  padding: 10px;
  background: var(--paper);
  font-size: 0.86rem;
}
input[type="file"]::file-selector-button {
  border: 0;
  background: var(--navy);
  color: white;
  border-radius: 6px;
  padding: 7px 10px;
  margin-right: 10px;
  cursor: pointer;
}
input[readonly] {
  background: var(--paper);
}
[hidden] {
  display: none !important;
}
.icon {
  flex: none;
  display: inline-block;
  vertical-align: middle;
}
.wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 19px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  transition:
    background 0.18s,
    transform 0.18s;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}
.btn-mint {
  background: var(--mint);
  color: var(--navy);
}
.btn-mint:hover {
  background: #c9f7d7;
}
.btn-dark {
  color: #fff;
  background: var(--navy);
}
.btn-dark:hover {
  background: var(--navy-light);
}
.btn-outline {
  background: white;
  color: var(--ink);
  border-color: #d6e1df;
}
.btn-outline:hover {
  background: #edf4f1;
}
.btn-ghost-light {
  background: transparent;
  color: white;
}
.btn-large {
  padding: 16px 24px;
  min-height: 54px;
  font-size: 0.94rem;
}
.btn-small {
  min-height: 36px;
  padding: 8px 13px;
  font-size: 0.8rem;
}
.btn-full {
  width: 100%;
}
.btn-danger {
  background: #fff1f1;
  color: var(--danger);
  border-color: #f3d8d8;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
}
.icon-button:hover {
  background: var(--paper);
}
.text-link {
  font-size: 0.87rem;
  font-weight: 600;
  background: none;
  padding: 0;
  color: var(--green);
}
.text-link.light {
  color: #cbdad8;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  font-weight: 650;
  color: #b6d0ce;
}
.eyebrow.dark {
  color: var(--green);
}
.tiny-dot {
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--mint);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  letter-spacing: 0.035em;
  font-weight: 750;
}
.brand-accent {
  color: var(--mint);
}
.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid #71968f;
  border-radius: 11px;
  color: var(--mint);
  display: grid;
  place-items: center;
  line-height: 1;
  font-weight: 800;
  font-size: 1.45rem;
}
.brand-mark span {
  position: absolute;
  width: 9px;
  height: 2px;
  background: var(--mint);
  transform: rotate(48deg);
  right: 4px;
  bottom: 6px;
}
.skip-link {
  position: fixed;
  left: 15px;
  top: -70px;
  background: white;
  padding: 12px 16px;
  z-index: 100;
  border: 2px solid var(--green);
}
.skip-link:focus {
  top: 10px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.password-help {
  text-align: right;
  margin: -4px 0 22px;
}
.password-help .text-link {
  font-size: 0.72rem;
}
.dialog-open {
  overflow: hidden;
}
.stat-value.currency-tzs {
  font-size: 1.3rem;
  letter-spacing: -0.045em;
}
.ticket-info .text-link {
  font-size: 0.67rem;
}
.activity-info .text-link {
  font-size: 0.62rem;
  margin-top: 5px;
}
.messages {
  margin-top: 18px;
}
/* Public landing page */
#landing {
  background: var(--navy);
  color: white;
}
.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 96px;
  border-bottom: 1px solid #ffffff12;
}
.landing-nav {
  display: flex;
  gap: 30px;
  color: #b9cbcc;
  font-size: 0.83rem;
}
.landing-nav a:hover {
  color: white;
}
.header-actions {
  display: flex;
  gap: 9px;
}
.hero {
  padding-top: 82px;
  padding-bottom: 86px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.8rem, 4.9vw, 4.45rem);
  line-height: 1.09;
  letter-spacing: -0.055em;
  font-weight: 550;
  margin: 26px 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--mint);
}
.hero-copy > p {
  font-size: 1rem;
  line-height: 1.85;
  color: #b7cbcd;
  max-width: 465px;
}
.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 33px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: #8eaaad;
  font-size: 0.69rem;
}
.hero-meta span::before {
  content: "✓";
  color: var(--mint);
  margin-right: 5px;
}
.hero-visual {
  position: relative;
  padding: 38px 15px 22px 0;
}
.orbit {
  position: absolute;
  pointer-events: none;
  border: 1px solid #3c686747;
  border-radius: 50%;
  width: 490px;
  height: 490px;
  left: -8px;
  top: -43px;
}
.orbit-two {
  width: 380px;
  height: 380px;
  top: 12px;
  left: 48px;
}
.funds-card {
  position: relative;
  max-width: 430px;
  background: linear-gradient(135deg, #e5f4e9, #cfebdb);
  border-radius: 23px;
  padding: 29px 31px;
  color: var(--navy);
  box-shadow: 0 32px 65px #0002;
}
.funds-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.mini-label {
  font-size: 0.63rem;
  letter-spacing: 0.17em;
  font-weight: 650;
}
.round-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid #41695740;
  border-radius: 100%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.funds-label {
  font-size: 0.8rem;
  color: #47685a;
}
.funds-number {
  font-size: 5.15rem;
  line-height: 1.1;
  letter-spacing: -0.07em;
  margin-top: 8px;
  font-weight: 500;
}
.funds-number span {
  font-size: 2.9rem;
  margin-left: 5px;
  color: #47785e;
}
.funds-divider {
  height: 1px;
  background: #4b7d6728;
  margin: 26px 0 20px;
}
.funds-bottom {
  display: flex;
  gap: 36px;
  align-items: center;
}
.funds-bottom strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
}
.funds-bottom span:not(.funds-symbol) {
  display: block;
  font-size: 0.65rem;
  color: #527163;
  margin-top: 4px;
}
.funds-symbol {
  margin-left: auto;
  font-size: 3.5rem;
  color: #91b9a1;
  line-height: 1;
}
.figure-note {
  font-size: 0.6rem;
  color: #4f7160;
  line-height: 1.5;
  margin-top: 21px;
  max-width: 310px;
}
.explore-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 375px;
  margin-top: -8px;
  margin-left: 75px;
  padding: 18px;
  background: #1a3b43;
  border: 1px solid #ffffff18;
  border-radius: 14px;
  box-shadow: 0 16px 45px #0002;
}
.explore-card strong {
  display: block;
  font-size: 0.78rem;
  color: #eaf3ef;
}
.explore-card div > span {
  font-size: 0.66rem;
  color: #9db4b7;
}
.explore-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #b7f1c91a;
  color: var(--mint);
  font-size: 1.35rem;
}
.why-section {
  background: #f5f8f4;
  color: var(--ink);
  padding: 64px 0 66px;
}
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 80px;
  align-items: end;
}
.section-intro > .eyebrow {
  grid-column: 1/-1;
}
.section-intro h2,
.how-section h2 {
  font-size: 2.3rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.section-intro > p {
  font-size: 0.94rem;
  color: var(--muted);
  padding-bottom: 7px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 43px;
  gap: 35px;
}
.feature-grid article {
  padding: 20px 0 0;
  border-top: 1px solid #d4e0d7;
}
.feature-number {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--green);
}
.feature-grid h3 {
  font-size: 1.03rem;
  font-weight: 600;
  margin: 16px 0 10px;
  letter-spacing: -0.02em;
}
.feature-grid p {
  font-size: 0.83rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 320px;
}
.how-section {
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 90px;
  padding-top: 64px;
  padding-bottom: 58px;
}
.how-section .eyebrow {
  color: #9ecaba;
}
.how-section h2 {
  margin-top: 18px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 25px;
}
.steps li {
  display: flex;
  gap: 18px;
  align-items: start;
}
.steps li > span {
  color: var(--mint);
  font-size: 0.67rem;
  background: #ffffff0a;
  border: 1px solid #ffffff1c;
  padding: 9px 10px;
  border-radius: 9px;
}
.steps h3 {
  font-size: 0.94rem;
  font-weight: 550;
}
.steps p {
  font-size: 0.79rem;
  color: #9cb8bc;
  line-height: 1.7;
  margin-top: 6px;
}
.landing-risk {
  font-size: 0.69rem;
  color: #809fa4;
  line-height: 1.75;
  padding: 23px 0;
  border-top: 1px solid #ffffff13;
}
.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 33px;
  color: #9db6b9;
  font-size: 0.72rem;
}
.landing-footer .brand {
  color: white;
  font-size: 1rem;
}
.landing-footer .brand-mark {
  width: 29px;
  height: 29px;
  font-size: 1.1rem;
}
.landing-footer > div {
  display: flex;
  gap: 25px;
}
.footer-link {
  color: inherit;
  background: none;
  padding: 0;
  font-size: inherit;
}
/* Application cards and forms */
.page-heading {
  display: flex;
  gap: 24px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 29px;
}
.page-heading h1 {
  font-weight: 550;
  font-size: 1.85rem;
  letter-spacing: -0.045em;
  line-height: 1.3;
}
.page-heading p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 7px;
  max-width: 660px;
}
.page-heading .eyebrow {
  margin-bottom: 9px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
}
.currency-toggle {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  gap: 3px;
}
.currency-toggle button {
  background: transparent;
  color: var(--muted);
  font-size: 0.74rem;
  padding: 7px 12px;
  font-weight: 600;
  white-space: nowrap;
}
.currency-toggle button.active {
  color: white;
  background: var(--navy);
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 3px 20px #17382f03;
}
.card-pad {
  padding: 25px;
}
.card-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.card-subtitle {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
  margin-top: 5px;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 25px;
}
.stat-card {
  padding: 23px 22px;
  min-height: 157px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 550;
  color: var(--muted);
}
.stat-value {
  font-size: 1.75rem;
  letter-spacing: -0.045em;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 19px;
  white-space: nowrap;
}
.stat-sub {
  font-size: 0.66rem;
  color: var(--muted);
  margin-top: 9px;
}
.stat-card.total {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.total .stat-top,
.total .stat-sub {
  color: #afc6c7;
}
.profit-value {
  color: var(--green);
}
.negative {
  color: var(--danger);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
  gap: 24px;
}
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 19px;
}
.wallet-banner {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid #d1e5d9;
  background: #e9f5ed;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wallet-banner h2 {
  font-size: 1.2rem;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.wallet-banner p {
  font-size: 0.8rem;
  color: #4f7460;
  margin-top: 6px;
}
.wallet-banner-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #b8d7c3;
  border-radius: 16px;
  flex: none;
  background: #ffffff70;
  color: var(--green);
}
.banner-copy {
  flex: 1;
}
.empty-state {
  padding: 37px 25px;
  text-align: center;
}
.empty-icon {
  width: 47px;
  height: 47px;
  border-radius: 14px;
  background: #eef5f1;
  color: #71978a;
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
}
.empty-state h3 {
  font-size: 0.93rem;
  font-weight: 600;
}
.empty-state p {
  font-size: 0.79rem;
  color: var(--muted);
  margin: 8px auto 17px;
  max-width: 360px;
  line-height: 1.7;
}
.strategy-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 25px;
  border-bottom: 1px solid var(--line);
}
.strategy-row:last-child {
  border-bottom: 0;
}
.strategy-row-info {
  flex: 1;
  min-width: 0;
}
.strategy-row-info h3 {
  font-size: 0.88rem;
  font-weight: 600;
}
.strategy-row-info p {
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 4px;
}
.strategy-row-tail {
  text-align: right;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
}
.strategy-row-tail span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 400;
}
.activity-row {
  padding: 16px 23px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.activity-row:last-child {
  border-bottom: 0;
}
.activity-icon {
  width: 33px;
  height: 33px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--muted);
  display: grid;
  place-items: center;
  flex: none;
}
.activity-info {
  flex: 1;
  min-width: 0;
}
.activity-info strong {
  font-size: 0.75rem;
  font-weight: 600;
  display: block;
}
.activity-info span {
  font-size: 0.64rem;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.activity-tail {
  font-size: 0.75rem;
  text-align: right;
  white-space: nowrap;
}
.activity-tail .badge {
  margin-top: 4px;
  display: block;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.63rem;
  letter-spacing: 0.025em;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 6px;
  background: #edf2f3;
  color: #597579;
}
.badge.green {
  background: #e9f7ef;
  color: var(--green);
}
.badge.amber {
  background: var(--amber-bg);
  color: var(--amber);
}
.badge.red {
  background: #ffefef;
  color: var(--danger);
}
.inline-notice {
  display: flex;
  gap: 10px;
  align-items: start;
  background: #f0f5f3;
  border: 1px solid var(--line);
  padding: 15px 17px;
  border-radius: 12px;
  font-size: 0.75rem;
  line-height: 1.75;
  color: #587270;
}
.inline-notice .icon {
  margin-top: 2px;
  width: 17px;
  height: 17px;
}
.inline-notice.amber {
  color: #886527;
  background: var(--amber-bg);
  border-color: #f1e1bd;
}
.page-note {
  font-size: 0.67rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 18px 0 0;
}
.profile-note {
  margin-top: 20px;
}
.field {
  display: block;
  margin-bottom: 18px;
}
.field > span,
.field-label {
  display: block;
  font-size: 0.77rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: #3f5b60;
}
.field small {
  display: block;
  font-size: 0.67rem;
  color: var(--muted);
  margin-top: 6px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.span-two {
  grid-column: 1/-1;
}
.form-error {
  color: var(--danger);
  font-size: 0.77rem;
  background: #fff0f0;
  border: 1px solid #f3d4d4;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 18px;
  line-height: 1.6;
}
.form-success {
  color: var(--green);
  font-size: 0.79rem;
  background: #eaf7ef;
  border: 1px solid #c6e7d2;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.form-footer {
  margin-top: 18px;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.8;
}
.form-footer a {
  color: var(--green);
  text-decoration: underline;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 49px;
}
.password-wrap .icon-button {
  position: absolute;
  right: 5px;
  top: 4px;
}
.step-label {
  font-size: 0.67rem;
  color: var(--green);
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 14px;
}
.step-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 23px;
}
.step-dots span {
  height: 3px;
  background: #e7efeb;
  flex: 1;
  border-radius: 5px;
}
.step-dots span.active {
  background: var(--green);
}
.balance-summary {
  padding: 17px 19px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  margin-bottom: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}
.balance-summary strong {
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 600;
}
.reference {
  display: block;
  font-size: 0.61rem;
  color: var(--muted);
  margin-top: 9px;
  overflow-wrap: anywhere;
}
.modal {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  border: 0;
  padding: 0;
  border-radius: 21px;
  background: white;
  color: var(--ink);
  box-shadow: 0 28px 100px #0003;
  overflow-y: auto;
}
.modal.wide {
  width: min(670px, calc(100% - 32px));
}
.modal::backdrop {
  background: #071d29ad;
  backdrop-filter: blur(6px);
}
.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 28px 0;
}
.modal-head h2 {
  font-size: 1.4rem;
  font-weight: 550;
  letter-spacing: -0.035em;
}
.modal-head p {
  font-size: 0.79rem;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.7;
}
.modal-body {
  padding: 24px 28px 28px;
}
.modal-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--green);
  background: #f0f8f3;
  margin-bottom: 17px;
}
.modal-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.modal-nav .btn {
  flex: 1;
}
.auth-switch {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 21px;
}
.auth-switch button {
  font-size: inherit;
  margin-left: 5px;
}
.toast-container {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 10px;
  max-width: min(400px, calc(100% - 32px));
}
.toast {
  background: var(--navy);
  color: white;
  border: 1px solid #315357;
  border-radius: 12px;
  box-shadow: 0 12px 45px #0b242733;
  padding: 15px 17px;
  display: flex;
  align-items: start;
  gap: 11px;
  font-size: 0.8rem;
  line-height: 1.6;
}
.toast.error {
  background: #743236;
}
.toast .icon {
  color: var(--mint);
  width: 17px;
  height: 17px;
  margin-top: 3px;
}
.toast.error .icon {
  color: #ffcfce;
}
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  color: var(--muted);
  font-size: 0.85rem;
  gap: 11px;
}
.spinner {
  width: 19px;
  height: 19px;
  border: 2px solid #bad9cb;
  border-top-color: var(--green);
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
.btn .spinner {
  width: 15px;
  height: 15px;
  border-top-color: currentColor;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Navigation, marketplace, secondary pages and responsive layout. */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  background: var(--navy);
  color: #8dadb2;
  display: flex;
  flex-direction: column;
  z-index: 35;
  padding: 30px 19px;
}
.sidebar .brand {
  color: white;
  margin: 0 10px 35px;
  font-size: 1.17rem;
}
.sidebar .brand-mark {
  width: 33px;
  height: 33px;
  font-size: 1.25rem;
}
.nav-label {
  font-size: 0.59rem;
  letter-spacing: 0.13em;
  font-weight: 600;
  color: #658c93;
  padding: 0 17px;
  margin-bottom: 10px;
}
.sidebar-nav {
  display: grid;
  gap: 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 0.81rem;
  font-weight: 500;
  border: 1px solid transparent;
  color: #98b7bb;
}
.nav-item .icon {
  width: 18px;
  height: 18px;
}
.nav-item:hover {
  background: #ffffff06;
  color: white;
}
.nav-item.active {
  color: var(--mint);
  background: #b7f1c90e;
  border-color: #b7f1c91c;
}
.nav-item.active::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #ffffff14;
  padding: 21px 9px 0;
}
.sidebar-help {
  font-size: 0.7rem;
  color: #8badb1;
  margin-bottom: 24px;
  line-height: 1.8;
}
.sidebar-help strong {
  font-weight: 500;
  color: #c9dada;
  display: block;
  margin-bottom: 6px;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  background: #e5f0e9;
  color: #2e6550;
  flex: none;
}
.sidebar-user .avatar {
  background: #274840;
  color: var(--mint);
}
.sidebar-user strong {
  display: block;
  color: #d6e5e6;
  font-size: 0.75rem;
  font-weight: 500;
  max-width: 115px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user small {
  display: block;
  color: #7fa4ab;
  font-size: 0.62rem;
  margin-top: 2px;
}
.sidebar-user .icon-button {
  margin-left: auto;
  color: #8dadb2;
  width: 30px;
}
.sidebar-user .icon-button:hover {
  background: #244047;
}
.workspace {
  margin-left: 236px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.workspace-header {
  height: 83px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 38px;
}
.header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.74rem;
}
.header-breadcrumb > strong {
  font-weight: 500;
  color: var(--ink);
}
.header-breadcrumb .icon {
  width: 12px;
  height: 12px;
  color: #99acae;
}
.workspace-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-account {
  font-size: 0.7rem;
  color: var(--muted);
  padding-right: 17px;
  border-right: 1px solid var(--line);
}
.header-account strong {
  font-weight: 500;
  color: var(--ink);
}
.mobile-menu {
  display: none;
}
#view {
  padding: 34px 38px 40px;
  max-width: 1540px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  outline: 0;
}
.workspace-footer {
  font-size: 0.64rem;
  color: #8ba0a3;
  padding: 18px 38px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}
.sidebar-overlay {
  display: none;
}
.toolbar {
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.search-box {
  position: relative;
  flex: 1;
  min-width: 140px;
}
.search-box > .icon {
  position: absolute;
  left: 13px;
  top: 13px;
  color: #82969a;
  width: 17px;
  height: 17px;
}
.search-box input {
  padding-left: 39px;
  background: var(--paper);
  border-color: transparent;
  min-height: 43px;
  font-size: 0.79rem;
}
.toolbar .sort-select {
  width: 190px;
  min-height: 43px;
  font-size: 0.76rem;
}
.filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 22px;
}
.filter-btn {
  border: 1px solid transparent;
  background: transparent;
  padding: 8px 15px;
  color: var(--muted);
  font-size: 0.77rem;
}
.filter-btn.active {
  background: var(--navy);
  color: white;
}
.filter-btn:hover:not(.active) {
  background: #e7efec;
}
.results-count {
  font-size: 0.7rem;
  color: var(--muted);
  margin-left: auto;
}
.strategies-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.strategy-card {
  padding: 22px 20px 18px;
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
}
.strategy-card:hover {
  box-shadow: 0 8px 30px #233e3810;
  border-color: #bfcfc6;
}
.strategy-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
}
.strategy-avatar {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #667588;
  background: #eef1f8;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 0.92rem;
  flex: none;
}
.strategy-avatar.metals {
  color: #89672d;
  background: #f8f2e5;
}
.strategy-avatar.forex {
  color: #347251;
  background: #eaf4e9;
}
.strategy-avatar.indices {
  color: #446a87;
  background: #edf3f9;
}
.strategy-avatar.crypto {
  color: #776495;
  background: #f0edf8;
}
.strategy-avatar.stocks {
  color: #397b77;
  background: #eaf5f4;
}
.strategy-avatar.commodities {
  color: #a26848;
  background: #f8f0e9;
}
.strategy-identity > div:last-child {
  min-width: 0;
}
.strategy-identity h3 {
  font-size: 0.85rem;
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.strategy-identity p {
  font-size: 0.66rem;
  color: var(--muted);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.strategy-metrics {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.strategy-metrics span {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  margin-bottom: 5px;
}
.strategy-metrics strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.strategy-metrics .roi strong {
  color: var(--green);
}
.strategy-extra {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.65rem;
  color: var(--muted);
}
.strategy-extra strong {
  display: block;
  color: #3c5c5b;
  font-size: 0.74rem;
  font-weight: 550;
  margin-top: 4px;
}
.strategy-min {
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.64rem;
}
.strategy-min strong {
  color: var(--ink);
  font-weight: 600;
}
.strategy-actions {
  display: flex;
  gap: 7px;
}
.strategy-actions .btn:first-child {
  flex: 1;
}
.strategy-actions .btn {
  font-size: 0.69rem;
  padding: 10px;
  min-height: 39px;
}
.strategy-actions .btn .icon {
  width: 15px;
  height: 15px;
}
.strategy-disclaimer {
  font-size: 0.62rem;
  color: #809497;
  margin-top: 13px;
  line-height: 1.6;
}
.market-notice {
  margin-bottom: 22px;
}
.metric-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.metric-list > div {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  padding: 13px 15px;
}
.metric-list dt {
  font-size: 0.69rem;
  color: var(--muted);
}
.metric-list dd {
  margin: 6px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.details-identity {
  margin-bottom: 23px;
}
.details-identity .strategy-avatar {
  width: 52px;
  height: 52px;
  font-size: 1.2rem;
}
.details-identity h3 {
  font-size: 1rem;
}
.details-note {
  margin-top: 21px;
}
.details-footer {
  margin-top: 22px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 25px;
  align-items: start;
}
.profile-card {
  text-align: center;
  padding: 32px 23px;
}
.profile-card .avatar {
  width: 69px;
  height: 69px;
  font-size: 1.35rem;
  border-radius: 20px;
  margin: 0 auto 19px;
}
.profile-card h2 {
  font-size: 1rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.profile-card > p {
  font-size: 0.74rem;
  color: var(--muted);
  margin: 6px 0 15px;
  overflow-wrap: anywhere;
}
.profile-card .badge {
  margin-top: 13px;
}
.profile-facts {
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 23px;
  display: grid;
  gap: 14px;
}
.profile-facts dt {
  font-size: 0.65rem;
  color: var(--muted);
}
.profile-facts dd {
  margin: 3px 0 0;
  font-size: 0.77rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.form-card {
  padding: 28px;
}
.form-card > .card-subtitle {
  margin-bottom: 24px;
}
.upload-field {
  padding: 20px;
  border: 1px dashed #bdd3c7;
  border-radius: 13px;
  background: #f8fbf9;
  margin-bottom: 22px;
}
.upload-field .icon {
  color: var(--green);
  width: 25px;
  height: 25px;
  margin-bottom: 13px;
}
.upload-field .field {
  margin: 0;
}
.upload-field small {
  font-size: 0.67rem;
  color: var(--muted);
  display: block;
  margin-top: 8px;
}
.support-hero {
  padding: 28px 30px;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  gap: 24px;
  border-radius: var(--radius);
  margin-bottom: 25px;
}
.support-hero > .support-hero-icon {
  width: 52px;
  height: 52px;
  border: 1px solid #547878;
  background: #23444c;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--mint);
  flex: none;
}
.support-hero h2 {
  font-size: 1.15rem;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.support-hero p {
  font-size: 0.79rem;
  line-height: 1.8;
  color: #afc7ca;
  margin-top: 7px;
  max-width: 635px;
}
.support-hero .btn {
  margin-left: auto;
  flex: none;
}
.support-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.3fr);
  gap: 25px;
  align-items: start;
}
.ticket-row {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: start;
  gap: 16px;
}
.ticket-row:last-child {
  border-bottom: 0;
}
.ticket-info {
  flex: 1;
  min-width: 0;
}
.ticket-info h3 {
  font-size: 0.83rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.ticket-info p {
  font-size: 0.69rem;
  color: var(--muted);
  margin-top: 6px;
}
.ticket-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.ticket-row .icon-button {
  width: 27px;
  height: 28px;
}
.messages {
  display: grid;
  gap: 11px;
  margin-bottom: 20px;
  max-height: 330px;
  overflow: auto;
}
.message {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
}
.message.support {
  background: #eaf5ef;
  border-color: #c6e0d0;
}
.message > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 0.64rem;
  color: var(--muted);
  margin-bottom: 7px;
}
.message strong {
  font-weight: 600;
  color: var(--ink);
}
.message p {
  font-size: 0.78rem;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ticket-reply {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.legal-card {
  padding: 27px;
}
.legal-card .legal-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #edf5f0;
  border-radius: 11px;
  margin-bottom: 20px;
}
.legal-card h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 13px;
}
.legal-card p {
  font-size: 0.81rem;
  color: var(--muted);
  line-height: 1.85;
}
.legal-card ul {
  padding-left: 18px;
  font-size: 0.79rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}
.legal-card .badge {
  margin-top: 18px;
}
.legal-banner {
  margin-bottom: 24px;
}
.account-error {
  max-width: 560px;
  margin: 65px auto;
  text-align: center;
}
.account-error h1 {
  font-size: 1.7rem;
  font-weight: 550;
  letter-spacing: -0.04em;
  margin: 18px 0 14px;
}
.account-error p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.8;
}
.account-error .quick-actions {
  justify-content: center;
  margin-top: 24px;
}
@media (min-width: 1550px) {
  .strategy-card {
    padding: 25px;
  }
  .strategy-identity h3 {
    font-size: 0.98rem;
  }
  .strategy-metrics strong {
    font-size: 1.18rem;
  }
  .stat-value {
    font-size: 2.1rem;
  }
}
@media (max-width: 1200px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 36px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: start;
    gap: 18px;
  }
  .funds-card {
    padding: 24px;
  }
  .orbit {
    width: 390px;
    height: 390px;
    top: -2px;
  }
  .orbit-two {
    width: 300px;
    height: 300px;
    left: 38px;
    top: 43px;
  }
  .funds-number {
    font-size: 4.5rem;
  }
  .explore-card {
    margin-left: 35px;
  }
  .sidebar {
    width: 217px;
    padding: 28px 16px;
  }
  .workspace {
    margin-left: 217px;
  }
  #view {
    padding: 29px 27px;
  }
  .workspace-header {
    padding: 0 27px;
  }
  .workspace-footer {
    padding: 18px 27px;
  }
  .strategies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile-grid {
    grid-template-columns: 245px minmax(0, 1fr);
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
  .support-hero {
    flex-wrap: wrap;
  }
  .support-hero .btn {
    margin-left: 76px;
  }
  .wallet-banner {
    flex-wrap: wrap;
  }
  .wallet-banner .quick-actions {
    width: 100%;
    margin-top: 5px;
  }
}
@media (max-width: 900px) {
  .landing-nav {
    display: none;
  }
  .hero {
    padding-top: 58px;
    padding-bottom: 65px;
    gap: 32px;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
  .hero-copy > p {
    font-size: 0.93rem;
  }
  .hero-meta {
    gap: 10px;
    font-size: 0.64rem;
  }
  .hero-visual {
    padding: 10px 0 20px;
  }
  .funds-card-top {
    margin-bottom: 23px;
  }
  .funds-label {
    font-size: 0.7rem;
  }
  .funds-number {
    font-size: 3.9rem;
  }
  .funds-bottom {
    gap: 21px;
  }
  .funds-bottom span:not(.funds-symbol) {
    font-size: 0.57rem;
  }
  .explore-card {
    margin-left: 20px;
    padding: 13px;
    gap: 10px;
  }
  .explore-card strong {
    font-size: 0.7rem;
  }
  .explore-card div > span {
    font-size: 0.6rem;
  }
  .orbit {
    display: none;
  }
  .section-intro {
    gap: 16px 35px;
  }
  .section-intro h2,
  .how-section h2 {
    font-size: 2rem;
  }
  .how-section {
    gap: 45px;
  }
  .feature-grid {
    gap: 22px;
  }
  .sidebar {
    width: 204px;
    padding: 26px 14px;
  }
  .sidebar .brand {
    font-size: 1.05rem;
    margin-left: 8px;
  }
  .workspace {
    margin-left: 204px;
  }
  #view {
    padding: 27px 22px;
  }
  .workspace-header {
    padding: 0 22px;
  }
  .header-account {
    display: none;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    padding: 23px;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 0 16px;
    text-align: left;
  }
  .profile-card .avatar {
    grid-row: 1/5;
    width: 55px;
    height: 55px;
    font-size: 1.1rem;
    margin: 0;
  }
  .profile-card > p {
    margin: 5px 0;
  }
  .profile-card .badge {
    width: max-content;
    margin-top: 7px;
  }
  .profile-facts {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .form-grid {
    gap: 0 14px;
  }
  .strategy-card {
    padding: 18px 16px;
  }
  .page-heading h1 {
    font-size: 1.65rem;
  }
  .page-heading {
    flex-wrap: wrap;
    gap: 15px;
  }
  .heading-actions {
    padding-top: 0;
  }
  .toolbar {
    padding: 13px;
  }
  .strategy-metrics {
    gap: 8px;
  }
  .strategy-metrics strong {
    font-size: 0.96rem;
  }
  .support-hero {
    padding: 23px;
  }
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .workspace-footer {
    flex-direction: column;
    gap: 5px;
    padding: 18px 22px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .landing-header {
    height: 78px;
    gap: 16px;
  }
  .brand {
    font-size: 1.1rem;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
  .header-actions {
    gap: 1px;
  }
  .header-actions .btn {
    padding: 8px 12px;
    min-height: 40px;
    font-size: 0.75rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 43px;
    padding-bottom: 46px;
  }
  .hero h1 {
    font-size: 3.15rem;
    margin-top: 22px;
  }
  .hero-copy > p {
    font-size: 0.93rem;
    max-width: 440px;
  }
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 25px;
  }
  .hero-actions .text-link {
    font-size: 0.73rem;
  }
  .hero-meta {
    margin-top: 24px;
    gap: 12px;
  }
  .hero-visual {
    padding: 5px 10px 15px;
    max-width: 470px;
    width: 100%;
    margin: 0 auto;
  }
  .funds-card {
    max-width: none;
    padding: 23px 26px;
  }
  .funds-card-top {
    margin-bottom: 18px;
  }
  .funds-label {
    font-size: 0.73rem;
  }
  .funds-number {
    font-size: 4rem;
  }
  .funds-divider {
    margin: 21px 0 16px;
  }
  .funds-bottom {
    gap: 30px;
  }
  .funds-bottom span:not(.funds-symbol) {
    font-size: 0.66rem;
  }
  .figure-note {
    font-size: 0.63rem;
    max-width: none;
  }
  .explore-card {
    margin-left: 39px;
    max-width: none;
    position: relative;
    margin-top: -4px;
  }
  .explore-card strong {
    font-size: 0.76rem;
  }
  .explore-card div > span {
    font-size: 0.66rem;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .section-intro > .eyebrow {
    grid-column: auto;
  }
  .section-intro > p {
    font-size: 0.87rem;
  }
  .why-section {
    padding: 43px 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 23px;
    margin-top: 23px;
  }
  .feature-grid article {
    padding-top: 16px;
  }
  .feature-grid h3 {
    margin: 9px 0 7px;
  }
  .feature-grid p {
    max-width: none;
    font-size: 0.82rem;
  }
  .how-section {
    grid-template-columns: 1fr;
    padding-top: 43px;
    padding-bottom: 38px;
    gap: 29px;
  }
  .steps {
    gap: 20px;
  }
  .landing-risk {
    font-size: 0.63rem;
  }
  .landing-footer {
    flex-wrap: wrap;
    gap: 19px;
    padding-bottom: 25px;
  }
  .landing-footer > div {
    width: 100%;
    gap: 22px;
  }
  .landing-footer > span {
    margin-left: auto;
  }
  .sidebar {
    transform: translateX(-100%);
    width: 252px;
    transition: transform 0.2s;
    padding: 26px 20px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-overlay.open {
    display: block;
    position: fixed;
    inset: 0;
    background: #071d2977;
    z-index: 34;
    border-radius: 0;
  }
  .workspace {
    margin-left: 0;
  }
  .workspace-header {
    height: 70px;
    padding: 0 20px;
    gap: 10px;
  }
  .mobile-menu {
    display: inline-flex;
    width: 32px;
    height: 36px;
    margin-right: 4px;
  }
  .header-breadcrumb {
    gap: 7px;
    font-size: 0.69rem;
  }
  .header-breadcrumb > span:first-of-type {
    display: none;
  }
  .workspace-header-actions {
    gap: 8px;
  }
  .workspace-header-actions .btn {
    padding: 8px 12px;
    min-height: 37px;
    font-size: 0.71rem;
  }
  .workspace-header-actions .avatar {
    width: 33px;
    height: 33px;
    font-size: 0.69rem;
  }
  .workspace-header-actions .badge {
    display: none;
  }
  #view {
    padding: 27px 20px 32px;
  }
  .page-heading {
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 1.6rem;
  }
  .page-heading p {
    font-size: 0.81rem;
  }
  .page-heading .eyebrow {
    font-size: 0.61rem;
  }
  .stats-grid {
    gap: 12px;
    margin-bottom: 21px;
  }
  .stat-card {
    padding: 20px 16px;
    min-height: 140px;
  }
  .stat-value {
    font-size: 1.55rem;
  }
  .stat-top {
    font-size: 0.69rem;
  }
  .stat-top .icon {
    width: 17px;
    height: 17px;
  }
  .stat-sub {
    font-size: 0.61rem;
  }
  .wallet-banner {
    padding: 20px;
    gap: 15px;
    margin-bottom: 22px;
  }
  .wallet-banner h2 {
    font-size: 1.07rem;
  }
  .wallet-banner p {
    font-size: 0.75rem;
  }
  .wallet-banner .quick-actions {
    gap: 8px;
  }
  .wallet-banner .quick-actions .btn {
    font-size: 0.72rem;
    padding: 10px 12px;
    flex: 1;
  }
  .card-header {
    padding: 20px;
  }
  .card-header .text-link {
    font-size: 0.74rem;
  }
  .strategy-row {
    padding: 18px 20px;
    gap: 11px;
  }
  .strategy-row-tail {
    font-size: 0.65rem;
  }
  .strategy-row-tail span {
    font-size: 0.59rem;
  }
  .strategy-row-info h3 {
    font-size: 0.79rem;
  }
  .strategy-row-info p {
    font-size: 0.65rem;
  }
  .strategies-grid {
    gap: 15px;
  }
  .filter-btn {
    padding: 8px 12px;
    font-size: 0.72rem;
  }
  .results-count {
    width: 100%;
    margin: 7px 0 0;
  }
  .filter-row {
    gap: 5px;
    margin-bottom: 17px;
  }
  .toolbar {
    flex-wrap: wrap;
    padding: 12px;
  }
  .toolbar .sort-select {
    width: 100%;
    font-size: 0.74rem;
  }
  .search-box input {
    font-size: 0.78rem;
  }
  .strategy-identity {
    gap: 8px;
  }
  .strategy-avatar {
    width: 37px;
    height: 37px;
    font-size: 0.8rem;
  }
  .strategy-identity h3 {
    font-size: 0.77rem;
  }
  .strategy-identity p {
    font-size: 0.61rem;
  }
  .strategy-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 13px 7px;
  }
  .strategy-metrics .roi {
    grid-column: 1/-1;
  }
  .strategy-metrics .roi strong {
    font-size: 1.35rem;
  }
  .strategy-metrics span {
    font-size: 0.59rem;
  }
  .strategy-extra {
    flex-direction: column;
    gap: 9px;
    font-size: 0.59rem;
  }
  .strategy-extra strong {
    font-size: 0.69rem;
  }
  .strategy-min {
    flex-direction: column;
    gap: 5px;
    font-size: 0.61rem;
  }
  .strategy-actions {
    flex-direction: column;
    gap: 5px;
  }
  .strategy-actions .btn {
    width: 100%;
    min-height: 35px;
    font-size: 0.65rem;
    padding: 9px;
  }
  .strategy-disclaimer {
    font-size: 0.59rem;
  }
  .profile-grid {
    gap: 19px;
  }
  .form-card {
    padding: 23px 20px;
  }
  .support-hero {
    display: block;
    padding: 23px;
  }
  .support-hero > .support-hero-icon {
    margin-bottom: 16px;
    width: 43px;
    height: 43px;
  }
  .support-hero p {
    font-size: 0.76rem;
  }
  .support-hero .btn {
    margin: 18px 0 0;
    max-width: 100%;
    font-size: 0.72rem;
  }
  .support-grid {
    gap: 20px;
  }
  .ticket-row {
    padding: 18px 20px;
  }
  .form-grid {
    gap: 0 14px;
  }
  .field > span {
    font-size: 0.72rem;
  }
  .upload-field {
    padding: 16px;
  }
  .legal-card {
    padding: 23px;
  }
  .legal-card p {
    font-size: 0.77rem;
  }
  .inline-notice {
    font-size: 0.7rem;
    padding: 14px;
  }
  .modal {
    max-height: calc(100dvh - 28px);
  }
  .modal-head {
    padding: 23px 22px 0;
  }
  .modal-head h2 {
    font-size: 1.27rem;
  }
  .modal-head p {
    font-size: 0.76rem;
  }
  .modal-body {
    padding: 22px;
  }
  .modal-icon {
    margin-bottom: 14px;
  }
  .modal-nav {
    gap: 8px;
  }
  .toast-container {
    right: 16px;
    bottom: 16px;
  }
  .toast {
    font-size: 0.75rem;
  }
  .page-note {
    font-size: 0.63rem;
  }
  .support-hero h2 {
    font-size: 1.05rem;
  }
  .profile-facts {
    gap: 15px;
  }
  .workspace-footer {
    padding: 18px 20px;
  }
}
@media (max-width: 390px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero h1 {
    font-size: 2.75rem;
  }
  .brand {
    font-size: 1rem;
  }
  .header-actions .btn {
    padding: 8px 9px;
  }
  .funds-card {
    padding: 21px;
  }
  .hero-visual {
    padding-inline: 0;
  }
  .funds-number {
    font-size: 3.65rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .span-two {
    grid-column: auto;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 18px 13px;
  }
  .stat-value {
    font-size: 1.33rem;
  }
  .strategies-grid {
    grid-template-columns: 1fr;
  }
  .strategy-metrics {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .strategy-metrics .roi {
    grid-column: auto;
  }
  .strategy-metrics .roi strong {
    font-size: 1rem;
  }
  .strategy-extra {
    flex-direction: row;
  }
  .strategy-min {
    flex-direction: row;
  }
  .strategy-actions {
    flex-direction: row;
  }
  .strategy-disclaimer {
    font-size: 0.63rem;
  }
  #view {
    padding-inline: 16px;
  }
  .workspace-header {
    padding-inline: 16px;
  }
  .wallet-banner .quick-actions .btn {
    padding: 10px;
    font-size: 0.69rem;
  }
  .metric-list {
    gap: 10px;
  }
  .metric-list > div {
    padding: 11px;
  }
  .metric-list dd {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.admin-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
.admin-search { display: flex; gap: 12px; padding: 0 26px 22px; }
.admin-search .search-box { flex: 1; }
.table-scroll { overflow-x: auto; }
.admin-table { border-collapse: collapse; width: 100%; text-align: left; font-size: .875rem; }
.admin-table th { background: #f6f9f8; color: #547078; font-weight: 600; white-space: nowrap; }
.admin-table th, .admin-table td { padding: 16px 22px; border-bottom: 1px solid #e5eeeb; vertical-align: middle; }
.admin-table td strong { display: block; color: #102c34; }
.admin-table td small { display: block; color: #63808a; font-size: .8125rem; margin-top: 4px; }
.admin-requests-card { margin-top: 26px; }
.admin-form-heading { margin: 28px 0 16px; font-size: 1rem; }
.admin-kyc-form { margin-top: 20px; }
.check-field { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; margin: 16px 0; line-height: 1.6; }
.check-field input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; accent-color: #146453; }
@media (max-width: 700px) { .admin-stats { grid-template-columns: 1fr; } .admin-search { padding: 0 18px 18px; } .admin-table th,.admin-table td { padding: 14px 16px; } .admin-requests-card .activity-row { flex-wrap: wrap; } .admin-requests-card .activity-info { min-width: 160px; } }
