.overview-side {
  display: grid;
  align-content: start;
  gap: var(--overview-gap, 16px);
  min-width: 0;
}
.overview-widget {
  --widget-pad: clamp(15px, 1.55vw, 23px);
  min-width: 0;
  background: #fff;
  color: #23232e;
  border: 1px solid #eaeaf0;
  border-radius: 18px;
  box-shadow: 0 3px 13px #29264305;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.wallet-widget, .portfolio-widget { padding: var(--widget-pad); }
.widget-heading, .deck-navigation, .overview-link, .wallet-flow-heading, .pass-heading, .wallet-flow dt, .portfolio-key dt, .recent-operation {
  display: flex;
  align-items: center;
}
.widget-heading {
  gap: 9px;
  justify-content: space-between;
  min-height: 25px;
  margin: 0 0 14px;
}
.overview-widget h3 {
  margin: 0;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 645;
  line-height: 1.25;
  letter-spacing: -.045em;
}
.overview-link, .deck-step {
  border: 1px solid #e5e5ed;
  color: #3d3c51;
  background: #fff;
  border-radius: 999px;
}
.overview-link { flex: none; gap: 3px; padding: 6px 9px 6px 12px; font-size: 12px; font-weight: 550; text-decoration: none; white-space: nowrap; }
.overview-link:hover, .deck-step:hover { color: #4844b8; background: #f3f2ff; }
.deck-navigation { gap: 4px; }
.deck-step { display: grid; place-items: center; padding: 4px; height: 28px; width: 28px; }
.deck-step.previous .ui-icon { transform: rotate(180deg); }
.cash-position, .widget-date, .widget-note { font-size: 12px; color: #616174; }
.cash-position { min-width: 32px; text-align: center; }
.cash-pass-track { display: flex; gap: 9px; }
.cash-pass, .cash-peek {
  --pass-field: radial-gradient(ellipse at 98% -15%, #6ab3ebaa 0%, transparent 60%),
    linear-gradient(115deg, #6258c9 0%, #625cca 40%, #3879b1 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  color: white;
  background: var(--pass-field);
}
[data-tone="marine"] { --pass-field: radial-gradient(ellipse at 95% -5%, #9dc4ad99, transparent 60%), linear-gradient(115deg,#344d52,#38616a 58%,#467e79); }
[data-tone="slate"] { --pass-field: radial-gradient(ellipse at 95% 0%, #a6b9ef99, transparent 60%), linear-gradient(115deg,#524b82,#695184 50%,#6073ae); }
.cash-pass::before, .cash-peek::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: repeating-radial-gradient(ellipse 120% 260% at 127% 120%,
    transparent 0 9%, #ffffff30 9.2% 9.55%, transparent 9.8% 12%);
  mask-image: linear-gradient(105deg, transparent 12%, #000 84%);
}
.cash-pass {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 147px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 23px;
  padding: clamp(15px, 1.4vw, 22px);
}
.cash-peek { flex: 0 0 8.5%; min-width: 24px; padding: 0; }
.cash-peek:hover { filter: brightness(1.09); }
.cash-peek:focus-visible { outline-offset: 2px; }
.pass-heading { gap: 8px; }
.pass-heading strong { font-size: 14px; font-weight: 550; overflow-wrap: anywhere; }
.pass-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: #ffffff25; }
.pass-sum small { display: block; font-size: 12px; margin-bottom: 4px; color: #fff; }
.pass-sum b { font-size: clamp(23px, 2.2vw, 34px); line-height: 1.13; font-weight: 560; letter-spacing: -.06em; overflow-wrap: anywhere; }
.wallet-flow-heading { justify-content: space-between; flex-wrap: wrap; gap: 3px 8px; margin: 18px 0 10px; font-size: 12px; }
.wallet-flow-heading > span { font-weight: 600; }
.wallet-flow-heading time { color: #6b6b7d; }
.wallet-flow { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding-top: 10px; border-top: 1px solid #ededf2; }
.wallet-flow > div + div { padding-left: 15px; border-left: 1px solid #ededf2; }
.wallet-flow dt { gap: 4px; color: #656577; font-size: 12px; }
.wallet-flow dt svg { color: #5857bd; }
.wallet-flow dd { margin: 5px 0 0; font-size: clamp(16px, 1.4vw, 20px); letter-spacing: -.045em; font-weight: 580; overflow-wrap: anywhere; }
.portfolio-arc { position: relative; width: 75%; max-width: 245px; margin: 18px auto 15px; }
.portfolio-arc svg { width: 100%; display: block; position: relative; }
.portfolio-arc::before {
  content: '';
  position: absolute;
  inset: 1% 3% 8%;
  border-radius: 160px 160px 0 0;
  background: radial-gradient(ellipse 58% 120% at 50% 118%, #f2f0ff 0 45%, #f7f6ff 46% 68%, #faf9ff 69%);
}
.portfolio-count { position: absolute; inset: 20% 17% 8%; display: flex; align-items: center; justify-content: end; flex-direction: column; gap: 1px; }
.portfolio-count strong { font-size: clamp(24px, 2.5vw, 38px); font-weight: 570; line-height: 1; letter-spacing: -.06em; }
.portfolio-count span { font-size: 12px; color: #656577; }
.portfolio-key { display: grid; gap: 8px; margin: 0; }
.portfolio-key > div { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.portfolio-key dt { gap: 7px; }
.portfolio-key i { width: 8px; height: 8px; border-radius: 50%; }
.portfolio-key dd { margin: 0; font-weight: 620; }
.recent-widget { container-type: inline-size; }
.recent-widget .widget-heading { padding: 16px var(--widget-pad) 12px; margin: 0; }
.recent-widget .widget-note { margin: 0 var(--widget-pad) 10px; }
.widget-note { margin: 11px 0 0; line-height: 1.45; }
.widget-empty { color: #686879; font-size: 13px; padding: 18px 0; }
.recent-content > :is(.widget-empty,.notice) { margin-inline: var(--widget-pad); }
.recent-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.recent-table th, .recent-table td { text-align: left; border: 0; padding: 10px 8px; }
.recent-table th { font-size: 11px; font-weight: 550; color: #656577; background: #f8f8fb; }
.recent-table td { border-top: 1px solid #efeff4; }
.recent-table tr > :first-child { padding-left: var(--widget-pad); }
.recent-table tr > :last-child { padding-right: var(--widget-pad); }
.recent-table tbody tr:hover { background: #fafaff; }
.recent-table .recent-amount { text-align: right; white-space: nowrap; font-weight: 600; }
.recent-table td.recent-amount.incoming { color: #216e55; }
.recent-table td.recent-amount.outgoing { color: #8c513c; }
.recent-operation { gap: 9px; }
.recent-symbol { display: grid; place-items: center; flex: none; width: 31px; height: 31px; border-radius: 11px; background: #eeeafa; color: #614fa2; }
.recent-symbol.incoming { background: #e8f3ee; color: #26725c; }
.recent-symbol.outgoing { background: #fbefe9; color: #9a634a; }
.recent-open { display: block; text-align: start; padding: 2px 0; background: transparent; border: 0; color: #282838; font-size: 13px; font-weight: 550; }
.recent-open:hover { color: #4945bb; text-decoration: underline; }
.recent-operation small { display: block; color: #737384; font-size: 11px; }
@container (max-width: 570px) {
  .recent-table .recent-account { display: none; }
}
@container (max-width: 420px) {
  .recent-table .recent-date { display: none; }
  .recent-symbol { width: 25px; height: 25px; border-radius: 8px; }
}
