/* ── SharpEdge reference home refresh ───────────────────────── */
body.lockin-home-shell {
  background: #fffdfa;
  color: #111111;
}

body.lockin-home-shell #app {
  background:
    radial-gradient(110% 44% at 50% 0%, rgba(223, 169, 60, 0.10) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, #fffdf9 0%, #fffaf3 46%, #fffdfb 100%);
  color: #0c0c0f;
}

.sharp-home-screen {
  background: transparent;
  padding: 0 0 calc(104px + env(safe-area-inset-bottom, 0px));
}

.sharp-home__content {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) 18px 0;
}

.sharp-home,
.sharp-home * {
  box-sizing: border-box;
}

.sharp-home {
  --se-gold: #d49a23;
  --se-gold-dark: #9b690e;
  --se-gold-soft: #f7df9b;
  --se-green: #15964f;
  --se-ink: #111114;
  --se-muted: #737078;
  --se-line: rgba(210, 168, 82, 0.26);
  --se-card-line: rgba(202, 176, 128, 0.26);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--se-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.sharp-home button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.sharp-home-icon,
.sharp-home-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sharp-home__top {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sharp-home__brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sharp-home__logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(184, 126, 20, 0.17));
}

.sharp-home__brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sharp-home__brand-copy strong {
  display: block;
  font-size: clamp(25px, 7vw, 31px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #0c0c0f;
  white-space: nowrap;
}

.sharp-home__brand-copy span {
  display: block;
  font-size: clamp(13px, 3.45vw, 16px);
  font-weight: 500;
  line-height: 1.18;
  color: #6f6d73;
  white-space: nowrap;
}

.sharp-home__top-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.sharp-home__notify {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #07070a;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(208, 188, 154, 0.54);
  box-shadow: 0 12px 26px rgba(95, 71, 33, 0.08), inset 0 1px 0 rgba(255,255,255,0.92);
}

.sharp-home__notify .sharp-home-icon {
  width: 28px;
  height: 28px;
}

.sharp-home__notify-badge {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #e3b43e 0%, #d09b22 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(188, 128, 17, 0.24);
}

.sharp-home__avatar {
  position: relative;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 50%;
  overflow: visible;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #121212, #747474);
  box-shadow: 0 12px 28px rgba(30, 26, 19, 0.13);
}

.sharp-home__avatar img,
.sharp-home__avatar > span {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 800;
}

.sharp-home__avatar i {
  position: absolute;
  right: 0;
  bottom: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #139d4f;
  box-shadow: 0 0 0 4px #fffdfa;
}

.sharp-portfolio {
  position: relative;
  min-height: 284px;
  padding: 25px 15px 16px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(52% 42% at 76% 42%, rgba(236, 199, 118, 0.22) 0%, rgba(255,255,255,0) 74%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,251,244,0.96) 100%);
  border: 1px solid rgba(218, 170, 72, 0.48);
  box-shadow: 0 18px 42px rgba(153, 111, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.92);
}

.sharp-portfolio__copy {
  position: relative;
  z-index: 2;
  width: 52%;
  min-width: 0;
}

.sharp-portfolio__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #74737a;
  font-size: clamp(20px, 5.6vw, 25px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.sharp-portfolio__eye {
  width: 20px;
  height: 20px;
  color: #9b9aa0;
  transform: translateY(1px);
}

.sharp-portfolio__amount {
  margin-top: 22px;
  font-size: clamp(40px, 12.5vw, 60px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.055em;
  color: #020205;
  white-space: nowrap;
}

.sharp-portfolio__growth {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--se-green);
  font-size: clamp(17px, 4.9vw, 23px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.sharp-portfolio__growth .sharp-home-icon {
  width: 25px;
  height: 25px;
}

.sharp-portfolio__plan-label {
  margin-top: 36px;
  color: #77747c;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.sharp-portfolio__pill {
  margin-top: 9px;
  height: 39px;
  width: max-content;
  max-width: 100%;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 19px;
  color: var(--se-gold-dark);
  background: linear-gradient(180deg, #fffaf0 0%, #fff5df 100%);
  border: 1px solid rgba(213, 154, 35, 0.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.sharp-portfolio__pill .sharp-home-icon {
  width: 24px;
  height: 24px;
  color: #d39a22;
}

.sharp-portfolio__pill span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sharp-portfolio__art {
  position: absolute;
  z-index: 1;
  right: -13px;
  top: 18px;
  width: min(54%, 226px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 18px 26px rgba(126, 93, 39, 0.15));
}

.sharp-portfolio__metrics {
  position: absolute;
  z-index: 3;
  left: 15px;
  right: 15px;
  bottom: 82px;
  min-height: 55px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(233, 224, 206, 0.82);
  box-shadow: 0 16px 34px rgba(133, 96, 44, 0.09), inset 0 1px 0 rgba(255,255,255,0.86);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}

.sharp-portfolio__metric {
  min-width: 0;
  height: 100%;
  padding: 10px 9px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  color: #c8911e;
}

.sharp-portfolio__metric + .sharp-portfolio__metric {
  border-left: 1px solid rgba(211, 202, 185, 0.64);
}

.sharp-portfolio__metric .sharp-home-icon {
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
}

.sharp-portfolio__metric span {
  min-width: 0;
  color: #77737b;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.08;
  white-space: nowrap;
}

.sharp-portfolio__metric strong {
  min-width: 0;
  color: #151519;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.08;
  white-space: nowrap;
}

.sharp-portfolio__metric--risk,
.sharp-portfolio__metric--risk strong {
  color: var(--se-green);
}

.sharp-portfolio__actions {
  position: absolute;
  z-index: 3;
  left: 15px;
  right: 15px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 0.98fr;
  gap: 11px;
}

.sharp-btn {
  height: 52px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 9px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.sharp-btn .sharp-home-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.sharp-btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #e0b547 0%, #bb800e 100%);
  box-shadow: 0 12px 24px rgba(181, 122, 18, 0.24), inset 0 1px 0 rgba(255,255,255,0.28);
}

.sharp-btn--ghost {
  color: #95650b;
  background: rgba(255, 254, 251, 0.86);
  border: 1px solid rgba(193, 132, 22, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
}

.sharp-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sharp-quick__item {
  min-width: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(229, 221, 207, 0.74);
  box-shadow: 0 14px 28px rgba(95, 71, 33, 0.07), inset 0 1px 0 rgba(255,255,255,0.95);
}

.sharp-quick__item > .sharp-home-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  padding: 8px;
  border-radius: 50%;
  color: var(--se-gold);
  border: 1.5px solid currentColor;
}

.sharp-quick__item span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.sharp-quick__item strong {
  display: block;
  color: #141418;
  font-size: clamp(13px, 3.7vw, 17px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.sharp-quick__item em {
  display: block;
  color: #77737b;
  font-size: clamp(11px, 3.1vw, 14px);
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.sharp-recommended {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border-radius: 9px;
  background: #070707;
  box-shadow: 0 18px 36px rgba(17, 14, 10, 0.14);
  color: #fff;
}

.sharp-recommended__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.sharp-recommended::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.56) 42%, rgba(0,0,0,0.08) 72%, rgba(0,0,0,0) 100%);
}

.sharp-recommended__copy {
  position: relative;
  z-index: 2;
  width: 62%;
  min-height: 178px;
  padding: 17px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sharp-recommended__copy > span {
  color: #f2d78f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.sharp-recommended h2 {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: clamp(23px, 6.2vw, 30px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.sharp-recommended h2 .sharp-home-icon {
  width: 29px;
  height: 29px;
  color: #d9a12a;
}

.sharp-recommended ul {
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: none;
}

.sharp-recommended li {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: #d9a12a;
}

.sharp-recommended li .sharp-home-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

.sharp-recommended li strong {
  min-width: 0;
  color: #fff;
  font-size: clamp(14px, 3.8vw, 18px);
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.sharp-recommended__button {
  margin-top: auto;
  width: 100%;
  height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #efc95e 0%, #c38a18 100%);
  box-shadow: 0 12px 24px rgba(178, 113, 14, 0.24), inset 0 1px 0 rgba(255,255,255,0.34);
  font-size: clamp(14px, 4.2vw, 18px);
  font-weight: 800;
  white-space: nowrap;
}

.sharp-recommended__button .sharp-home-icon {
  width: 22px;
  height: 22px;
}

.sharp-recommended__badge {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 16px;
  height: 33px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  color: #1b1405;
  background: linear-gradient(180deg, #f4cc62 0%, #dba639 100%);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(202, 144, 25, 0.24);
}

.sharp-recommended__badge .sharp-home-icon {
  width: 18px;
  height: 18px;
}

.sharp-dots {
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.sharp-dots span,
.sharp-dots i {
  display: block;
  height: 6px;
  border-radius: 999px;
}

.sharp-dots span {
  width: 38px;
  background: #d69c25;
}

.sharp-dots i {
  width: 20px;
  background: #eee9df;
}

.sharp-risk {
  min-height: 72px;
  width: 100%;
  padding: 11px 14px;
  display: grid;
  grid-template-columns: 46px minmax(92px, 1fr) minmax(64px, 0.65fr) 42px minmax(94px, 1fr) 14px;
  align-items: center;
  gap: 10px;
  text-align: left;
  border-radius: 12px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(229, 221, 207, 0.74);
  box-shadow: 0 14px 30px rgba(95, 71, 33, 0.07), inset 0 1px 0 rgba(255,255,255,0.95);
}

.sharp-risk__shield {
  width: 46px;
  height: 46px;
  padding: 9px;
  color: #d7a039;
  border-radius: 50%;
  background: #fbf4e7;
}

.sharp-risk__copy,
.sharp-risk__exposure,
.sharp-risk__protection {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sharp-risk__copy strong {
  color: #111114;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
}

.sharp-risk em {
  color: #77737b;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.sharp-risk b,
.sharp-risk__protection strong,
.sharp-risk__exposure strong {
  color: var(--se-green);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.sharp-risk__exposure {
  padding-left: 14px;
  border-left: 1px solid rgba(213, 205, 190, 0.75);
}

.sharp-risk__exposure strong {
  color: #151519;
}

.sharp-risk__ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: conic-gradient(var(--se-green) 0 78%, #dfddd7 78% 100%);
  -webkit-mask: radial-gradient(circle, transparent 51%, #000 54%);
  mask: radial-gradient(circle, transparent 51%, #000 54%);
}

.sharp-risk__protection {
  position: relative;
  padding-left: 14px;
  border-left: 1px solid rgba(213, 205, 190, 0.75);
}

.sharp-risk__protection .sharp-home-icon {
  position: absolute;
  left: -2px;
  top: 50%;
  width: 34px;
  height: 34px;
  padding: 7px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: var(--se-green);
  background: #eef8ef;
}

.sharp-risk__protection em,
.sharp-risk__protection strong {
  padding-left: 17px;
}

.sharp-risk__chevron {
  width: 14px;
  height: 14px;
  color: #7a777b;
}

.sharp-ai {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-bottom: 8px;
}

.sharp-ai__head {
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sharp-ai__head h2 {
  margin: 0;
  color: #07070a;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.sharp-ai__head button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #6f6a69;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.sharp-ai__head button .sharp-home-icon {
  width: 20px;
  height: 20px;
  color: #9a650d;
}

.sharp-ai__card {
  position: relative;
  min-height: 74px;
  width: 100%;
  padding: 14px 11px 14px 18px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 96px;
  align-items: center;
  gap: 10px;
  text-align: left;
  border-radius: 12px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(229, 221, 207, 0.74);
  box-shadow: 0 14px 30px rgba(95, 71, 33, 0.07), inset 0 1px 0 rgba(255,255,255,0.95);
  overflow: hidden;
}

.sharp-ai__live {
  position: absolute;
  left: 20px;
  top: 15px;
  height: 23px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  color: #fff;
  background: #12a84f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.sharp-ai__ball {
  width: 68px;
  height: 68px;
  margin-left: 36px;
  display: grid;
  place-items: center;
  color: #111;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,0.14));
}

.sharp-ai__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sharp-ai__copy strong {
  color: #111114;
  font-size: clamp(18px, 5vw, 26px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sharp-ai__copy em {
  color: #77737b;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
}

.sharp-ai__confidence {
  height: 64px;
  padding: 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(241, 248, 238, 0.84) 0%, rgba(232, 246, 230, 0.94) 100%);
}

.sharp-ai__confidence em {
  color: #77737b;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.sharp-ai__confidence strong {
  color: var(--se-green);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.bottom-nav {
  left: 50%;
  right: auto;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  width: calc(100% - 24px);
  max-width: 456px;
  height: 76px;
  transform: translateX(-50%);
  padding: 6px 8px;
  align-items: center;
  border-radius: 28px;
  border: 1px solid rgba(218, 210, 198, 0.82);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 16px 44px rgba(79, 61, 30, 0.16), inset 0 1px 0 rgba(255,255,255,0.95);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  overflow: hidden;
}

.bottom-nav::before,
.bottom-nav::after {
  display: none;
}

.nav-item {
  height: 100%;
  min-width: 0;
  padding: 0;
  color: #101012;
}

.nav-item__core {
  min-height: 0;
  width: 100%;
  height: 100%;
  gap: 4px;
  padding: 6px 2px 5px;
  border-radius: 22px;
  overflow: hidden;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.nav-item__core::before,
.nav-item__core::after {
  display: none;
}

.nav-icon-shell {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: currentColor;
  background: transparent;
  box-shadow: none;
}

.nav-icon-shell::before,
.nav-icon-shell::after {
  display: none;
}

.nav-icon {
  width: 28px;
  height: 28px;
  color: currentColor;
  filter: none;
}

.nav-label {
  max-width: 100%;
  color: currentColor;
  opacity: 1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.nav-item.active {
  color: #bf851b;
}

.nav-item.active .nav-item__core {
  background: linear-gradient(180deg, rgba(247, 227, 179, 0.58) 0%, rgba(255, 250, 241, 0.72) 100%);
  transform: none;
}

.nav-item.active .nav-icon-shell {
  transform: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nav-item.active .nav-icon {
  transform: none;
  filter: none;
}

.nav-item.active .nav-label {
  color: #bf851b;
  transform: none;
  text-shadow: none;
}

@media (max-width: 390px) {
  .sharp-home__content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .sharp-home__top {
    height: 66px;
  }

  .sharp-home__logo {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .sharp-home__brand {
    gap: 9px;
  }

  .sharp-home__top-actions {
    gap: 10px;
  }

  .sharp-home__notify {
    width: 50px;
    height: 50px;
  }

  .sharp-home__avatar {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .sharp-portfolio {
    min-height: 278px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .sharp-portfolio__copy {
    width: 54%;
  }

  .sharp-portfolio__amount {
    font-size: 43px;
  }

  .sharp-portfolio__art {
    right: -20px;
    top: 22px;
    width: 56%;
  }

  .sharp-portfolio__metric {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .sharp-portfolio__metric .sharp-home-icon {
    width: 24px;
    height: 24px;
  }

  .sharp-portfolio__metric strong {
    font-size: 13px;
  }

  .sharp-btn {
    height: 50px;
    gap: 12px;
    font-size: 16px;
  }

  .sharp-quick {
    gap: 7px;
  }

  .sharp-quick__item {
    height: 58px;
    gap: 7px;
  }

  .sharp-quick__item > .sharp-home-icon {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }

  .sharp-recommended__copy {
    width: 66%;
    padding-left: 14px;
  }

  .sharp-recommended__badge {
    right: 12px;
    padding: 0 11px;
    font-size: 13px;
  }

  .sharp-risk {
    grid-template-columns: 40px minmax(84px, 1fr) 48px minmax(80px, 0.85fr) 12px;
    gap: 7px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .sharp-risk__shield {
    width: 40px;
    height: 40px;
  }

  .sharp-risk__exposure {
    display: none;
  }

  .sharp-risk__ring {
    width: 34px;
    height: 34px;
  }

  .sharp-risk__copy strong,
  .sharp-risk b,
  .sharp-risk__protection strong {
    font-size: 15px;
  }

  .sharp-ai__card {
    grid-template-columns: 70px minmax(0, 1fr) 86px;
    gap: 7px;
  }

  .sharp-ai__ball {
    width: 58px;
    height: 58px;
    margin-left: 28px;
  }

  .sharp-ai__confidence {
    padding-left: 9px;
    padding-right: 9px;
  }

  .nav-label {
    font-size: 11px;
  }
}

@media (min-width: 520px) {
  body.lockin-home-shell #app {
    background:
      radial-gradient(100% 40% at 50% 0%, rgba(223, 169, 60, 0.10) 0%, rgba(255, 255, 255, 0) 58%),
      linear-gradient(180deg, #fffdf9 0%, #fffaf3 46%, #fffdfb 100%);
    border-color: rgba(212, 154, 35, 0.20);
    box-shadow: 0 28px 80px rgba(77, 52, 10, 0.14);
  }

  .bottom-nav {
    max-width: min(456px, calc(100vw - 48px));
  }
}

/* SharpEdge mobile tightening after layout audit */
@media (max-width: 430px) {
  .sharp-home__brand-copy strong {
    font-size: 25px;
  }

  .sharp-home__brand-copy span {
    font-size: 12px;
    max-width: 156px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sharp-quick__item {
    gap: 5px;
    padding: 0 5px;
  }

  .sharp-quick__item > .sharp-home-icon {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    padding: 7px;
  }

  .sharp-quick__item span {
    gap: 4px;
  }

  .sharp-quick__item strong {
    font-size: 12px;
  }

  .sharp-quick__item em {
    font-size: 11px;
  }

  .sharp-recommended {
    height: 188px;
    min-height: 188px;
  }

  .sharp-recommended__copy {
    height: 100%;
    min-height: 0;
    width: 64%;
    padding: 14px 14px 12px;
  }

  .sharp-recommended__copy > span {
    font-size: 13px;
  }

  .sharp-recommended h2 {
    margin-top: 8px;
    gap: 8px;
    font-size: 24px;
  }

  .sharp-recommended h2 .sharp-home-icon {
    width: 25px;
    height: 25px;
  }

  .sharp-recommended ul {
    margin-top: 11px;
    gap: 7px;
  }

  .sharp-recommended li {
    gap: 8px;
  }

  .sharp-recommended li .sharp-home-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .sharp-recommended li strong {
    font-size: 13px;
  }

  .sharp-recommended__button {
    height: 39px;
    gap: 14px;
    font-size: 14px;
  }

  .sharp-recommended__button .sharp-home-icon {
    width: 18px;
    height: 18px;
  }

  .sharp-risk {
    grid-template-columns: 40px minmax(90px, 1fr) 38px minmax(88px, 0.95fr) 12px;
  }

  .sharp-risk__exposure {
    display: none;
  }

  .sharp-risk__copy strong {
    font-size: 15px;
  }

  .sharp-risk em {
    font-size: 11px;
  }

  .sharp-risk b,
  .sharp-risk__protection strong {
    font-size: 15px;
  }

  .sharp-risk__protection {
    padding-left: 10px;
  }

  .sharp-risk__protection em,
  .sharp-risk__protection strong {
    padding-left: 15px;
  }
}

/* SharpEdge final text fit pass */
@media (max-width: 430px) {
  .sharp-home__brand-copy span {
    font-size: 11px;
    max-width: 158px;
  }

  .sharp-portfolio__pill {
    max-width: none;
  }

  .sharp-portfolio__metric span {
    font-size: 10px;
  }

  .sharp-portfolio__metric strong {
    font-size: 12px;
  }

  .sharp-risk__copy strong {
    font-size: 14px;
  }

  .sharp-risk__protection em {
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Final overflow hygiene */
.sharp-home__notify {
  overflow: visible;
}

.sharp-risk__protection em {
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 390px) {
  .sharp-risk__copy strong {
    font-size: 13px;
  }
}

/* SharpEdge compact mobile typography pass */
.sharp-home {
  gap: 16px;
}

.sharp-home__content {
  padding-left: 16px;
  padding-right: 16px;
}

.sharp-home__top {
  height: 62px;
}

.sharp-home__logo {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.sharp-home__brand {
  gap: 10px;
}

.sharp-home__brand-copy strong {
  font-size: clamp(20px, 5.4vw, 24px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.sharp-home__brand-copy span {
  font-size: clamp(11px, 3vw, 13px);
  line-height: 1.16;
  max-width: 178px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sharp-home__top-actions {
  gap: 10px;
}

.sharp-home__notify {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}

.sharp-home__notify .sharp-home-icon {
  width: 23px;
  height: 23px;
}

.sharp-home__notify-badge {
  top: -6px;
  right: -7px;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  font-size: 11px;
}

.sharp-home__avatar {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
}

.sharp-home__avatar i {
  width: 14px;
  height: 14px;
  box-shadow: 0 0 0 3px #fffdfa;
}

.sharp-portfolio {
  min-height: 286px;
  padding: 22px 14px 15px;
  border-radius: 15px;
}

.sharp-portfolio__copy {
  width: 51%;
}

.sharp-portfolio__label {
  gap: 8px;
  font-size: clamp(17px, 4.5vw, 20px);
  line-height: 1.05;
}

.sharp-portfolio__eye {
  width: 17px;
  height: 17px;
}

.sharp-portfolio__amount {
  margin-top: 17px;
  font-size: clamp(31px, 8.5vw, 38px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.sharp-portfolio__growth {
  margin-top: 18px;
  gap: 11px;
  font-size: clamp(14px, 3.9vw, 17px);
}

.sharp-portfolio__growth .sharp-home-icon {
  width: 20px;
  height: 20px;
}

.sharp-portfolio__plan-label {
  margin-top: 29px;
  font-size: 13px;
}

.sharp-portfolio__pill {
  height: 34px;
  margin-top: 8px;
  padding: 0 14px;
  gap: 7px;
  border-radius: 17px;
}

.sharp-portfolio__pill .sharp-home-icon {
  width: 20px;
  height: 20px;
}

.sharp-portfolio__pill span {
  font-size: 15px;
}

.sharp-portfolio__art {
  top: 22px;
  right: -18px;
  width: min(53%, 206px);
}

.sharp-portfolio__metrics {
  left: 14px;
  right: 14px;
  bottom: 80px;
  min-height: 52px;
}

.sharp-portfolio__metric {
  grid-template-columns: 23px minmax(0, 1fr);
  column-gap: 7px;
  padding: 9px 7px;
}

.sharp-portfolio__metric .sharp-home-icon {
  width: 23px;
  height: 23px;
}

.sharp-portfolio__metric span {
  font-size: 9px;
}

.sharp-portfolio__metric strong {
  font-size: 12px;
}

.sharp-portfolio__actions {
  left: 14px;
  right: 14px;
  bottom: 15px;
  gap: 10px;
}

.sharp-btn {
  height: 50px;
  gap: 12px;
  border-radius: 9px;
  font-size: 15px;
}

.sharp-btn .sharp-home-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.sharp-quick {
  gap: 9px;
}

.sharp-quick__item {
  height: 62px;
  gap: 7px;
  padding: 0 8px;
  border-radius: 11px;
}

.sharp-quick__item > .sharp-home-icon {
  width: 33px;
  height: 33px;
  flex-basis: 33px;
  padding: 7px;
}

.sharp-quick__item strong {
  font-size: 12px;
}

.sharp-quick__item em {
  font-size: 11px;
}

.sharp-recommended {
  height: 190px;
  min-height: 190px;
  border-radius: 9px;
}

.sharp-recommended__copy {
  width: 63%;
  padding: 15px 14px 12px;
}

.sharp-recommended__copy > span {
  font-size: 12px;
}

.sharp-recommended h2 {
  margin-top: 9px;
  gap: 8px;
  font-size: clamp(20px, 5.2vw, 24px);
  letter-spacing: -0.035em;
}

.sharp-recommended h2 .sharp-home-icon {
  width: 23px;
  height: 23px;
}

.sharp-recommended ul {
  margin-top: 12px;
  gap: 7px;
}

.sharp-recommended li {
  gap: 8px;
}

.sharp-recommended li .sharp-home-icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}

.sharp-recommended li strong {
  font-size: 12px;
  line-height: 1.05;
}

.sharp-recommended__button {
  height: 39px;
  gap: 12px;
  font-size: 13px;
}

.sharp-recommended__button .sharp-home-icon {
  width: 17px;
  height: 17px;
}

.sharp-recommended__badge {
  top: 12px;
  right: 12px;
  height: 28px;
  padding: 0 10px;
  gap: 6px;
  font-size: 12px;
}

.sharp-recommended__badge .sharp-home-icon {
  width: 15px;
  height: 15px;
}

.sharp-dots {
  height: 14px;
}

.sharp-dots span {
  width: 30px;
  height: 5px;
}

.sharp-dots i {
  width: 16px;
  height: 5px;
}

.sharp-risk {
  min-height: 70px;
  padding: 10px 12px;
  grid-template-columns: 40px minmax(88px, 1fr) 36px minmax(86px, 0.9fr) 12px;
  gap: 7px;
  border-radius: 11px;
}

.sharp-risk__shield {
  width: 40px;
  height: 40px;
  padding: 8px;
}

.sharp-risk__copy,
.sharp-risk__exposure,
.sharp-risk__protection {
  gap: 5px;
}

.sharp-risk__copy strong {
  font-size: 13px;
  letter-spacing: -0.02em;
}

.sharp-risk em {
  font-size: 10px;
}

.sharp-risk b,
.sharp-risk__protection strong,
.sharp-risk__exposure strong {
  font-size: 14px;
}

.sharp-risk__ring {
  width: 32px;
  height: 32px;
}

.sharp-risk__protection {
  padding-left: 9px;
}

.sharp-risk__protection .sharp-home-icon {
  width: 28px;
  height: 28px;
  padding: 6px;
}

.sharp-risk__protection em,
.sharp-risk__protection strong {
  padding-left: 13px;
}

.sharp-ai__head {
  height: 34px;
}

.sharp-ai__head h2 {
  font-size: 21px;
}

.sharp-ai__head button {
  gap: 9px;
  font-size: 13px;
}

.sharp-ai__head button .sharp-home-icon {
  width: 17px;
  height: 17px;
}

.sharp-ai__card {
  min-height: 72px;
  grid-template-columns: 68px minmax(0, 1fr) 84px;
  gap: 8px;
  padding: 12px 10px 12px 15px;
  border-radius: 11px;
}

.sharp-ai__live {
  left: 16px;
  top: 13px;
  height: 20px;
  padding: 0 7px;
  font-size: 10px;
}

.sharp-ai__ball {
  width: 56px;
  height: 56px;
  margin-left: 25px;
}

.sharp-ai__copy {
  gap: 8px;
}

.sharp-ai__copy strong {
  font-size: clamp(15px, 4.2vw, 19px);
}

.sharp-ai__copy em {
  font-size: 13px;
}

.sharp-ai__confidence {
  height: 58px;
  padding: 10px 8px;
  gap: 6px;
}

.sharp-ai__confidence em {
  font-size: 10px;
}

.sharp-ai__confidence strong {
  font-size: 21px;
}

.nav-icon-shell {
  width: 30px;
  height: 30px;
}

.nav-icon {
  width: 24px;
  height: 24px;
}

.nav-label {
  font-size: 10px;
}

@media (max-width: 390px) {
  .sharp-home__content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .sharp-home__brand-copy strong {
    font-size: 20px;
  }

  .sharp-home__brand-copy span {
    font-size: 10px;
    max-width: 140px;
  }

  .sharp-home__notify {
    width: 44px;
    height: 44px;
  }

  .sharp-home__avatar {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .sharp-portfolio__amount {
    font-size: 31px;
  }

  .sharp-quick {
    gap: 7px;
  }

  .sharp-quick__item {
    padding: 0 6px;
  }

  .sharp-quick__item > .sharp-home-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .sharp-quick__item strong {
    font-size: 11px;
  }

  .sharp-quick__item em {
    font-size: 10px;
  }

  .sharp-risk {
    grid-template-columns: 36px minmax(82px, 1fr) 30px minmax(76px, 0.85fr) 10px;
    gap: 6px;
    padding-left: 9px;
    padding-right: 9px;
  }

  .sharp-risk__shield {
    width: 36px;
    height: 36px;
  }

  .sharp-risk__ring {
    width: 29px;
    height: 29px;
  }

  .sharp-risk__copy strong {
    font-size: 12px;
  }

  .sharp-risk b,
  .sharp-risk__protection strong {
    font-size: 13px;
  }

  .bottom-nav {
    height: 72px;
    border-radius: 25px;
  }
}

/* Tiny fit corrections for narrow Telegram viewports */
.sharp-portfolio__copy {
  width: 55%;
}

.sharp-portfolio__amount {
  font-size: clamp(28px, 7.45vw, 34px);
  letter-spacing: -0.04em;
}

.sharp-portfolio__art {
  width: min(49%, 190px);
  right: -10px;
}

@media (max-width: 390px) {
  .sharp-home__brand-copy span {
    font-size: 9.5px;
    max-width: 146px;
  }

  .sharp-portfolio__copy {
    width: 56%;
  }

  .sharp-portfolio__amount {
    font-size: 28px;
  }

  .sharp-portfolio__art {
    width: 48%;
    right: -8px;
  }
}

.sharp-portfolio__amount {
  line-height: 1.08;
}

@media (min-width: 410px) {
  .sharp-home__brand-copy span {
    max-width: 192px;
  }
}

/* Portfolio metric and CTA polish */
.sharp-portfolio {
  min-height: 304px;
}

.sharp-portfolio__copy {
  width: 54%;
}

.sharp-portfolio__plan-label {
  margin-top: 20px;
}

.sharp-portfolio__pill {
  position: relative;
  z-index: 4;
}

.sharp-portfolio__metrics {
  bottom: 84px;
  min-height: 48px;
  width: auto;
  left: 14px;
  right: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.sharp-portfolio__metric {
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 7px;
  padding: 8px 8px;
}

.sharp-portfolio__metric .sharp-home-icon {
  width: 24px;
  height: 24px;
}

.sharp-portfolio__metric span {
  font-size: 10px;
  line-height: 1;
}

.sharp-portfolio__metric strong {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1;
}

.sharp-portfolio__actions {
  bottom: 15px;
  gap: 12px;
  grid-template-columns: 1fr 0.98fr;
}

.sharp-btn {
  height: 52px;
  position: relative;
  justify-content: center;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow: hidden;
}

.sharp-btn .sharp-home-icon {
  position: absolute;
  right: 20px;
  width: 22px;
  height: 22px;
}

.sharp-btn--primary {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 42%),
    linear-gradient(180deg, #e9bd4c 0%, #bd8311 100%);
  box-shadow:
    0 14px 24px rgba(184, 124, 17, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -1px 0 rgba(114, 72, 6, 0.16);
}

.sharp-btn--primary::before {
  content: '';
  position: absolute;
  left: -30%;
  top: 0;
  width: 45%;
  height: 100%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.28), rgba(255,255,255,0));
  opacity: 0.55;
}

.sharp-btn--ghost {
  color: #95650b;
  background: rgba(255, 254, 251, 0.88);
  border: 1.5px solid rgba(193, 132, 22, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.92),
    0 10px 18px rgba(148, 102, 21, 0.07);
}

@media (max-width: 430px) {
  .sharp-portfolio {
    min-height: 304px;
  }

  .sharp-portfolio__copy {
    width: 55%;
  }

  .sharp-portfolio__metrics {
    bottom: 82px;
    min-height: 47px;
  }

  .sharp-portfolio__metric {
    grid-template-columns: 21px minmax(0, 1fr);
    column-gap: 6px;
    padding: 8px 6px;
  }

  .sharp-portfolio__metric .sharp-home-icon {
    width: 21px;
    height: 21px;
  }

  .sharp-portfolio__metric span {
    font-size: 9px;
  }

  .sharp-portfolio__metric strong {
    font-size: 11px;
  }

  .sharp-portfolio__actions {
    gap: 10px;
  }

  .sharp-btn {
    height: 51px;
    border-radius: 10px;
    font-size: 14px;
  }

  .sharp-btn .sharp-home-icon {
    right: 14px;
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 390px) {
  .sharp-portfolio__metric {
    grid-template-columns: 19px minmax(0, 1fr);
    padding-left: 5px;
    padding-right: 5px;
  }

  .sharp-portfolio__metric .sharp-home-icon {
    width: 19px;
    height: 19px;
  }

  .sharp-portfolio__metric span {
    font-size: 8.5px;
  }

  .sharp-portfolio__metric strong {
    font-size: 10.5px;
  }

  .sharp-btn {
    font-size: 13px;
  }
}

/* Portfolio vertical layout lock: no overlap between active plan and metrics */
.sharp-portfolio {
  height: 332px !important;
  min-height: 332px !important;
}

.sharp-portfolio__plan-label {
  position: absolute;
  z-index: 5;
  left: 14px;
  top: 154px;
  margin: 0;
}

.sharp-portfolio__pill {
  position: absolute;
  z-index: 5;
  left: 14px;
  top: 177px;
  margin: 0;
}

.sharp-portfolio__metrics {
  top: 225px !important;
  bottom: auto !important;
  height: 52px;
  min-height: 52px;
}

.sharp-portfolio__actions {
  top: 292px !important;
  bottom: auto !important;
  height: 52px;
}

.sharp-portfolio__art {
  top: 20px;
}

@media (max-width: 430px) {
  .sharp-portfolio {
    height: 332px !important;
    min-height: 332px !important;
  }

  .sharp-portfolio__plan-label {
    top: 153px;
  }

  .sharp-portfolio__pill {
    top: 175px;
  }

  .sharp-portfolio__metrics {
    top: 222px !important;
  }

  .sharp-portfolio__actions {
    top: 287px !important;
    height: 51px;
  }
}

@media (max-width: 390px) {
  .sharp-portfolio__plan-label {
    top: 152px;
  }

  .sharp-portfolio__pill {
    top: 174px;
  }

  .sharp-portfolio__metrics {
    top: 221px !important;
  }

  .sharp-portfolio__actions {
    top: 286px !important;
  }
}

/* Portfolio layout correction: position plan elements against the card, not text column */
.sharp-portfolio {
  height: 374px !important;
  min-height: 374px !important;
}

.sharp-portfolio__copy {
  position: static;
}

.sharp-portfolio__plan-label {
  left: 14px;
  top: 154px;
}

.sharp-portfolio__pill {
  left: 14px;
  top: 176px;
}

.sharp-portfolio__metrics {
  top: 238px !important;
}

.sharp-portfolio__actions {
  top: 304px !important;
}

@media (max-width: 430px) {
  .sharp-portfolio {
    height: 374px !important;
    min-height: 374px !important;
  }

  .sharp-portfolio__plan-label {
    left: 14px;
    top: 153px;
  }

  .sharp-portfolio__pill {
    left: 14px;
    top: 175px;
  }

  .sharp-portfolio__metrics {
    top: 237px !important;
  }

  .sharp-portfolio__actions {
    top: 303px !important;
  }
}
