:root {
      color-scheme: light;
      --primary: #1f60e0;
      --primary-bg: #f1f7ff;
      --primary-pressed: #164fbd;
      --surface-0: #ffffff;
      --surface-1: #fbfcfd;
      --surface-3: #eeeff0;
      --stroke-main: #606f7f;
      --stroke-accent: #bcc3cf;
      --stroke-hairline: #ecf0f8;
      --text-main: #0c0c0c;
      --text-minor: #4a4a4a;
      --success: #208000;
      --error: #cc0000;
      --warning-bg: #fff3ca;
      --warning-text: #916308;
      --device-width: 393px;
      --device-height: 852px;
      --header-height: 112px;
      --bottom-nav-height: 86px;
      --radius-card: 8px;
      --font-app: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      margin: 0;
      min-height: 100%;
    }

    body {
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding: 36px 20px;
      background:
        radial-gradient(circle at 12% 8%, rgba(31, 96, 224, 0.12), transparent 34%),
        radial-gradient(circle at 88% 92%, rgba(0, 32, 91, 0.10), transparent 34%),
        #f7f9fc;
      color: var(--text-main);
      font-family: var(--font-app);
    }

    button,
    input {
      font: inherit;
    }

    button {
      border: 0;
      background: transparent;
      color: inherit;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }

    .demo-wrap {
      display: grid;
      gap: 18px;
      justify-items: center;
    }

    .iphone {
      position: relative;
      width: 413px;
      height: 872px;
      padding: 10px;
      border-radius: 50px;
      background:
        linear-gradient(145deg, #2c3038 0%, #111317 45%, #050607 100%),
        #08090b;
      box-shadow:
        0 36px 80px rgba(0, 21, 64, 0.24),
        0 12px 22px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        inset 0 0 0 4px rgba(0, 0, 0, 0.62);
    }

    .iphone::before {
      content: "";
      position: absolute;
      z-index: 2;
      inset: 5px;
      border-radius: 45px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      pointer-events: none;
    }

    .device-button {
      position: absolute;
      z-index: 0;
      width: 4px;
      border-radius: 999px;
      background: linear-gradient(180deg, #2b3038, #111419);
      box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.28);
    }

    .device-button.action {
      left: -3px;
      top: 126px;
      height: 34px;
    }

    .device-button.volume-up {
      left: -4px;
      top: 190px;
      height: 68px;
    }

    .device-button.volume-down {
      left: -4px;
      top: 278px;
      height: 68px;
    }

    .device-button.power {
      right: -4px;
      top: 218px;
      height: 102px;
    }

    .screen {
      position: relative;
      z-index: 1;
      width: var(--device-width);
      height: var(--device-height);
      overflow: hidden;
      border-radius: 40px;
      background: var(--surface-3);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
      isolation: isolate;
    }

    .dynamic-island {
      position: absolute;
      z-index: 20;
      top: 11px;
      left: 50%;
      width: 126px;
      height: 36px;
      transform: translateX(-50%);
      border-radius: 999px;
      background: #050506;
      box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.08);
      pointer-events: none;
    }

    .screen-panel {
      display: none;
      height: 100%;
      background: var(--surface-3);
    }

    .screen-panel.active {
      display: block;
    }

    .screen-shell {
      height: 100%;
      display: grid;
      grid-template-rows: auto 1fr auto;
      background: var(--surface-3);
    }

    .overview-shell {
      grid-template-rows: 1fr auto;
    }

    .top-area {
      position: relative;
      z-index: 5;
      background: var(--surface-0);
      border-bottom: 1px solid var(--stroke-accent);
    }

    .status-bar {
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 34px 0;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: -0.01em;
    }

    #overviewContent > .status-bar {
      position: sticky;
      top: 0;
      z-index: 10;
      background: var(--surface-0);
    }

    .status-icons {
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .status-icon {
      display: block;
    }

    .app-header {
      height: 64px;
      display: grid;
      grid-template-columns: 56px 1fr 56px;
      align-items: center;
      padding: 0 4px;
    }

    .app-header-title {
      text-align: center;
      font-size: 20px;
      line-height: 25px;
      font-weight: 500;
      letter-spacing: -0.02em;
    }

    .icon-button {
      width: 48px;
      height: 48px;
      display: inline-grid;
      place-items: center;
      border-radius: 999px;
      color: var(--primary);
    }

    .icon-button:active {
      background: var(--primary-bg);
    }

    .content {
      overflow: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      background: var(--surface-3);
    }

    .content::-webkit-scrollbar {
      display: none;
    }

    .account-top {
      background: var(--surface-0);
    }

    .account-picker {
      width: 100%;
      padding: 16px 16px 12px;
      border: 0;
      border-bottom: 1px solid var(--stroke-accent);
      background: transparent;
      color: var(--text-main);
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 8px;
      align-items: center;
      text-align: left;
    }

    .account-name-row {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .account-name {
      font-size: 20px;
      line-height: 25px;
      font-weight: 500;
      letter-spacing: -0.02em;
    }

    .account-mask {
      margin-top: 2px;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
    }

    .badge {
      padding: 2px 7px;
      border: 1px solid var(--stroke-main);
      border-radius: 999px;
      color: var(--text-minor);
      font-size: 11px;
      line-height: 15px;
      font-weight: 700;
      letter-spacing: 0.04em;
    }

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

    .balance {
      padding-bottom: 16px;
      border-bottom: 1px solid var(--stroke-accent);
      text-align: center;
    }

    .balance-value {
      font-size: 22px;
      line-height: 28px;
      font-weight: 700;
      letter-spacing: -0.01em;
    }

    .day-change {
      margin-top: 2px;
      font-size: 15px;
      line-height: 20px;
      color: var(--text-minor);
    }

    .positive {
      color: var(--success);
    }

    .negative {
      color: var(--error);
    }

    .cash-row,
    .detail-row,
    .list-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      font-size: 17px;
      line-height: 22px;
    }

    .cash-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--text-minor);
    }

    .tabs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: var(--surface-0);
      border-top: 1px solid var(--stroke-hairline);
    }

    .tab {
      min-height: 51px;
      padding: 13px 12px 11px;
      border-bottom: 1px solid var(--stroke-hairline);
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      font-weight: 500;
      text-align: center;
    }

    .tab.active {
      border-bottom: 3px solid var(--primary);
      color: var(--text-main);
    }

    .tab-body {
      display: none;
    }

    .tab-body.active {
      display: block;
    }

    .quick-actions {
      padding: 16px 16px 8px;
      display: flex;
      justify-content: center;
      gap: 16px;
    }

    .quick-actions[hidden] {
      display: none;
    }

    .action-chip {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 11px 16px;
      border-radius: 7px;
      background: var(--surface-0);
      box-shadow:
        0 2px 6px 2px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.18);
      font-size: 15px;
      line-height: 20px;
    }

    .action-chip-tertiary {
      background: transparent;
      box-shadow: none;
      color: var(--primary);
      font-weight: 500;
    }

    .action-chip-tertiary .icon {
      color: var(--primary);
    }

    .account-summary .quick-actions {
      padding: 8px 0 0;
      background: var(--surface-0);
    }

    .section-pad {
      padding: 8px 16px;
    }

    .card {
      overflow: hidden;
      border-radius: var(--radius-card);
      background: var(--surface-0);
    }

    .card-pad {
      padding: 16px;
    }

    .card-header {
      min-height: 53px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--stroke-accent);
    }

    .card-header.flush {
      padding: 16px 16px 15px;
    }

    .card-title {
      margin: 0;
      color: var(--text-main);
      font-size: 20px;
      line-height: 25px;
      font-weight: 500;
      letter-spacing: -0.02em;
    }

    .linkish {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      color: var(--primary);
      font-weight: 500;
      text-decoration: none;
      font-size: 14px;
    }

    .muted {
      color: var(--text-minor);
    }

    .body-copy {
      margin: 0;
      font-size: 17px;
      line-height: 22px;
    }

    .primary-outline {
      min-height: 48px;
      padding: 11px 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--primary);
      border-radius: 6px;
      color: var(--primary);
      font-size: 17px;
      line-height: 22px;
      font-weight: 700;
    }

    .full-width {
      width: 100%;
    }

    .list-row {
      position: relative;
      padding: 12px 16px;
      min-height: 66px;
      align-items: center;
    }

    .list-row + .list-row,
    .detail-row + .detail-row,
    .faq-item + .faq-item {
      border-top: 1px solid var(--stroke-hairline);
    }

    .list-main {
      min-width: 0;
    }

    .list-title {
      font-size: 17px;
      line-height: 22px;
    }

    .list-subtitle,
    .list-date,
    .small-text {
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
    }

    .list-trailing {
      flex: 0 0 auto;
      text-align: right;
    }

    .chart-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 20px;
      align-items: center;
      padding-top: 16px;
    }

    .mini-chart {
      width: 100%;
      height: 74px;
    }

    .return-copy {
      text-align: right;
      font-size: 14px;
      line-height: 20px;
    }

    .vot-modal-shell {
      grid-template-rows: auto 1fr;
      background: var(--surface-0);
    }

    .vot-modal-shell.landscape {
      display: block;
      overflow: hidden;
    }

    .vot-modal-shell.landscape .vot-portrait-view {
      display: none;
    }

    .vot-landscape-view {
      display: none;
    }

    .vot-modal-shell.landscape .vot-landscape-view {
      width: var(--device-height);
      height: var(--device-width);
      display: block;
      transform: rotate(90deg) translateY(-100%);
      transform-origin: top left;
      background: var(--surface-0);
    }

    .vot-modal-header {
      border-bottom: 0;
    }

    .vot-modal-title {
      font-size: 22px;
      line-height: 25px;
      font-weight: 400;
    }

    .vot-content {
      display: grid;
      align-content: start;
      background: var(--surface-0);
    }

    .vot-tabs {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      padding: 0px 24px;
    }

    .vot-tab {
      height: 48px;
      display: grid;
      place-items: end center;
      padding: 0 4px 14px;
      border-bottom: 1px solid var(--stroke-hairline);
      color: var(--text-minor);
      font-size: 14px;
      line-height: 18px;
      letter-spacing: 0.02em;
    }

    .vot-tab.active {
      position: relative;
      color: var(--text-main);
    }

    .vot-tab.active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 3px;
      background: var(--primary);
    }

    .vot-date-range {
      padding: 16px 24px 8px;
      text-align: center;
      font-size: 14px;
      line-height: 18px;
      letter-spacing: 0.02em;
    }

    .vot-helper {
      padding: 4px 24px;
      text-align: center;
      color: var(--text-minor);
      font-size: 12px;
      line-height: 16px;
      letter-spacing: 0.02em;
    }

    .vot-chart-wrap {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 4px;
      padding: 8px 24px 0;
    }

    .vot-y-axis {
      display: grid;
      align-content: space-between;
      padding-bottom: 32px;
      color: var(--stroke-main);
      font-size: 12px;
      line-height: 16px;
      letter-spacing: 0.02em;
    }

    .vot-chart-panel {
      min-width: 0;
    }

    .vot-chart {
      width: 100%;
      height: 122px;
      display: block;
    }

    .vot-chart-timeline {
      display: flex;
      justify-content: space-between;
      padding: 8px 16px 0 24px;
      border-top: 1px solid var(--stroke-accent);
      color: var(--stroke-main);
      font-size: 12px;
      line-height: 16px;
      letter-spacing: 0.02em;
    }

    .vot-switch-card {
      display: grid;
      gap: 4px;
      margin-top: 8px;
      padding: 8px 24px;
      border-radius: var(--radius-card);
      background: var(--surface-1);
    }

    .vot-switch-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 16px;
    }

    .vot-legend {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-width: 0;
      font-size: 14px;
      line-height: 18px;
      letter-spacing: 0.02em;
    }

    .vot-legend-line {
      width: 20px;
      height: 8px;
      flex: 0 0 20px;
    }

    .vot-legend-line.blue {
      height: 0;
      border-top: 2px solid var(--primary);
    }

    .vot-legend-line.orange {
      height: 0;
      border-top: 2px dotted #e86a01;
    }

    .vot-switch {
      width: 40px;
      height: 24px;
    }

    .vot-switch::after {
      width: 18px;
      height: 18px;
      top: 3px;
      left: 3px;
    }

    .vot-switch.on::after {
      transform: translateX(16px);
    }

    .vot-stats {
      display: grid;
      gap: 8px;
      padding: 20px 24px 0;
    }

    .vot-stat-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 16px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--stroke-hairline);
      font-size: 16px;
      line-height: 20px;
      letter-spacing: 0.02em;
    }

    .vot-stat-meta {
      display: block;
      margin-top: 1px;
      color: var(--text-minor);
      font-size: 12px;
      line-height: 16px;
    }

    .vot-stat-value {
      text-align: right;
      white-space: nowrap;
    }

    .vot-stat-row.emphasis .vot-stat-value {
      font-size: 18px;
      line-height: 24px;
      font-weight: 700;
    }

    .vot-note {
      padding: 5px 24px 0;
      color: var(--text-minor);
      font-size: 14px;
      line-height: 18px;
      letter-spacing: 0.02em;
    }

    .vot-snackbar-wrap {
      display: grid;
      justify-items: center;
      padding: 8px 24px;
    }

    .vot-snackbar {
      width: 100%;
      min-height: 48px;
      display: grid;
      grid-template-columns: 1fr 48px;
      align-items: center;
      padding-left: 16px;
      border-radius: 4px;
      background: var(--text-main);
      color: var(--surface-0);
      text-align: left;
      box-shadow:
        0 4px 4px rgba(0, 0, 0, 0.15),
        0 1px 1.5px rgba(0, 0, 0, 0.3);
      font-size: 14px;
      line-height: 18px;
      letter-spacing: 0.02em;
    }

    .vot-snackbar-close {
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      font-size: 28px;
      line-height: 1;
    }

    .vot-landscape-inner {
      height: 100%;
      display: grid;
      grid-template-rows: auto auto auto 1fr auto;
      padding: 0px 8px 8px 48px;
      background: var(--surface-0);
    }

    .vot-landscape-top {
      display: grid;
      grid-template-columns: 48px 1fr 48px;
      align-items: center;
      min-height: 48px;
    }

    .vot-landscape-top .vot-tabs {
      padding: 0;
    }

    .vot-landscape-chart {
      grid-template-columns: 44px 1fr;
      padding: 8px 12px 0;
    }

    .vot-landscape-chart .vot-chart {
      height: 172px;
    }

    .vot-landscape-switches {
      margin: 8px 0 0;
      padding: 8px 24px;
      grid-template-columns: 1fr;
    }

    .positions .list-row {
      padding: 12px 0;
    }

    .positions .list-row:first-of-type {
      border-top: 0;
    }

    .allocation-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding-top: 16px;
    }

    .allocation-count {
      font-size: 28px;
      line-height: 34px;
      font-weight: 750;
    }

    .donut {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background:
        radial-gradient(circle at center, var(--surface-0) 0 31px, transparent 32px),
        conic-gradient(#081d4d 0 44%, #a0086a 44% 62%, #03a981 62% 78%, #e87502 78% 92%, #4a4a4a 92% 100%);
      box-shadow: inset 0 0 0 1px #fff;
    }

    .asset-allocation-sheet .bottom-sheet {
      background: var(--surface-1);
    }

    .asset-allocation-content {
      padding: 0 16px 36px;
      overflow: auto;
    }

    .asset-allocation-intro {
      display: grid;
      gap: 2px;
      padding: 24px 0 12px;
      letter-spacing: -0.02em;
    }

    .asset-allocation-intro h2 {
      margin: 0;
      font-size: 20px;
      line-height: 25px;
      font-weight: 600;
    }

    .asset-allocation-intro p {
      margin: 0;
      color: var(--text-minor);
      font-size: 17px;
      line-height: 22px;
    }

    .asset-allocation-card {
      display: grid;
      justify-items: center;
      gap: 24px;
      padding: 24px 16px 0;
      border-radius: var(--radius-card);
      background: var(--surface-0);
    }

    .asset-allocation-chart {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      background:
        radial-gradient(circle at center, var(--surface-0) 0 63px, transparent 64px),
        conic-gradient(#081d4d 0 60%, #a0086a 60% 75%, #03a981 75% 87%, #e87502 87% 97%, #4a4a4a 97% 100%);
      box-shadow: inset 0 0 0 1px var(--surface-0);
    }

    .asset-allocation-list {
      width: 100%;
      display: grid;
    }

    .asset-allocation-row {
      min-height: 38px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 16px;
      border-bottom: 1px solid var(--stroke-accent);
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .asset-allocation-row-main {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .asset-allocation-swatch {
      width: 12px;
      height: 12px;
      flex: 0 0 12px;
      border-radius: 3px;
    }

    .asset-allocation-row.inset {
      margin: 0 20px;
    }

    .detail-row {
      min-height: 48px;
      padding: 12px 0;
      align-items: center;
    }

    .detail-value {
      text-align: right;
      color: var(--text-main);
    }

    .detail-link {
      color: var(--primary);
      font-weight: 500;
    }

    .detail-action {
      color: var(--primary);
      font-weight: 500;
      text-align: right;
    }

    .disclaimer {
      padding: 24px 16px;
      color: var(--text-minor);
      font-size: 12px;
      line-height: 16px;
      letter-spacing: 0.02em;
    }

    .bottom-nav {
      background: var(--surface-0);
      border-top: 1px solid var(--stroke-accent);
      padding: 4px 8px 8px;
    }

    .bottom-nav-items {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 4px;
    }

    .nav-item {
      width: 100%;
      display: grid;
      justify-items: center;
      gap: 3px;
      padding-top: 7px;
      color: var(--text-main);
      font-size: 12px;
      line-height: 16px;
    }

    .nav-item.active {
      color: var(--primary);
    }

    .nav-item[role="button"] {
      cursor: pointer;
    }

    .nav-icon {
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      border-radius: 999px;
    }

    .more-section-header {
      min-height: 34px;
      display: flex;
      align-items: center;
      padding: 8px 16px 7px;
      border-top: 1px solid #d6d9dd;
      border-bottom: 1px solid #c9ced5;
      background: #e3e5e8;
      color: #2f3237;
      font-size: 13px;
      line-height: 18px;
      font-weight: 500;
      text-transform: uppercase;
    }

    .more-list {
      background: var(--surface-0);
    }

    .more-row {
      width: 100%;
      min-height: 48px;
      display: grid;
      grid-template-columns: 28px 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 10px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
      color: var(--text-main);
      text-align: left;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .more-row-icon {
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      color: var(--primary);
    }

    .more-placeholder {
      display: grid;
      gap: 16px;
      padding: 16px;
    }

    .settings-section-header {
      min-height: 38px;
      display: flex;
      align-items: center;
      padding: 16px;
      /*-border-top: 1px solid var(--stroke-accent);
      border-bottom: 1px solid var(--stroke-accent);-*/
      background: var(--surface-3);
      color: #393939;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
      text-transform: uppercase;
    }

    .settings-list {
      background: var(--surface-0);
    }

    .settings-row {
      width: 100%;
      min-height: 48px;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 8px;
      padding: 8px 12px 8px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
      color: var(--text-main);
      text-align: left;
      font-size: 17px;
      line-height: 22px;
    }

    .settings-toggle-row {
      grid-template-columns: 1fr auto;
      gap: 16px;
      padding-right: 16px;
      color: #393939;
    }

    .settings-toggle.on {
      background: var(--primary);
    }

    .settings-version {
      padding: 8px 16px 32px;
      color: #757575;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
      text-align: center;
    }

    .paperless-content {
      background: var(--surface-3);
    }

    .paperless-content .settings-section-header {
      min-height: 36px;
      color: var(--text-main);
      font-weight: 700;
      text-transform: none;
    }

    .paperless-home-hero {
      padding: 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
    }

    .paperless-separator {
      height: 16px;
      background: var(--surface-3);
    }

    .paperless-bottom-spacer {
      height: 36px;
      background: var(--surface-3);
    }

    .paperless-home-copy {
      margin: 0;
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .paperless-default-row {
      min-height: 68px;
      align-items: center;
    }

    .paperless-row-main {
      display: grid;
      gap: 2px;
      min-width: 0;
    }

    .paperless-row-title {
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .paperless-row-subtitle {
      color: var(--text-minor);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.01em;
    }

    .paperless-row-status {
      color: var(--primary);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.01em;
    }

    .paperless-info-block {
      padding: 14px 16px 16px;
      background: var(--surface-0);
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.01em;
    }

    .paperless-info-block p {
      margin: 0;
    }

    .paperless-address-summary {
      width: max-content;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      margin: 10px 0 8px;
      padding: 0;
      color: var(--primary);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.01em;
      cursor: pointer;
    }

    .paperless-address-summary .transfer-chevron {
      transform: rotate(90deg);
      transition: transform 0.18s ease;
    }

    .paperless-address-group:not(.expanded) .paperless-address-summary .transfer-chevron {
      transform: rotate(0deg);
    }

    .paperless-address-body {
      display: grid;
      margin-bottom: 12px;
      border-radius: 4px;
      background: var(--surface-3);
      overflow: hidden;
    }

    .paperless-address-group:not(.expanded) .paperless-address-body {
      display: none;
    }

    .paperless-address-card {
      display: grid;
      gap: 2px;
      padding: 10px;
      border-bottom: 1px solid var(--stroke-accent);
      color: var(--text-main);
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .paperless-address-card:last-child {
      border-bottom: 0;
    }

    .paperless-contact-list {
      display: grid;
      gap: 2px;
      background: var(--surface-0);
      color: var(--text-main);
      font-size: 14px;
      line-height: 18px;
      letter-spacing: -0.01em;
    }

    .paperless-explainer {
      padding: 14px 16px;
      background: var(--surface-0);
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.01em;
    }

    .paperless-section-note {
      padding: 12px 16px;
      background: var(--surface-0);
      color: var(--text-minor);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.01em;
    }

    .paperless-statements-intro {
      padding: 24px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .paperless-statements-intro p {
      margin: 0;
    }

    .paperless-statements-toggle {
      min-height: 76px;
      padding: 12px 16px;
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .paperless-account-row {
      width: 100%;
      min-height: 61px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 10px;
      padding: 9px 16px 9px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
      text-align: left;
    }

    .paperless-account-row.disabled {
      color: var(--text-minor);
      cursor: default;
    }

    .paperless-account-trailing {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--primary);
    }

    .paperless-info-icon {
      width: 24px;
      height: 24px;
      display: inline-grid;
      place-items: center;
      padding: 0;
      border: 0;
      background: none;
      color: var(--primary);
    }

    .paperless-detail-card {
      background: var(--surface-0);
      overflow: hidden;
    }

    .paperless-detail-row {
      min-height: 56px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 16px;
      padding: 12px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .paperless-detail-row.summary {
      background: var(--surface-3);
      font-size: 17px;
      line-height: 22px;
    }

    .paperless-detail-row.toggle {
      min-height: 76px;
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
    }

    .paperless-detail-spacer {
      height: 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-3);
    }

    .paperless-detail-row:last-child {
      border-bottom: 0;
    }

    .paperless-detail-label {
      color: var(--text-main);
    }

    .paperless-detail-value {
      color: var(--text-main);
      text-align: right;
      font-weight: 500;
    }

    .paperless-detail-value.wrap {
      max-width: 150px;
      white-space: normal;
    }

    .paperless-detail-copy {
      margin: 0;
      padding: 0 16px 16px;
      color: var(--text-minor);
      font-size: 14px;
      line-height: 19px;
      letter-spacing: -0.01em;
    }

    .paperless-terms-shell {
      grid-template-rows: auto minmax(0, 1fr) auto;
      background: var(--surface-0);
    }

    .paperless-terms-header .app-header {
      min-height: 48px;
      border-bottom: 0;
    }

    .paperless-terms-title {
      font-size: 20px;
      line-height: 25px;
      font-weight: 590;
      letter-spacing: -0.02em;
    }

    .paperless-terms-content {
      min-height: 0;
      overflow: auto;
      background: var(--surface-0);
      border-top: 1px solid var(--stroke-accent);
    }

    .paperless-terms-heading {
      padding: 12px 16px;
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      font-weight: 590;
      letter-spacing: -0.02em;
    }

    .paperless-terms-copy {
      padding: 16px;
      color: var(--text-main);
      font-size: 16px;
      line-height: 21px;
      letter-spacing: -0.02em;
    }

    .paperless-terms-copy p {
      margin: 0;
    }

    .paperless-terms-link {
      color: #007aff;
    }

    .paperless-terms-footer {
      display: grid;
      gap: 20px;
      padding: 20px;
      border-top: 1px solid #d2d2d2;
      background: var(--surface-0);
    }

    .paperless-terms-instruction {
      margin: 0;
      color: #363636;
      font-size: 15px;
      line-height: 20px;
      text-align: center;
      letter-spacing: -0.02em;
    }

    .paperless-terms-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .paperless-terms-button {
      min-height: 50px;
      display: grid;
      place-items: center;
      border-radius: 6px;
      font-size: 17px;
      line-height: 22px;
      font-weight: 700;
    }

    .paperless-terms-button.cancel {
      background: var(--surface-4);
      color: var(--text-main);
    }

    .paperless-terms-button.agree {
      background: var(--primary);
      color: #fff;
    }

    .paperless-terms-button.agree:disabled {
      opacity: 0.6;
      color: #fff;
      cursor: default;
    }

    .personal-info-content {
      display: grid;
      align-content: start;
      background: var(--surface-0);
    }

    .personal-avatar-section {
      display: grid;
      place-items: center;
      padding: 24px 16px 48px;
      background: var(--surface-0);
    }

    .personal-avatar {
      width: 75px;
      height: 75px;
      border-radius: 999px;
      object-fit: cover;
      display: block;
    }

    .personal-info-list {
      background: var(--surface-0);
      padding: 0 16px;
    }

    .personal-info-row {
      min-height: 49px;
      display: grid;
      grid-template-columns: 24px minmax(0, 1fr);
      align-items: center;
      gap: 16px;
      border-bottom: 1px solid var(--stroke-accent);
      color: var(--text-main);
      font-size: 16px;
      line-height: 21px;
      letter-spacing: -0.02em;
    }

    .personal-info-icon {
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
    }

    .personal-info-value {
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .account-nicknames-content {
      display: grid;
      grid-template-rows: minmax(0, 1fr) auto;
      background: var(--surface-0);
    }

    .account-nicknames-body {
      min-height: 0;
      overflow-y: auto;
      background: var(--surface-0);
    }

    .account-nicknames-intro {
      display: grid;
      gap: 16px;
      padding: 24px 14px 20px;
      background: var(--surface-0);
    }

    .account-nicknames-title {
      margin: 0;
      font-size: 18px;
      line-height: 22px;
      font-weight: 700;
      letter-spacing: 0.02em;
      color: var(--text-main);
    }

    .account-nicknames-copy {
      margin: 0;
      color: var(--text-minor);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .nickname-list {
      padding: 0 14px 12px;
      background: var(--surface-0);
    }

    .nickname-item {
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
    }

    .nickname-summary {
      width: 100%;
      display: grid;
      grid-template-columns: 24px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      padding: 12px 0 14px;
      color: var(--text-main);
      text-align: left;
      cursor: pointer;
    }

    .nickname-chevron {
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      color: var(--primary);
      transform: rotate(-90deg);
      transition: transform 0.18s ease;
    }

    .nickname-item.expanded .nickname-chevron {
      transform: rotate(0deg);
    }

    .nickname-main {
      display: grid;
      gap: 6px;
      min-width: 0;
    }

    .nickname-input {
      width: 100%;
      min-height: 24px;
      padding: 0 0 5px;
      border: 0;
      border-bottom: 1px solid var(--stroke-accent);
      border-radius: 0;
      background: transparent;
      color: var(--text-main);
      font: inherit;
      font-size: 17px;
      line-height: 22px;
      font-weight: 590;
      letter-spacing: -0.02em;
      outline: none;
    }

    .nickname-input:focus {
      border-bottom-color: var(--primary);
    }

    .nickname-meta {
      display: grid;
      gap: 2px;
      color: var(--text-minor);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .nickname-meta-line {
      display: flex;
      justify-content: space-between;
      gap: 16px;
    }

    .nickname-details {
      display: none;
      gap: 16px;
      padding: 0 0 16px 34px;
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .nickname-item.expanded .nickname-details {
      display: grid;
    }

    .nickname-detail-group {
      display: grid;
      gap: 2px;
    }

    .nickname-detail-label {
      font-weight: 590;
      color: var(--text-main);
    }

    .nickname-detail-value {
      color: var(--text-minor);
    }

    .account-nicknames-actions {
      padding: 16px 14px 28px;
      border-top: 1px solid var(--stroke-accent);
      background: var(--surface-0);
    }

    .account-nicknames-save {
      width: 100%;
      height: 48px;
      display: grid;
      place-items: center;
      border-radius: 6px;
      background: var(--primary);
      color: var(--surface-0);
      font-size: 17px;
      line-height: 22px;
      font-weight: 700;
      letter-spacing: -0.02em;
      cursor: pointer;
    }

    .account-nicknames-save:disabled {
      background: #d6d9dd;
      color: #757575;
      cursor: default;
      opacity: 1;
    }

    .disclosures-content {
      background: var(--surface-0);
      color: var(--text-main);
    }

    .disclosures-copy {
      display: grid;
      gap: 12px;
      padding: 16px;
      background: var(--surface-0);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .disclosures-copy p,
    .disclosures-copy ul {
      margin: 0;
    }

    .disclosures-title {
      font-size: 22px;
      line-height: 28px;
      font-weight: 400;
      letter-spacing: -0.02em;
    }

    .disclosures-heading {
      font-size: 17px;
      line-height: 22px;
      font-weight: 590;
      letter-spacing: -0.02em;
    }

    .disclosures-link {
      color: var(--primary);
    }

    .disclosures-copy ul {
      display: grid;
      gap: 0;
      padding-left: 25px;
    }

    .disclosures-footer-note {
      padding: 8px 16px 48px;
      color: #606f7f;
      font-size: 14px;
      line-height: 21px;
      letter-spacing: -0.02em;
    }

    .dmu-content {
      display: grid;
      align-content: start;
      gap: 16px;
      padding: 16px;
      background: var(--surface-3);
    }

    .dmu-page {
      height: 465px;
      margin: 0;
      overflow: hidden;
      background: var(--surface-0);
      box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    }

    .dmu-page img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .empty-state-card {
      display: grid;
      gap: 10px;
      padding: 24px 16px;
      border-radius: var(--radius-card);
      background: var(--surface-0);
      text-align: center;
    }

    .empty-state-card h2 {
      margin: 0;
      font-size: 22px;
      line-height: 28px;
      font-weight: 500;
      letter-spacing: -0.02em;
    }

    .empty-state-card p {
      margin: 0;
      color: var(--text-minor);
      font-size: 16px;
      line-height: 22px;
    }

    .announcements-body {
      display: grid;
      gap: 12px;
      padding: 16px 12px 24px;
      background: var(--surface-3);
    }

    .announcement-card {
      border-radius: var(--radius-card);
      background: var(--surface-0);
    }

    .announcement-card-header {
      display: grid;
      gap: 4px;
      padding: 16px 16px 10px;
      border-bottom: 1px solid var(--stroke-accent);
    }

    .announcement-date {
      color: var(--text-minor);
      font-size: 13px;
      line-height: 18px;
      letter-spacing: -0.02em;
    }

    .announcement-title {
      margin: 0;
      font-size: 17px;
      line-height: 22px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .announcement-copy {
      display: grid;
      gap: 10px;
      padding: 12px 16px 16px;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .announcement-copy p {
      margin: 0;
    }

    .announcement-extra[hidden] {
      display: none;
    }

    .announcement-toggle {
      justify-self: start;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--primary);
      font-size: 15px;
      line-height: 20px;
      font-weight: 600;
    }

    .announcement-toggle .icon {
      transition: transform 160ms ease;
    }

    .announcement-card.expanded .announcement-toggle .icon {
      transform: rotate(180deg);
    }

    .security-list {
      background: var(--surface-0);
    }

    .my-team-content {
      background: var(--surface-0);
    }

    .my-team-brand {
      display: grid;
      justify-items: center;
      gap: 8px;
      padding: 20px 16px 12px;
    }

    .my-team-brand .brand-logo {
      width: 250px;
      height: auto;
    }

    .my-team-advisor {
      display: grid;
      grid-template-columns: 64px 1fr;
      gap: 16px;
      align-items: center;
      padding: 16px;
    }

    .my-team-avatar {
      width: 64px;
      height: 64px;
      display: block;
      border-radius: 999px;
      object-fit: cover;
    }

    .my-team-name {
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .my-team-list {
      padding: 0;
    }

    .my-team-contact-row {
      position: relative;
      width: 100%;
      min-height: 46px;
      display: grid;
      grid-template-columns: 24px 1fr;
      gap: 16px;
      align-items: center;
      padding: 10px 16px;
      color: var(--primary);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
      text-align: left;
    }

    .my-team-contact-row::before {
      content: "";
      position: absolute;
      top: 0;
      left: 16px;
      right: 16px;
      height: 1px;
      background: var(--stroke-accent);
    }

    .my-team-icon {
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      color: var(--primary);
    }

    .my-team-socials {
      display: flex;
      justify-content: center;
      gap: 22px;
      padding: 10px 16px 12px;
      position: relative;
    }

    .my-team-socials::before {
      content: "";
      position: absolute;
      top: 0;
      left: 16px;
      right: 16px;
      height: 1px;
      background: var(--stroke-accent);
    }

    .my-team-social-link {
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      color: var(--primary);
    }

    .office-contact-row {
      position: relative;
      width: 100%;
      min-height: 60px;
      display: grid;
      grid-template-columns: 40px minmax(0, 1fr) repeat(3, 32px);
      gap: 10px;
      align-items: center;
      padding: 10px 16px;
    }

    .office-contact-row::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 16px;
      right: 16px;
      height: 1px;
      background: var(--stroke-accent);
    }

    .office-avatar {
      width: 40px;
      height: 40px;
      display: block;
      border-radius: 999px;
      object-fit: cover;
    }

    .office-avatar.alt-blue {
      background: #cde0f6;
      color: #225a91;
    }

    .office-avatar.alt-warm {
      background: #f4d3bc;
      color: #7b3a18;
    }

    .office-contact-name {
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .office-contact-primary {
      color: var(--success);
      font-size: 13px;
      line-height: 18px;
    }

    .office-action {
      width: 32px;
      height: 32px;
      display: grid;
      place-items: center;
      color: var(--primary);
    }

    .my-team-broker {
      display: grid;
      justify-items: center;
      padding: 42px 16px 52px; 
      /*- border-top: 1px solid var(--stroke-accent); -*/
    }

    .my-team-broker-logo {
      width: 150px;
      height: 35px;
    }

    .security-row {
      width: 100%;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
      color: var(--text-main);
      text-align: left;
    }

    .security-row-text {
      display: grid;
      gap: 4px;
    }

    .security-row-title {
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
      color: var(--text-main);
    }

    .security-row-subtitle {
      font-size: 14px;
      line-height: 19px;
      color: var(--text-minor);
    }

    .edit-username-content {
      display: grid;
      align-content: start;
      background: var(--surface-0);
    }

    .edit-username-current {
      display: grid;
      gap: 8px;
      padding: 36px 16px 16px;
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .edit-username-current strong {
      font-weight: 590;
    }

    .edit-username-form {
      display: grid;
      gap: 16px;
      padding: 16px;
    }

    .edit-username-field-group {
      display: grid;
      gap: 8px;
    }

    .edit-username-label {
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .edit-username-input-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 85px;
      gap: 16px;
      align-items: center;
    }

    .edit-input-wrap {
      min-height: 48px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 8px;
      padding: 0 12px;
      border: 1px solid var(--stroke-main);
      border-radius: 5px;
      background: var(--surface-0);
    }

    .edit-input-wrap.error {
      border-color: var(--error);
    }

    .edit-input {
      min-width: 0;
      width: 100%;
      height: 46px;
      padding: 0;
      border: 0;
      outline: 0;
      background: transparent;
      color: var(--text-main);
      font: inherit;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .edit-input-status {
      width: 16px;
      height: 16px;
      display: none;
      color: var(--success);
    }

    .edit-input-status.visible {
      display: block;
    }

    .edit-username-check {
      min-height: 48px;
      display: grid;
      place-items: center;
      padding: 0 16px;
      border: 1px solid var(--primary);
      border-radius: 6px;
      color: var(--primary);
      font-size: 17px;
      line-height: 22px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .edit-username-check:disabled {
      opacity: 0.6;
      cursor: default;
    }

    .edit-username-error {
      display: none;
      grid-template-columns: 18px minmax(0, 1fr);
      gap: 8px;
      align-items: start;
      color: var(--error);
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .edit-username-error.visible {
      display: grid;
    }

    .edit-username-policy {
      display: grid;
      gap: 8px;
      padding: 8px 16px;
    }

    .edit-username-policy p {
      margin: 0;
      color: var(--text-main);
      font-size: 16px;
      line-height: 21px;
      letter-spacing: -0.02em;
    }

    .edit-password-intro {
      margin: 0;
      color: var(--text-main);
      font-size: 16px;
      line-height: 21px;
      letter-spacing: -0.02em;
    }

    .edit-password-criteria {
      display: grid;
      gap: 4px;
      padding: 8px 0 0;
    }

    .edit-username-criteria {
      display: grid;
      gap: 4px;
      padding: 0;
      margin: 0;
      list-style: none;
    }

    .edit-username-criterion {
      display: grid;
      grid-template-columns: 16px minmax(0, 1fr);
      gap: 8px;
      align-items: start;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .criterion-icon {
      width: 16px;
      height: 20px;
      display: grid;
      place-items: center;
    }

    .criterion-icon svg {
      width: 16px;
      height: 16px;
    }

    .edit-username-password {
      display: grid;
      gap: 8px;
      padding: 8px 16px;
    }

    .edit-username-password p {
      margin: 0;
      color: var(--text-main);
      font-size: 16px;
      line-height: 21px;
      letter-spacing: -0.02em;
    }

    .edit-password-toggle {
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      color: var(--primary);
    }

    .edit-username-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      padding: 36px 16px;
      background: var(--surface-0);
    }

    .edit-username-action {
      min-height: 48px;
      display: grid;
      place-items: center;
      border-radius: 6px;
      font-size: 17px;
      line-height: 22px;
      font-weight: 700;
    }

    .edit-username-action.cancel {
      background: var(--surface-4);
      color: var(--text-main);
    }

    .edit-username-action.save {
      background: var(--primary);
      color: #fff;
    }

    .edit-username-action.save:disabled {
      opacity: 0.6;
      color: #fff;
      cursor: default;
    }

    .edit-username-success-backdrop {
      position: absolute;
      inset: 0;
      z-index: 45;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
      background: rgba(54, 61, 74, 0.6);
    }

    .edit-username-success-backdrop.active {
      display: flex;
    }

    .edit-username-success-modal {
      width: 100%;
      display: grid;
      gap: 24px;
      padding: 36px 16px 24px;
      border-radius: 8px;
      background: var(--surface-0);
      box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
    }

    .edit-username-success-head {
      display: grid;
      justify-items: center;
      gap: 16px;
      text-align: center;
    }

    .edit-username-success-icon {
      width: 36px;
      height: 36px;
      color: var(--success);
    }

    .edit-username-success-title {
      margin: 0;
      color: var(--text-main);
      font-size: 22px;
      line-height: 28px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .edit-username-success-copy {
      margin: 0;
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .edit-username-success-ok {
      min-height: 48px;
      display: grid;
      place-items: center;
      border-radius: 5px;
      background: var(--primary);
      color: #fff;
      font-size: 17px;
      line-height: 20px;
      font-weight: 700;
    }

    .toggle-switch {
      position: relative;
      flex: 0 0 auto;
      width: 51px;
      height: 31px;
      padding: 0;
      border: none;
      border-radius: 999px;
      background: #e5e5ea;
      transition: background 0.2s ease;
      cursor: pointer;
    }

    .toggle-switch::after {
      content: "";
      position: absolute;
      top: 2px;
      left: 2px;
      width: 27px;
      height: 27px;
      border-radius: 999px;
      background: var(--surface-0);
      box-shadow: 0 2px 4px rgba(12, 12, 12, 0.2);
      transition: transform 0.2s ease;
    }

    .toggle-switch.on {
      background: var(--success);
    }

    .toggle-switch.on::after {
      transform: translateX(20px);
    }

    .toggle-switch.settings-toggle.on {
      background: var(--primary);
    }

    .toggle-switch.vot-switch.on {
      background: var(--primary);
    }

    .rmd-account-filter {
      background: var(--surface-0);
      padding: 0 16px 8px;
    }

    .rmd-account-filter .account-selector-toggle {
      border-bottom: 0;
    }

    .rmd-summary-card {
      display: grid;
      gap: 16px;
      padding: 16px 28px;
      background: var(--surface-0);
    }

    .rmd-summary-title {
      color: var(--text-minor);
      font-size: 17px;
      line-height: 22px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .rmd-summary-value {
      margin-top: 2px;
      font-size: 20px;
      line-height: 25px;
      letter-spacing: -0.02em;
    }

    .rmd-summary-body {
      display: grid;
      grid-template-columns: 1fr 140px;
      align-items: center;
      gap: 12px;
    }

    .rmd-legend {
      display: grid;
      gap: 16px;
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .rmd-legend-item {
      display: grid;
      grid-template-columns: 12px 1fr;
      gap: 8px;
      align-items: start;
    }

    .rmd-legend-dot {
      width: 12px;
      height: 12px;
      margin-top: 4px;
      border-radius: 999px;
      background: #33a3c1;
    }

    .rmd-legend-dot.remaining {
      background: #dfe3e8;
    }

    .rmd-legend-value {
      margin-top: 2px;
      font-size: 16px;
      line-height: 21px;
    }

    .rmd-donut {
      position: relative;
      width: 140px;
      height: 140px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: conic-gradient(#33a3c1 0 21.6deg, #dfe3e8 21.6deg 360deg);
    }

    .rmd-donut::before {
      content: "";
      position: absolute;
      width: 98px;
      height: 98px;
      border-radius: inherit;
      background: var(--surface-0);
    }

    .rmd-donut-label {
      position: relative;
      display: grid;
      justify-items: center;
      text-align: center;
      letter-spacing: -0.02em;
    }

    .rmd-donut-percent {
      font-size: 22px;
      line-height: 28px;
      font-weight: 700;
    }

    .rmd-donut-caption {
      color: var(--text-minor);
      font-size: 12px;
      line-height: 16px;
    }

    .rmd-tabs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
    }

    .rmd-tab {
      position: relative;
      height: 48px;
      display: grid;
      place-items: center;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .rmd-tab.active {
      color: var(--text-main);
    }

    .rmd-tab.active::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      height: 3px;
      background: var(--primary);
    }

    .rmd-tab-body {
      display: none;
      padding: 16px 16px 36px;
    }

    .rmd-tab-body.active {
      display: grid;
      gap: 16px;
    }

    .rmd-account-card,
    .rmd-info-card,
    .rmd-cta-card {
      border-radius: var(--radius-card);
      background: var(--surface-0);
    }

    .rmd-account-card {
      padding: 16px;
    }

    .rmd-account-card-header {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: end;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--stroke-accent);
    }

    .rmd-account-name {
      font-size: 17px;
      line-height: 22px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .rmd-account-mask,
    .rmd-account-value-label {
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .rmd-account-value {
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
      text-align: right;
    }

    .rmd-detail-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      min-height: 48px;
      padding: 12px 0;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .rmd-detail-row + .rmd-detail-row {
      border-top: 1px solid var(--stroke-hairline);
    }

    .rmd-detail-row span:first-child {
      color: var(--text-minor);
    }

    .rmd-detail-row span:last-child {
      text-align: right;
    }

    .rmd-cta-card {
      display: grid;
      gap: 16px;
      padding: 16px;
      font-size: 17px;
      line-height: 22px;
    }

    .rmd-cta-card h3,
    .rmd-info-card h3,
    .rmd-info-card h4 {
      margin: 0;
      font-size: 17px;
      line-height: 22px;
      font-weight: 600;
      margin-bottom: 16px;
    }

    .rmd-cta-card p,
    .rmd-info-card p {
      margin: 0;
    }

    .rmd-info-card {
      padding: 16px;
      font-size: 17px;
      line-height: 22px;
    }

    .rmd-info-card h3 {
      min-height: 53px;
      display: flex;
      align-items: center;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--stroke-accent);
    }

    .rmd-info-card h4 {
      margin-top: 16px;
    }

    .rmd-info-card h3 + h4 {
      margin-top: 16px;
    }

    .rmd-info-card p + h4,
    .rmd-info-card ul + h4 {
      margin-top: 16px;
    }

    .rmd-info-card ul {
      margin: 8px 0 0;
      padding-left: 22px;
    }

    .rmd-info-card li {
      margin: 0 0 8px;
    }

    .rmd-resource-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--primary);
      font-weight: 600;
      text-align: left;
    }

    .rmd-sheet-backdrop {
      background: rgba(54, 61, 74, 0.6);
    }

    .rmd-sheet-content {
      padding: 0 16px 36px;
    }

    .documents-body {
      padding: 24px 12px 8px;
    }

    .documents-card,
    .document-list-card {
      overflow: hidden;
      border-radius: var(--radius-card);
      background: var(--surface-0);
    }

    .documents-row {
      width: 100%;
      min-height: 47px;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
      text-align: left;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .documents-row:last-child,
    .document-row:last-child {
      border-bottom: 0;
    }

    .documents-loaded[hidden],
    .documents-loading[hidden] {
      display: none;
    }

    .skeleton-line {
      height: 16px;
      border-radius: 4px;
      background: linear-gradient(90deg, #d7d8da 0%, #eeeeef 40%, #d7d8da 80%);
      background-size: 220% 100%;
      animation: shimmer 1s linear infinite;
    }

    .skeleton-line.short {
      width: 64px;
    }

    .skeleton-line.medium {
      width: 88px;
    }

    .skeleton-line.long {
      width: 156px;
    }

    @keyframes shimmer {
      0% {
        background-position: 120% 0;
      }
      100% {
        background-position: -120% 0;
      }
    }

    .document-filter {
      display: grid;
      gap: 8px;
      padding: 12px 16px;
      background: var(--surface-0);
      border-bottom: 1px solid var(--stroke-accent);
    }

    .document-filter-button {
      width: 100%;
      min-height: 48px;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 12px; 
      /*-- border-bottom: 1px solid var(--stroke-accent); --*/
      color: var(--text-main);
      text-align: left;
      font-size: 17px;
      line-height: 22px;
      font-weight: 700;
    }

    .account-selector-container {
      position: relative;
    }

    .account-selector-toggle {
      cursor: pointer;
    }

    .account-selector-toggle .icon {
      transition: transform 160ms ease;
    }

    .account-selector-toggle[aria-expanded="true"] .icon {
      transform: rotate(180deg);
    }

    .account-selector-summary {
      min-width: 0;
      display: grid;
      gap: 2px;
    }

    .account-selector-title,
    .account-selector-mask {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      letter-spacing: -0.02em;
    }

    .account-selector-title {
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      font-weight: 700;
    }

    .account-selector-mask {
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      font-weight: 400;
    }

    .account-selector-menu {
      position: absolute;
      top: calc(100% + 8px);
      left: 16px;
      right: 16px;
      z-index: 24;
      overflow: hidden;
      border-radius: 10px;
      background: rgba(238, 239, 240, 0.96);
      box-shadow: 0 0 32px rgba(0, 0, 0, 0.2);
      -webkit-backdrop-filter: blur(75px);
      backdrop-filter: blur(75px);
    }

    .account-selector-menu[hidden] {
      display: none;
    }

    .document-filter .account-selector-menu {
      left: 32px;
      right: 56px;
    }

    .account-selector-option {
      width: 100%;
      min-height: 68px;
      display: grid;
      gap: 2px;
      align-content: center;
      padding: 12px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: transparent;
      color: var(--text-main);
      text-align: left;
      letter-spacing: -0.02em;
    }

    .account-selector-option:first-child {
      min-height: 70px;
    }

    .account-selector-option:last-child {
      border-bottom: 0;
    }

    .account-selector-option:active,
    .account-selector-option.selected {
      background: rgba(31, 96, 224, 0.08);
    }

    .account-selector-option-title {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 17px;
      line-height: 22px;
    }

    .account-selector-option-mask {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
    }

    .document-empty-state {
      padding: 24px 16px;
    }

    .document-empty-card {
      padding: 16px;
      border-radius: 8px;
      background: var(--surface-0);
      text-align: center;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .document-empty-state[hidden] {
      display: none;
    }

    .document-filter-chip {
      border: 0;
      background: transparent;
      color: inherit;
      text-align: left;
      display: inline-grid;
      grid-template-columns: 48px 1fr;
      gap: 12px;
      align-items: center;
      width: 100%;
      padding: 24px 16px;
    }

    .document-filter-chip > span:not(.filter-icon-box) {
      min-width: 0;
    }

    .filter-icon-box {
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      border-radius: 5px;
      background: var(--surface-0);
      color: var(--stroke-main);
    }

    .filter-label {
      display: block;
      color: #606F7F;
      font-size: 12px;
      line-height: 16px;
      text-transform: uppercase;
    }

    .filter-value {
      display: block;
      margin-top: 2px;
      font-size: 13px;
      line-height: 15px;
      font-weight: 700;
      overflow-wrap: anywhere;
    }

    .document-list-wrap {
      padding: 0 12px 24px;
    }

    .document-row {
      width: 100%;
      min-height: 48px;
      display: grid;
      grid-template-columns: 24px minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      padding: 10px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
      text-align: left;
    }

    .document-row-title {
      display: block;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
      overflow-wrap: anywhere;
    }

    .document-row-subtitle,
    .document-date {
      display: block;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .document-date {
      white-space: nowrap;
      text-align: right;
    }

    .document-add-button {
      justify-self: end;
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      color: var(--primary);
    }

    .upload-copy {
      padding: 24px 16px 22px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .upload-panel {
      padding: 16px 12px;
    }

    .upload-row {
      width: 100%;
      min-height: 48px;
      display: grid;
      grid-template-columns: 1fr auto auto;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      border-radius: 8px;
      background: var(--surface-0);
      color: var(--text-main);
      text-align: left;
      font-size: 17px;
      line-height: 22px;
    }

    .upload-account-row {
      width: 100%;
      min-height: 68px;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
      text-align: left;
      font-size: 17px;
      line-height: 22px;
    }

    .upload-account-row:last-child {
      border-bottom: 0;
    }

    .upload-actions {
      margin-top: auto;
      padding: 16px;
      display: grid;
      gap: 20px;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
    }

    .doc-action-backdrop {
      position: absolute;
      inset: 0;
      z-index: 28;
      display: none;
      align-items: flex-end;
      padding: 0 6px 32px;
      background: rgba(54, 61, 74, 0.6);
    }

    .doc-action-backdrop.active {
      display: flex;
    }

    .doc-action-menu {
      width: 100%;
      display: grid;
      gap: 8px;
    }

    .doc-action-group {
      overflow: hidden;
      border-radius: 12px;
      background: rgba(245, 246, 248, 0.95);
    }

    .doc-action {
      width: 100%;
      min-height: 56px;
      display: grid;
      place-items: center;
      border-bottom: 1px solid var(--stroke-accent);
      color: var(--primary);
      font-size: 17px;
      line-height: 22px;
    }

    .doc-action:last-child {
      border-bottom: 0;
    }

    .doc-action.danger {
      color: #ff0000;
    }

    .doc-filter-sheet .bottom-sheet {
      min-height: 72%;
    }

    .doc-filter-row {
      width: 100%;
      min-height: 47px;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
      font-size: 17px;
      line-height: 22px;
      text-align: left;
    }

    .home-indicator {
      width: 108px;
      height: 4px;
      margin: 7px auto 0;
      border-radius: 999px;
      background: var(--text-main);
    }

    .form-content {
      padding: 16px;
      display: grid;
      gap: 24px;
    }

    .preview-card {
      display: grid;
      gap: 8px;
      padding: 16px;
      border: 1px solid var(--stroke-main);
      border-radius: 8px;
      background: var(--warning-bg);
    }

    .preview-label {
      color: var(--warning-text);
      font-size: 13px;
      line-height: 18px;
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    .preview-copy {
      min-height: 74px;
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      font-weight: 500;
      white-space: pre-line;
    }

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

    .form-label {
      font-size: 17px;
      line-height: 22px;
    }

    .activity-filter-card {
      padding: 12px 16px;
      background: var(--surface-0);
    }

    .activity-filter-button {
      width: 100%;
      min-height: 80px;
      display: grid;
      grid-template-columns: 48px 1fr;
      align-items: center;
      gap: 8px;
      color: var(--text-main);
      text-align: left;
    }

    .activity-filter-copy {
      display: grid;
      gap: 2px;
    }

    .activity-filter-label {
      color: var(--text-minor);
      font-size: 11px;
      line-height: 16px;
      text-transform: uppercase;
    }

    .activity-filter-value {
      font-size: 13px;
      line-height: 18px;
      font-weight: 600;
    }

    .activity-body {
      display: grid;
      gap: 16px;
      padding: 0px 16px 36px;
    }

    .activity-date-card {
      overflow: hidden;
      border-radius: var(--radius-card);
      background: var(--surface-0);
    }

    .activity-date-header {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 16px 8px;
      border-bottom: 1px solid var(--stroke-accent);
      font-size: 17px;
      line-height: 22px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .activity-date-count {
      color: var(--text-minor);
      font-weight: 400;
    }

    .activity-list-row {
      width: 100%;
      min-height: 64px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto 12px;
      gap: 10px;
      align-items: center;
      padding: 10px 16px;
      background: var(--surface-0);
      text-align: left;
    }

    .activity-list-row + .activity-list-row {
      border-top: 1px solid var(--stroke-hairline);
    }

    .activity-list-row > span:first-child {
      min-width: 0;
      max-width: 220px;
    }

    .activity-list-title,
    .activity-list-amount {
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .activity-list-title {
      display: block;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .activity-list-title + br {
      display: none;
    }

    .activity-list-meta {
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .activity-list-amount {
      text-align: right;
    }

    .activity-detail-body {
      padding: 32px 12px 16px;
    }

    .activity-detail-card {
      padding: 0 16px;
      border-radius: var(--radius-card);
      background: var(--surface-0);
    }

    .activity-detail-row {
      display: grid;
      grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1fr);
      gap: 12px;
      align-items: start;
      padding: 12px 0;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .activity-detail-row + .activity-detail-row {
      border-top: 1px solid var(--stroke-hairline);
    }

    .activity-detail-label {
      color: var(--text-minor);
    }

    .activity-detail-value {
      text-align: right;
    }

    .activity-filter-sheet .bottom-sheet {
      min-height: calc(100% - 60px);
      background: var(--surface-1);
    }

    .activity-filter-header {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: 16px;
      font-size: 17px;
      line-height: 22px;
    }

    .activity-filter-title {
      font-size: 20px;
      line-height: 25px;
      font-weight: 600;
      text-align: center;
    }

    .activity-filter-content {
      display: grid;
      gap: 16px;
      padding: 0 16px 36px;
    }

    .activity-filter-section {
      overflow: hidden;
      border-radius: 4px;
      background: var(--surface-0);
    }

    .activity-filter-section-toggle {
      width: 100%;
      min-height: 46px;
      display: grid;
      grid-template-columns: 1fr auto auto;
      align-items: center;
      gap: 8px;
      padding: 12px 16px;
      text-align: left;
      font-size: 17px;
      line-height: 22px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .activity-filter-section-value {
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      font-weight: 400;
    }

    .activity-filter-section-toggle .icon {
      color: var(--stroke-main);
      transition: transform 160ms ease;
    }

    .activity-filter-section.expanded .activity-filter-section-toggle .icon {
      transform: rotate(180deg);
    }

    .activity-filter-options {
      display: none;
      padding: 0 16px 8px;
    }

    .activity-filter-section.expanded .activity-filter-options {
      display: grid;
    }

    .activity-filter-option {
      min-height: 47px;
      display: grid;
      grid-template-columns: 24px 1fr auto;
      gap: 12px;
      align-items: center;
      padding: 8px 0;
      border-top: 1px solid var(--stroke-accent);
      font-size: 17px;
      line-height: 22px;
      text-align: left;
    }

    .activity-filter-option:has(> span:first-child:empty) {
      grid-template-columns: 1fr auto;
    }

    .activity-filter-option > span:first-child:empty {
      display: none;
    }

    .activity-filter-radio {
      width: 20px;
      height: 20px;
      display: grid;
      place-items: center;
      border: 1.5px solid #2c9ad6;
      border-radius: 999px;
      color: var(--surface-0);
    }

    .activity-filter-option.selected .activity-filter-radio {
      background: var(--primary);
      border-color: var(--primary);
    }

    .activity-filter-note {
      color: #64748b;
      font-size: 14px;
    }

    .authorized-user-sheet .bottom-sheet {
      min-height: calc(100% - 60px);
      background: var(--surface-1);
    }

    .authorized-user-apply:disabled {
      color: #a4a4a4;
      cursor: default;
    }

    .authorized-user-content {
      padding: 0 16px 36px;
    }

    .authorized-user-label {
      margin: 0 0 16px;
      font-size: 17px;
      line-height: 22px;
      font-weight: 600;
    }

    .authorized-user-options {
      padding: 0 16px;
      border-radius: 4px;
      background: var(--surface-0);
    }

    .authorized-user-option {
      width: 100%;
      min-height: 47px;
      display: grid;
      grid-template-columns: 1fr 24px;
      gap: 12px;
      align-items: center;
      padding: 8px 0;
      font-size: 17px;
      line-height: 22px;
      text-align: left;
    }

    .authorized-user-option + .authorized-user-option {
      border-top: 1px solid var(--stroke-accent);
    }

    .authorized-user-check {
      display: grid;
      place-items: center;
      color: var(--success);
    }

    .authorized-user-check[hidden] {
      display: none;
    }

    .authorized-user-copy {
      margin-top: 24px;
      font-size: 15px;
      line-height: 20px;
    }

    .authorized-user-copy p {
      margin: 0 0 24px;
    }

    .authorized-user-banner {
      min-height: 36px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 7px 16px;
      background: var(--primary-bg);
      font-size: 15px;
      line-height: 20px;
    }

    .authorized-user-banner[hidden] {
      display: none;
    }

    .authorized-user-switch {
      flex: 0 0 auto;
      color: var(--primary);
      font-weight: 600;
    }

    .positions-content {
      background: var(--surface-3);
    }

    .positions-filter {
      background: var(--surface-0);
      padding: 12px 16px;
    }

    .positions-tabs {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      padding: 12px 16px;
      background: var(--surface-0);
      border-top: 1px solid var(--stroke-accent);
      border-bottom: 1px solid var(--stroke-accent);
    }

    .positions-tab {
      min-height: 30px;
      display: grid;
      place-items: center;
      border: 1px solid #d9dde4;
      background: #E8E9EB;
      color: var(--text-minor);
      font-size: 14px;
      line-height: 28px;
      font-weight: 400;
    }

    .positions-tab:first-child {
      border-radius: 6px 0 0 6px;
    }

    .positions-tab:last-child {
      border-radius: 0 6px 6px 0;
    }

    .positions-tab.active {
      background: var(--surface-0);
      color: var(--text-main);
    }

    .positions-body {
      display: grid;
      gap: 16px;
      padding: 0 16px 36px;
    }

    #positionsList {
      display: grid;
      gap: 16px;
    }

    .positions-card {
      overflow: hidden;
      border-radius: var(--radius-card);
      background: var(--surface-0);
    }

    .positions-definitions-sheet .bottom-sheet,
    .accounts-definitions-sheet .bottom-sheet {
      height: calc(100% - 48px);
    }

    .positions-definitions-content,
    .accounts-definitions-content {
      max-height: calc(100% - 36px);
      padding: 4px 16px 36px;
    }

    .positions-definitions-content .sheet-copy-block,
    .accounts-definitions-content .sheet-copy-block {
      padding: 12px 0 14px;
    }

    .positions-definitions-content .sheet-copy-block + .sheet-copy-block,
    .accounts-definitions-content .sheet-copy-block + .sheet-copy-block {
      border-top: 1px solid var(--stroke-hairline);
    }

    .definition-formula {
      display: block;
      margin-top: 6px;
      color: var(--text-minor);
      font-size: 12px;
      line-height: 17px;
      font-style: italic;
    }

    .estimated-income-card,
    .estimated-income-info,
    .estimated-income-callout {
      border-radius: var(--radius-card);
      background: var(--surface-0);
    }

    .estimated-income-card {
      overflow: hidden;
    }

    .estimated-income-header,
    .estimated-income-period,
    .estimated-income-row,
    .estimated-income-info {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: start;
    }

    .estimated-income-header {
      padding: 12px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      font-size: 17px;
      line-height: 22px;
      font-weight: 600;
    }

    .estimated-income-header .linkish {
      gap: 4px;
      font-size: 12px;
      line-height: 16px;
      font-weight: 600;
    }

    .estimated-income-chart {
      padding: 14px 16px 12px;
    }

    .estimated-income-period {
      margin-bottom: 12px;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
    }

    .estimated-income-period strong {
      color: var(--text-main);
      font-weight: 400;
    }

    .income-chart-plot {
      display: grid;
      grid-template-columns: 34px 1fr;
      gap: 8px;
      height: 132px;
    }

    .income-chart-axis {
      display: grid;
      grid-template-rows: repeat(4, 1fr);
      align-items: start;
      color: var(--text-minor);
      font-size: 10px;
      line-height: 13px;
    }

    .income-chart-area {
      position: relative;
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      align-items: end;
      gap: 8px;
      padding-top: 2px;
      border-bottom: 1px solid var(--stroke-accent);
      background:
        linear-gradient(to bottom, var(--stroke-accent) 1px, transparent 1px) 0 0 / 100% 33.333%;
    }

    .income-chart-bar-wrap {
      display: grid;
      justify-items: center;
      gap: 4px;
    }

    .income-chart-bar {
      width: 11px;
      min-height: 3px;
      border-radius: 2px 2px 0 0;
      background: #48aeca;
    }

    .income-chart-month {
      color: var(--text-minor);
      font-size: 10px;
      line-height: 13px;
    }

    .estimated-income-table {
      padding: 0 16px;
    }

    .estimated-income-table-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      padding: 12px 0 8px;
      color: var(--text-minor);
      font-size: 12px;
      line-height: 16px;
    }

    .estimated-income-row {
      width: 100%;
      min-height: 58px;
      padding: 10px 0;
      border-top: 1px solid var(--stroke-hairline);
      text-align: left;
      font-size: 17px;
      line-height: 22px;
    }

    .estimated-income-row-main {
      min-width: 0;
    }

    .estimated-income-row-account,
    .estimated-income-row-mask {
      display: block;
    }

    .estimated-income-row-mask {
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
    }

    .estimated-income-row-value {
      min-width: 74px;
      text-align: right;
    }

    .estimated-income-yield {
      display: block;
      font-size: 15px;
      line-height: 18px;
    }

    .estimated-income-info {
      padding: 16px;
    }

    .estimated-income-info h3,
    .estimated-income-info p,
    .estimated-income-callout p {
      margin: 0;
    }

    .estimated-income-info h3 {
      grid-column: 1 / -1;
      font-size: 17px;
      line-height: 22px;
    }

    .estimated-income-info p,
    .estimated-income-callout p {
      grid-column: 1 / -1;
      font-size: 15px;
      line-height: 20px;
    }

    .estimated-income-info p + p {
      margin-top: 14px;
    }

    .estimated-income-callout {
      display: grid;
      grid-template-columns: 24px 1fr;
      gap: 12px;
      padding: 16px;
      background: #f1f7ff;
    }

    .estimated-income-callout .info-dot {
      width: 20px;
      height: 20px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: var(--primary);
      color: var(--surface-0);
      font-size: 13px;
      font-weight: 700;
    }

    .realized-card {
      overflow: hidden;
      border-radius: var(--radius-card);
      background: var(--surface-0);
    }

    .realized-card-header {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: start;
      padding: 12px 16px 8px;
      border-bottom: 1px solid var(--stroke-accent);
    }

    .realized-account-title {
      font-size: 17px;
      line-height: 22px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .realized-account-mask,
    .realized-total-label,
    .realized-row-subtitle,
    .realized-row-date {
      display: block;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .realized-total {
      text-align: right;
      font-size: 17px;
      line-height: 22px;
    }

    .realized-total-label {
      text-transform: uppercase;
    }

    .realized-row {
      width: 100%;
      min-height: 64px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      padding: 10px 16px;
      background: var(--surface-0);
      text-align: left;
    }

    .realized-row + .realized-row {
      border-top: 1px solid var(--stroke-hairline);
    }

    .realized-row-main {
      min-width: 0;
    }

    .realized-row-symbol,
    .realized-row-value {
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .realized-row-symbol,
    .realized-row-subtitle {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .realized-row-value {
      min-width: 82px;
      text-align: right;
    }

    .realized-empty {
      padding: 12px 16px 18px;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
    }

    .balances-content {
      background: var(--surface-3);
    }

    .balances-tabs {
      grid-template-columns: repeat(2, 1fr);
      padding-top: 10px;
      padding-bottom: 10px;
      border-top: 0;
    }

    .balances-body {
      display: grid;
      gap: 16px;
      padding: 0px 16px 36px;
    }

    .balances-total {
      display: grid;
      justify-items: center;
      gap: 4px;
      padding: 16px;
      background: var(--surface-0);
      text-align: center;
      margin: 0px -16px;
    }

    .balances-as-of,
    .balances-total-label {
      color: var(--text-minor);
      font-size: 12px;
      line-height: 16px;
    }

    .balances-total-label {
      text-transform: uppercase;
      font-weight: 600;
    }

    .balances-total-value {
      font-size: 28px;
      line-height: 34px;
      letter-spacing: -0.03em;
    }

    .balances-verification {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      margin-top: 6px;
      color: var(--primary);
      font-size: 15px;
      line-height: 20px;
      font-weight: 600;
    }

    .balances-card {
      overflow: hidden;
      border-radius: var(--radius-card);
      background: var(--surface-0);
      padding: 16px;
    }

    .balances-card.full-bleed {
      margin: 0 -16px;
      border-radius: 0;
      padding: 16px 28px;
    }

    .balances-card-header,
    .balances-row,
    .balances-history-header,
    .balances-history-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: start;
    }

    .balances-card-header {
      display: block;
      padding: 0 0 8px;
      border-bottom: 1px solid var(--stroke-accent);
      font-size: 20px;
      line-height: 25px;
      font-weight: 590;
      letter-spacing: -0.02em;
    }

    .balances-card-header.compact {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
    }

    .balances-card-title.with-dot {
      position: relative;
      padding-left: 16px;
    }

    .balances-card-title.with-dot::before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: #5A6C84;
      transform: translateY(-50%);
    }

    .balances-row {
      min-height: 30px;
      padding: 10px 0;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
      border-bottom: 1px solid var(--stroke-hairline);
    }

    .balances-row:last-child {
      border-bottom: 0;
    }

    .balances-row.summary {
      padding-top: 8px;
      font-weight: 590;
    }

    .balances-row.group {
      font-weight: 590;
    }

    .balances-row.group:not(:first-child) {
      border-top: 1px solid var(--stroke-accent);
      margin-top: -1px;
    }

    .balances-row.child {
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .balances-row.subsection {
      padding-left: 16px;
    }

    .balances-row.subchild {
      padding-left: 16px;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .balances-row.summary .balances-label {
      color: var(--text-minor);
    }

    .balances-row.summary .balances-value {
      color: var(--text-main);
      font-size: 20px;
      line-height: 25px;
      font-weight: 590;
    }

    .balances-row.group .balances-label,
    .balances-row.group .balances-value,
    .balances-card-header .balances-value {
      color: var(--text-main);
      font-weight: 590;
    }

    .balances-section-heading {
      padding: 8px 0 4px 16px;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      font-weight: 590;
      letter-spacing: -0.02em;
    }

    .balances-section-heading.regular {
      padding-left: 0;
      font-size: 17px;
      line-height: 22px;
      font-weight: 400;
    }

    .balances-card-section {
      display: grid;
    }

    .balances-card-section.nested {
      padding-left: 16px;
      padding-bottom: 8px;
    }

    .balances-label {
      min-width: 0;
      color: var(--text-minor);
    }

    .balances-label.with-info {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .balances-info-icon {
      width: 16px;
      height: 16px;
      color: var(--primary);
      flex: 0 0 auto;
    }

    .balances-value {
      color: var(--text-main);
      text-align: right;
      white-space: nowrap;
    }

    .balances-card-section + .balances-card-section {
      padding-top: 0;
    }

    .balances-history-header {
      padding: 0 0 8px;
      border-bottom: 1px solid var(--stroke-accent);
    }

    .balances-history-name {
      font-size: 20px;
      line-height: 25px;
      font-weight: 590;
      letter-spacing: -0.02em;
    }

    .balances-history-mask,
    .balances-history-date,
    .balances-history-label {
      color: var(--text-minor);
      font-size: 12px;
      line-height: 16px;
    }

    .balances-history-total {
      text-align: right;
      font-size: 20px;
      line-height: 25px;
      font-weight: 590;
      letter-spacing: -0.02em;
    }

    .balances-history-row {
      padding: 10px 0;
      border-bottom: 1px solid var(--stroke-hairline);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .balances-history-row + .balances-history-row {
      border-top: 0;
    }

    .balances-history-row:last-child {
      border-bottom: 0;
    }

    .balances-disclaimer {
      color: var(--text-minor);
      font-size: 12px;
      line-height: 16px;
    }

    .balances-filter-sheet .bottom-sheet {
      min-height: calc(100% - 60px);
      background: var(--surface-1);
    }

    .balances-filter-options {
      overflow: hidden;
      border-radius: 8px;
      background: var(--surface-0);
    }

    .balances-filter-option {
      width: 100%;
      min-height: 48px;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      border-top: 1px solid var(--stroke-accent);
      font-size: 17px;
      line-height: 22px;
      text-align: left;
    }

    .balances-filter-option:first-child {
      border-top: 0;
    }

    .positions-section-header {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: start;
      padding: 12px 16px 8px;
      border-bottom: 1px solid var(--stroke-accent);
    }

    .positions-section-title {
      font-size: 17px;
      line-height: 22px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .positions-section-meta,
    .positions-section-total-label {
      color: var(--text-minor);
      font-size: 12px;
      line-height: 16px;
    }

    .positions-section-total {
      text-align: right;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .position-row {
      width: 100%;
      min-height: 64px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto 10px;
      gap: 10px;
      align-items: center;
      padding: 10px 16px;
      background: var(--surface-0);
      text-align: left;
    }

    .position-row + .position-row {
      border-top: 1px solid var(--stroke-hairline);
    }

    .position-symbol {
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .position-name,
    .position-account {
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .position-name {
      display: -webkit-box;
      overflow: hidden;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .position-trailing {
      min-width: 78px;
      text-align: right;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .position-change {
      display: block;
      font-size: 15px;
      line-height: 20px;
    }

    .positions-footnote,
    .position-detail-footnote {
      padding: 8px 0 0 4px;
      color: var(--text-minor);
      font-size: 12px;
      line-height: 16px;
    }

    .position-detail-title {
      padding: 16px 16px 12px;
      background: var(--surface-0);
      text-align: center;
    }

    .position-detail-symbol {
      font-size: 22px;
      line-height: 28px;
      letter-spacing: -0.02em;
    }

    .position-detail-name {
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
    }

    .position-tabs {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      background: var(--surface-0);
      border-bottom: 1px solid var(--stroke-hairline);
    }

    .position-tab {
      min-height: 44px;
      display: grid;
      place-items: center;
      border-bottom: 3px solid transparent;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      font-weight: 600;
    }

    .position-tab.active {
      border-bottom-color: var(--primary);
      color: var(--text-main);
    }

    .position-detail-body {
      display: grid;
      gap: 12px;
      padding: 32px 12px 16px;
      background: var(--surface-3);
    }

    .position-detail-panel {
      display: none;
    }

    .position-detail-panel.active {
      display: grid;
      gap: 12px;
    }

    .position-detail-card {
      overflow: hidden;
      border-radius: var(--radius-card);
      background: var(--surface-0);
    }

    .position-detail-row {
      display: grid;
      grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1fr);
      gap: 12px;
      align-items: start;
      padding: 12px 16px;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .position-detail-row + .position-detail-row {
      border-top: 1px solid var(--stroke-hairline);
    }

    .position-detail-label {
      color: var(--text-minor);
    }

    .position-detail-value {
      text-align: right;
    }

    .position-card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding: 12px 16px 8px;
      border-bottom: 1px solid var(--stroke-accent);
      font-size: 17px;
      line-height: 22px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .position-by-account-card {
      padding: 16px 16px 4px;
      overflow: hidden;
    }

    .position-by-account-card .card-header {
      padding-bottom: 8px;
      border-bottom: 0;
      min-height: 0;
    }

    .position-by-account-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) max-content;
      gap: 12px;
      align-items: start;
      padding: 12px 0;
      border-top: 1px solid var(--stroke-accent);
    }

    .position-by-account-shares {
      color: var(--text-main);
      font-size: 15px;
      line-height: 20px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .position-by-account-value {
      font-size: 15px;
      line-height: 20px;
      font-weight: 600;
      text-align: right;
      letter-spacing: -0.02em;
    }

    .position-detail-panel .recent-activity-card {
      margin-bottom: 0;
    }

    .cost-basis-segments {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0;
      padding: 0 8px 12px;
    }

    .cost-basis-segment {
      min-height: 32px;
      display: grid;
      place-items: center;
      background: #e5e7eb;
      font-size: 14px;
      line-height: 28px;
    }

    .cost-basis-segment:first-child {
      border-radius: 6px 0 0 6px;
    }

    .cost-basis-segment:last-child {
      border-radius: 0 6px 6px 0;
    }

    .cost-basis-segment.active {
      background: var(--surface-0);
      box-shadow: inset 0 0 0 1px var(--stroke-hairline);
    }

    .cost-basis-help {
      padding: 0 8px 8px;
      font-size: 16px;
      line-height: 22px;
    }

    .cost-basis-table-wrap {
      overflow-x: auto;
      margin: 0 -8px;
      background: var(--surface-0);
      -webkit-overflow-scrolling: touch;
    }

    .cost-basis-table {
      width: 620px;
      border-collapse: collapse;
      font-size: 15px;
      line-height: 20px;
    }

    .cost-basis-table th,
    .cost-basis-table td {
      padding: 8px 10px;
      border-bottom: 1px solid var(--stroke-hairline);
      text-align: right;
      white-space: nowrap;
    }

    .cost-basis-table th:first-child,
    .cost-basis-table td:first-child {
      position: sticky;
      left: 0;
      z-index: 1;
      text-align: left;
      background: var(--surface-0);
      box-shadow: 2px 0 4px rgba(12, 12, 12, 0.12);
    }

    .cost-basis-table th {
      color: #5f7085;
      font-size: 13px;
      line-height: 18px;
      font-weight: 500;
      text-transform: uppercase;
    }

    .optional {
      color: var(--text-minor);
      font-style: italic;
    }

    .text-input,
    .static-field {
      width: 100%;
      min-height: 48px;
      border: 1px solid var(--stroke-main);
      border-radius: 5px;
      background: var(--surface-0);
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
    }

    .text-input {
      padding: 12px;
      outline: 0;
    }

    .text-input::placeholder {
      color: #7a838d;
    }

    .text-input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(31, 96, 224, 0.14);
    }

    .static-field {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 12px;
      color: var(--text-main);
    }

    .radio-card {
      overflow: hidden;
      border: 1px solid var(--stroke-accent);
      border-radius: 8px;
      background: var(--surface-0);
    }

    .radio-row {
      display: flex;
      align-items: center;
      gap: 14px;
      min-height: 48px;
      padding: 12px;
      border-bottom: 1px solid var(--stroke-accent);
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      font-weight: 500;
    }

    .radio-row:last-child {
      border-bottom: 0;
    }

    .radio-row input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .radio-dot {
      position: relative;
      width: 20px;
      height: 20px;
      flex: 0 0 auto;
      border: 2px solid var(--text-minor);
      border-radius: 50%;
    }

    .radio-row:has(input:checked) {
      background: var(--primary-bg);
    }

    .radio-row input:checked + .radio-dot {
      border-color: var(--primary);
    }

    .radio-row input:checked + .radio-dot::after {
      content: "";
      position: absolute;
      inset: 4px;
      border-radius: 50%;
      background: var(--primary);
    }

    .form-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      padding: 12px 16px 36px;
    }

    .btn {
      height: 48px;
      display: inline-grid;
      place-items: center;
      border-radius: 6px;
      font-size: 17px;
      line-height: 22px;
      font-weight: 750;
    }

    .btn-tertiary {
      color: var(--primary);
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
    }

    .btn-primary:active {
      background: var(--primary-pressed);
    }

    .balance-letter-content {
      background: var(--surface-3);
    }

    .balance-letter-intro {
      padding: 22px 16px;
      background: var(--surface-0);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .balance-letter-section {
      display: grid;
      gap: 10px;
      padding: 22px 16px 0;
    }

    .balance-letter-title {
      margin: 0;
      font-size: 22px;
      line-height: 27px;
      font-weight: 750;
      letter-spacing: -0.03em;
    }

    .balance-letter-copy {
      margin: 0;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .balance-letter-radio .radio-row {
      align-items: flex-start;
    }

    .balance-letter-radio-main {
      display: grid;
      gap: 2px;
    }

    .balance-letter-radio-subtitle,
    .balance-letter-account-meta,
    .balance-letter-field-note {
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      font-weight: 400;
      letter-spacing: -0.02em;
    }

    .balance-letter-threshold {
      display: grid;
      gap: 8px;
      margin: 8px 0 0 34px;
    }

    .balance-letter-currency {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      gap: 6px;
      min-height: 48px;
      border: 1px solid var(--stroke-main);
      border-radius: 5px;
      background: var(--surface-0);
      padding: 0 12px;
      font-size: 17px;
      line-height: 22px;
      font-weight: 400;
    }

    .balance-letter-currency input {
      min-width: 0;
      width: 100%;
      border: 0;
      outline: 0;
      background: transparent;
      color: var(--text-main);
      font: inherit;
    }

    .balance-letter-select-all {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-height: 44px;
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      text-align: left;
    }

    .balance-letter-check {
      width: 20px;
      height: 20px;
      display: inline-grid;
      place-items: center;
      flex: 0 0 auto;
      border: 2px solid var(--text-minor);
      border-radius: 2px;
      color: #fff;
      background: var(--surface-0);
    }

    .balance-letter-check.checked,
    .balance-letter-check.indeterminate {
      border-color: var(--primary);
      background: var(--primary);
    }

    .balance-letter-check.checked::after {
      content: "";
      width: 10px;
      height: 6px;
      border-left: 2px solid currentColor;
      border-bottom: 2px solid currentColor;
      transform: rotate(-45deg) translate(1px, -1px);
    }

    .balance-letter-check.indeterminate::after {
      content: "";
      width: 10px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
    }

    .balance-letter-account-list {
      overflow: hidden;
      border: 1px solid var(--stroke-accent);
      border-radius: 8px;
      background: var(--surface-0);
    }

    .balance-letter-account-row {
      width: 100%;
      display: grid;
      grid-template-columns: 20px minmax(0, 1fr);
      gap: 14px;
      align-items: center;
      padding: 12px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
      text-align: left;
    }

    .balance-letter-account-row:last-child {
      border-bottom: 0;
    }

    .balance-letter-account-row.selected {
      background: var(--primary-bg);
    }

    .balance-letter-account-name {
      display: block;
      font-size: 17px;
      line-height: 22px;
      font-weight: 750;
      letter-spacing: -0.02em;
    }

    .balance-letter-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      padding: 24px 16px 32px;
      margin-top: auto;
    }

    .balance-letter-form {
      display: grid;
      gap: 14px;
      padding: 22px 16px 0;
    }

    .balance-letter-success {
      display: grid;
      gap: 16px;
      justify-items: center;
      padding: 24px 16px 24px;
      text-align: center;
    }

    .balance-letter-success-icon {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #198A22;
      color: #fff;
    }

    .balance-letter-preview {
      margin: 8px 16px 0;
      /*-
      background: var(--surface-0);
      box-shadow: 0 2px 8px rgba(12, 12, 12, 0.18);-*/
    }

    .balance-letter-preview-image {
      display: block;
      width: 100%;
      height: auto;
    }

    .balance-letter-preview-header {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--stroke-main);
    }

    .balance-letter-preview-logo {
      font-family: Georgia, serif;
      font-size: 15px;
      color: #23385B;
    }

    .balance-letter-preview-address {
      text-align: right;
      font-size: 6px;
    }

    .balance-letter-preview-table {
      width: 60%;
      margin: 8px auto;
      border-collapse: collapse;
      font-size: 7px;
    }

    .balance-letter-preview-table th,
    .balance-letter-preview-table td {
      padding: 2px 4px;
      border-bottom: 1px solid var(--stroke-hairline);
      text-align: left;
    }

    .balance-letter-ready-copy {
      padding: 16px;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
      margin: 8px 0px -16px;
    }

    .balance-share-backdrop {
      position: absolute;
      inset: 0;
      z-index: 70;
      display: none;
      align-items: flex-end;
      background: rgba(54, 61, 74, 0.62);
    }

    .balance-share-backdrop.active {
      display: flex;
    }

    .balance-share-sheet {
      width: 100%;
      display: grid;
      gap: 14px;
      padding: 12px 12px 24px;
      border-radius: 16px 16px 0 0;
      background: #F2F3F5;
      box-shadow: 0 -8px 24px rgba(12, 12, 12, 0.18);
    }

    .balance-share-file {
      display: grid;
      grid-template-columns: 36px minmax(0, 1fr) 28px;
      gap: 12px;
      align-items: center;
    }

    .balance-share-file-icon {
      width: 36px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 4px;
      background: #68788C;
      color: #fff;
    }

    .balance-share-file-title {
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .balance-share-file-meta {
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
    }

    .balance-share-close {
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #DDE2EA;
      color: #627082;
      font-size: 24px;
      line-height: 1;
    }

    .balance-share-apps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      text-align: center;
      font-size: 12px;
      line-height: 16px;
    }

    .balance-share-app-icon {
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      margin: 0 auto 4px;
      border-radius: 14px;
      color: #fff;
      font-size: 26px;
      font-weight: 700;
    }

    .balance-share-option {
      min-height: 54px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 28px;
      align-items: center;
      gap: 12px;
      padding: 0 14px;
      border-radius: 10px;
      background: var(--surface-0);
      font-size: 20px;
      line-height: 25px;
      text-align: left;
    }

    .faq-intro {
      padding: 16px;
      font-size: 17px;
      line-height: 22px;
    }

    .faq-item {
      padding: 12px 16px;
      display: grid;
      gap: 10px;
    }

    .faq-question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: var(--primary);
      font-size: 17px;
      line-height: 22px;
      font-weight: 500;
    }

    .faq-answer {
      padding: 0 8px 8px;
      font-size: 17px;
      line-height: 22px;
    }

    .cma-summary-actions {
      padding-bottom: 12px;
    }

    .cma-metrics {
      padding: 12px 32px 16px;
      display: grid;
      gap: 4px;
      background: var(--surface-0);
    }

    .cma-metric-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
    }

    .cma-metric-row strong {
      color: var(--text-main);
      font-weight: 400;
    }

    .cma-metric-label {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .cma-metric-info-button {
      width: 22px;
      height: 22px;
      display: inline-grid;
      place-items: center;
      padding: 0;
      border: 0;
      background: transparent;
      color: var(--primary);
      cursor: pointer;
    }

    [data-screen="account"] .tab-body > .section-pad:first-child {
      padding-top: 16px;
    }

    [data-screen="account-detail"] .account-summary {
      margin-bottom: 8px;
    }

    .cma-list-card .activity-row {
      grid-template-columns: minmax(0, 1fr) max-content auto;
      gap: 12px;
      align-items: center;
      border-top: 1px solid var(--stroke-accent);
    }

    button.activity-row {
      width: 100%;
      border: 0;
      background: transparent;
      color: inherit;
      font: inherit;
      text-align: left;
      cursor: pointer;
    }

    .cma-list-card .activity-row:first-of-type {
      border-top: 1px solid var(--stroke-accent);
    }

    .cma-list-card .recent-activity-subhead {
      display: grid;
      grid-template-columns: minmax(0, 1fr) max-content auto;
      gap: 12px;
      align-items: center;
    }

    .cma-list-card .recent-activity-subhead span:nth-child(2) {
      text-align: right;
    }

    .cma-list-card .recent-activity-subhead-spacer {
      width: 8px;
    }

    .cma-list-card .activity-trailing {
      text-align: right;
    }

    .cma-list-card .activity-trailing .positive,
    .cma-list-card .activity-trailing .negative,
    .cma-list-card .activity-trailing .muted {
      font-size: 15px;
      line-height: 20px;
      white-space: nowrap;
    }

    .cma-service-row {
      min-height: 48px;
      padding: 12px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border-bottom: 1px solid var(--stroke-hairline);
      font-size: 17px;
      line-height: 22px;
    }

    .cma-service-row:last-child {
      border-bottom: 0;
    }

    .cma-service-label {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--text-minor);
    }

    .cma-service-value {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      text-align: right;
      min-width: 0;
    }

    .cma-icon-button,
    .cma-copy-button {
      width: 24px;
      height: 24px;
      display: inline-grid;
      place-items: center;
      color: var(--primary);
    }

    .cma-copy-button {
      width: 20px;
      height: 20px;
    }

    .cma-service-action {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      color: var(--primary);
      font-size: 15px;
      line-height: 20px;
      font-weight: 500;
      text-align: right;
    }

    .cma-service-note {
      max-width: 192px;
    }

    .cma-service-note .small-text {
      display: block;
      margin-top: 2px;
      font-size: 12px;
      line-height: 16px;
    }

    .faq-question {
      width: 100%;
      padding: 0;
      text-align: left;
    }

    .faq-item .faq-answer {
      display: none;
    }

    .faq-item.expanded .faq-answer {
      display: block;
    }

    .faq-item .faq-question .icon {
      transform: rotate(180deg);
      transition: transform 160ms ease;
    }

    .faq-item.expanded .faq-question .icon {
      transform: rotate(0deg);
    }

    .app-snackbar {
      position: absolute;
      z-index: 45;
      left: 16px;
      right: 16px;
      bottom: calc(var(--bottom-nav-height) + 18px);
      min-height: 48px;
      padding: 14px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border-radius: 6px;
      background: #32363f;
      color: #fff;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
      font-size: 14px;
      line-height: 20px;
      opacity: 0;
      transform: translateY(12px);
      pointer-events: none;
      transition: opacity 180ms ease, transform 180ms ease;
    }

    .app-snackbar.active {
      opacity: 1;
      transform: translateY(0);
    }

    .login-shell {
      height: 100%;
      display: grid;
      grid-template-rows: auto 1fr auto;
      background: var(--surface-0);
    }

    .login-logo-wrap {
      height: 120px;
      display: grid;
      place-items: center;
    }

    .brand-logo {
      max-width: 236px;
      height: auto;
    }

    .login-form {
      padding: 16px;
      display: grid;
      gap: 16px;
      align-content: start;
    }

    .login-actions {
      display: grid;
      gap: 8px;
    }

    .login-footer {
      display: grid;
      gap: 8px;
      padding: 16px;
      background: var(--surface-3);
      color: var(--text-minor);
      font-size: 13px;
      line-height: 18px;
    }

    .footer-topline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: var(--text-main);
    }

    .legal-links {
      border-top: 1px solid var(--stroke-accent);
      padding-top: 8px;
      color: var(--primary);
      font-weight: 600;
    }

    .overview-hero {
      background: #003768;
      color: #fff;
      text-align: center;
      padding: 24px 20px 24px;
    }

    .overview-hero-actions {
      display: flex;
      justify-content: center;
      gap: 16px;
      padding: 8px 0 8px;
    }

    .overview-hero-actions .action-chip {
      background: transparent;
      color: #fff;
      box-shadow: none;
    }

    .overview-hero-actions .action-chip .icon {
      color: #fff;
    }

    .overview-brand {
      display: grid;
      justify-items: center;
      gap: 8px;
      padding: 0 20px 8px;
      background: var(--surface-0);
    }

    .overview-toolbar {
      height: 44px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 4px;
      background: var(--surface-0);
    }

    .overview-tagline {
      margin: 0;
      color: var(--text-main);
      font-size: 13px;
      line-height: 18px;
    }

    .total-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 16px;
      line-height: 21px;
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    .total-value {
      margin-top: 4px;
      margin-bottom: 6px;
      font-size: 28px;
      line-height: 34px;
      font-weight: 750;
    }

    .overview-card-lift {
      position: relative;
      margin-top: -36px;
    }

    .overview-accounts-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin: 0 16px;
      padding: 16px 0 12px;
      border-bottom: 1px solid var(--stroke-accent);
    }

    .overview-accounts-heading {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .overview-accounts-heading .card-title {
      margin: 0;
    }

    .overview-accounts-info-button {
      width: 22px;
      height: 22px;
      display: inline-grid;
      place-items: center;
      padding: 0;
      border: 0;
      background: transparent;
      color: var(--primary);
      cursor: pointer;
    }

    .overview-accounts-toggle {
      flex-shrink: 0;
      display: inline-grid;
      place-items: center;
      width: 32px;
      height: 32px;
      margin: -6px -8px -6px 0;
      padding: 0;
      border: 0;
      background: transparent;
      color: var(--primary);
      cursor: pointer;
    }

    .overview-accounts-chevron {
      flex-shrink: 0;
      color: currentColor;
      transition: transform 0.2s ease;
    }

    .overview-accounts-toggle[aria-expanded="true"] .overview-accounts-chevron {
      transform: rotate(180deg);
    }

    button.portfolio-account {
      position: relative;
      width: 100%;
      display: block;
      padding: 16px;
      text-align: left;
      border: 0;
      background: transparent;
      cursor: pointer;
      font: inherit;
      color: inherit;
    }

    .overview-accounts > .portfolio-account:not(:first-child)::before,
    .overview-accounts > .portfolio-accounts-total::before {
      content: "";
      position: absolute;
      top: 0;
      left: 16px;
      right: 16px;
      border-top: 1px solid var(--stroke-accent);
    }

    .overview-accounts > .portfolio-accounts-total::before {
      border-top-color: var(--stroke-main);
    }

    .portfolio-account-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 8px;
    }

    .overview-accounts--condensed .portfolio-account-header {
      margin-bottom: 0;
    }

    .portfolio-account-name-row {
      min-width: 0;
      flex: 1;
    }

    .portfolio-account-trailing {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .portfolio-account-condensed-value {
      display: none;
      font-size: 17px;
      line-height: 22px;
      color: var(--text-main);
      white-space: nowrap;
    }

    .overview-accounts--condensed .portfolio-account-condensed-value {
      display: block;
    }

    .overview-accounts--condensed .portfolio-account-mask {
      display: none;
    }

    .overview-accounts--condensed .portfolio-account-details {
      display: none;
    }

    .overview-accounts--condensed .portfolio-accounts-total .portfolio-account-details {
      display: none;
    }

    .overview-accounts--condensed .portfolio-total-header {
      margin-bottom: 0;
    }

    .portfolio-account-title {
      display: inline;
      font-size: 17px;
      line-height: 22px;
      color: var(--text-main);
    }

    .portfolio-account-title--dot {
      display: block;
      position: relative;
      padding-left: 16px;
    }

    .portfolio-account-dot {
      position: absolute;
      left: 0;
      top: 7px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--stroke-main);
    }

    .portfolio-account-name-text {
      font-size: inherit;
      line-height: inherit;
      color: inherit;
    }

    .portfolio-account-mask {
      font-size: 13px;
      line-height: 18px;
      color: var(--text-minor);
    }

    .portfolio-account-name-end {
      white-space: nowrap;
    }

    .portfolio-account-title .badge {
      margin: 0 4px;
      vertical-align: baseline;
    }

    .portfolio-account-chevron {
      flex-shrink: 0;
    }

    .portfolio-account-details {
      display: grid;
      gap: 2px;
      padding-right: 26px;
    }

    .portfolio-detail-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 20px;
    }

    .portfolio-detail-label {
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
    }

    .portfolio-detail-value {
      text-align: right;
      font-size: 15px;
      line-height: 20px;
      color: var(--text-main);
    }

    .portfolio-detail-value.emphasis {
      font-size: 17px;
      line-height: 22px;
    }

    .portfolio-detail-value.positive {
      color: var(--success);
    }

    .portfolio-detail-value.negative {
      color: var(--error);
    }

    .portfolio-detail-value.muted {
      color: var(--text-minor);
    }

    .portfolio-accounts-total {
      position: relative;
      padding: 16px;
    }

    .portfolio-total-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 8px;
    }

    .portfolio-total-title,
    .portfolio-total-value {
      font-size: 17px;
      line-height: 22px;
      font-weight: 600;
      color: var(--text-main);
    }

    .recent-activity-subhead {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding-bottom: 8px;
      color: var(--text-minor);
      font-size: 13px;
      line-height: 18px;
    }

    .recent-activity-card .card-header {
      padding-bottom: 8px;
      border-bottom: 0;
      min-height: 0;
    }

    .recent-activity-card .recent-activity-subhead + .activity-row {
      border-top: 1px solid var(--stroke-accent);
    }

    .planner-summary {
      display: grid;
      gap: 16px;
    }

    .planner-title-row {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .planner-info-button {
      width: 22px;
      height: 22px;
      display: inline-grid;
      place-items: center;
      color: var(--primary);
    }

    .net-worth-bar {
      display: grid;
      grid-template-columns: minmax(0, 260px) 2px 1fr;
      height: 8px;
      overflow: hidden;
      border-radius: 999px;
    }

    .net-worth-bar span:nth-child(1) {
      background: var(--success);
    }

    .net-worth-bar span:nth-child(2) {
      background: var(--surface-0);
    }

    .net-worth-bar span:nth-child(3) {
      background: var(--error);
    }

    .success-ring {
      width: 100px;
      height: 100px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background:
        radial-gradient(circle at center, var(--surface-0) 0 31px, transparent 32px),
        conic-gradient(#16a0b6 0 79%, #abb0ba 79% 100%);
      color: #16a0b6;
      font-size: 22px;
      line-height: 28px;
      font-weight: 750;
    }

    .success-ring.empty {
      color: transparent;
    }

    .planner-metrics-row {
      display: grid;
      grid-template-columns: 100px minmax(0, 1fr) auto;
      gap: 16px;
      align-items: top;
      padding-top: 16px;
      border-top: 1px solid var(--stroke-accent);
    }

    .planner-metric-primary {
      font-size: 22px;
      line-height: 28px;
      letter-spacing: -0.02em;
    }

    .planner-metric-label {
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .financial-planning-content {
      background: var(--surface-3);
    }

    .financial-powered {
      padding: 10px 16px;
      background: var(--surface-3);
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      text-align: center;
    }

    .financial-body {
      display: grid;
      gap: 12px;
      padding: 12px 16px 24px;
    }

    .financial-card {
      border-radius: var(--radius-card);
      background: var(--surface-0);
      padding: 16px;
    }

    .financial-net-worth-value {
      margin-top: 4px;
      font-size: 28px;
      line-height: 34px;
      letter-spacing: -0.03em;
    }

    .financial-success-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 104px;
      gap: 16px;
      align-items: center;
    }

    .financial-goals-header {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      margin-top: 24px;
      margin-bottom: 8px;
    }

    .financial-goal-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      padding: 12px 0;
      border-top: 1px solid var(--stroke-hairline);
    }

    .financial-goal-row:first-of-type {
      border-top: 0;
    }

    .financial-read-more {
      margin-top: 8px;
    }

    .planning-overview-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 16px;
      align-items: center;
    }

    .recent-activity-card {
      padding: 16px 16px 0;
    }

    .activity-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      padding: 12px 0;
      border-top: 1px solid var(--stroke-hairline);
    }

    .activity-row:first-of-type {
      border-top: 0;
    }

    .activity-meta {
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
    }

    .activity-trailing {
      text-align: right;
      font-size: 17px;
      line-height: 22px;
    }

    .overview-link-card {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 12px 16px;
      text-align: left;
      box-shadow:
        0 2px 6px 2px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.18);
    }

    .overview-link-card + .overview-link-card {
      margin-top: 16px;
    }

    .overview-link-card .list-main {
      flex: 1 1 auto;
    }

    .advisor-avatar,
    .market-avatar {
      width: 40px;
      height: 40px;
      flex: 0 0 auto;
      border-radius: 999px;
    }

    .advisor-avatar {
      object-fit: cover;
    }

    .market-avatar {
      display: grid;
      place-items: center;
      background: #028299;
      color: #fff;
    }

    .broker-footer {
      padding: 24px 16px 36px;
      display: grid;
      justify-items: center;
      gap: 16px;
      color: var(--text-minor);
      font-size: 12px;
      line-height: 16px;
    }

    .broker-logo {
      width: 150px;
      height: auto;
    }

    .broker-footer-copy {
      display: grid;
      gap: 14px;
      width: 100%;
      text-align: left;
    }

    .broker-footer-copy p {
      margin: 0;
    }

    .broker-footer-copy .centered {
      text-align: center;
    }

    .broker-footer-copy .legal-link {
      color: var(--primary);
      font-weight: 600;
    }

    .bottom-sheet-backdrop {
      position: absolute;
      inset: 0;
      z-index: 30;
      display: flex;
      align-items: end;
      background: rgba(0, 0, 0, 0.26);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition:
        opacity 220ms ease,
        visibility 0s linear 220ms;
    }

    .bottom-sheet-backdrop.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transition-delay: 0s;
    }

    .bottom-sheet {
      width: 100%;
      max-height: calc(100% - 48px);
      overflow: hidden;
      border-radius: 28px 28px 0 0;
      background: var(--surface-0);
      box-shadow: 0 0 24px 6px rgba(0, 0, 0, 0.15);
      transform: translateY(100%);
      transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .bottom-sheet-backdrop.active .bottom-sheet {
      transform: translateY(0);
    }

    .bottom-sheet.surface-soft {
      background: var(--surface-1);
    }

    .sheet-handle {
      display: block;
      width: 32px;
      height: 4px;
      margin: 16px auto;
      padding: 0;
      border-radius: 999px;
      background: var(--stroke-main);
      opacity: 0.4;
    }

    .sheet-content {
      padding: 8px 16px 36px;
      overflow: auto;
    }

    .sheet-title {
      margin: 0;
      padding: 16px 16px 8px;
      font-size: 20px;
      line-height: 25px;
      font-weight: 600;
    }

    .sheet-copy-block {
      padding: 16px 0px;
    }

    .sheet-copy-block h3 {
      margin: 0 0 8px;
      font-size: 17px;
      line-height: 22px;
    }

    .sheet-copy-block p {
      margin: 0;
      font-size: 17px;
      line-height: 22px;
    }

    [data-sheet="financial-planning-info"] .bottom-sheet {
      height: calc(100% - 48px);
      display: flex;
      flex-direction: column;
    }

    .financial-planning-info-content {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .financial-planning-info-content .sheet-copy-block p {
      margin: 0 0 16px;
    }

    .financial-planning-info-content .sheet-copy-block p:last-child {
      margin: 0px;
    }

    .financial-planning-info-content .sheet-copy-block p.small-text {
      font-size: 12px;
      line-height: 16px;
    }

    .financial-planning-info-content .sheet-copy-block li {
      margin-bottom: 12px;
      line-height: 22px;
    }

    .layout-option {
      width: 100%;
      min-height: 48px;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      background: var(--surface-0);
      border-top: 1px solid var(--stroke-accent);
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      text-align: left;
    }

    .layout-option:first-child {
      border-top: 0;
    }

    .layout-option:active {
      background: var(--primary-bg);
    }

    .layout-option-text {
      flex: 1 1 auto;
      min-width: 0;
      display: grid;
      gap: 2px;
    }

    .layout-option-title {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .layout-option-subtitle {
      display: block;
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
    }

    .check-box {
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
      display: grid;
      place-items: center;
      border: 2px solid var(--text-minor);
      border-radius: 3px;
      color: #fff;
      padding-bottom: 3px;
    }

    .check-box.checked {
      border-color: var(--primary);
      background: var(--primary);
    }

    .check-box.checked::after {
      content: "";
      width: 9px;
      height: 5px;
      border-left: 2px solid #fff;
      border-bottom: 2px solid #fff;
      transform: rotate(-45deg);
    }

    .drag-lines {
      margin-left: auto;
      flex: 0 0 auto;
      width: 21px;
      height: 12px;
      background: repeating-linear-gradient(to bottom, var(--stroke-accent) 0 1px, transparent 1px 5px);
    }

    .customize-sheet {
      position: relative;
      height: calc(100% - 48px);
      display: flex;
      flex-direction: column;
    }

    .customize-sheet .sheet-handle {
      margin: 16px auto 20px;
    }

    .customize-sheet .sheet-title {
      padding: 0 16px 12px;
    }

    .customize-content {
      flex: 1 1 auto;
      min-height: 0;
      padding: 0 16px 128px;
    }

    .customize-section-title {
      margin: 0;
      padding: 24px 0 12px;
      font-size: 20px;
      line-height: 25px;
      font-weight: 600;
    }

    .customize-actions {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      padding: 24px;
      background: var(--surface-0);
      box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.04);
    }

    .btn-secondary-fill {
      background: #e8e9eb;
      color: var(--text-main);
    }

    .account-detail-title {
      padding: 0;
      background: var(--surface-0);
    }

    .account-detail-title .account-name {
      font-size: 20px;
      line-height: 25px;
    }

    .top-position-row {
      padding: 12px 0;
      border-top: 1px solid var(--stroke-accent);
    }

    .top-position-row:first-of-type {
      border-top: 0;
    }

    .transfer-intro {
      height: 100%;
      display: grid;
      align-content: start;
      gap: 22px;
      padding: 26px 24px 22px;
      background: var(--surface-0);
      text-align: center;
    }

    .transfer-intro h2 {
      margin: 0;
      font-size: 24px;
      line-height: 30px;
      font-weight: 750;
      letter-spacing: -0.03em;
    }

    .transfer-intro p {
      margin: 0;
      font-size: 17px;
      line-height: 23px;
      letter-spacing: -0.02em;
    }

    .mcd-intro {
      min-height: 100%;
      display: grid;
      align-content: start;
      justify-items: center;
      gap: 24px;
      padding: 40px 16px 32px;
      background: var(--surface-0);
      text-align: center;
    }

    .mcd-intro-copy {
      display: grid;
      gap: 16px;
      justify-items: center;
    }

    .mcd-intro h2 {
      margin: 0;
      font-size: 22px;
      line-height: 28px;
      font-weight: 750;
      letter-spacing: -0.02em;
    }

    .mcd-intro p {
      margin: 0;
      max-width: 286px;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .mcd-graphic {
      width: 390px;
      max-width: calc(100% + 32px);
      height: auto;
      display: block;
    }

    .mcd-steps {
      display: grid;
      gap: 10px;
      width: min(260px, 100%);
      margin: 0 0 12px;
      padding: 0;
      list-style: none;
      text-align: left;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .mcd-intro .btn {
      width: 100%;
      max-width: 342px;
    }

    .mcd-form-content {
      display: flex;
      flex-direction: column;
      background: var(--surface-3);
    }

    .mcd-form-content [hidden] {
      display: none !important;
    }

    .mcd-row-main {
      flex: 1 1 auto;
      min-width: 0;
      display: grid;
      gap: 2px;
    }

    .mcd-row-title {
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .mcd-amount-placeholder {
      color: #abb0ba;
    }

    .mcd-check-area {
      flex: 1 1 auto;
      display: grid;
      align-content: start;
      gap: 16px;
      padding: 16px 16px 24px;
      background: var(--surface-3);
    }

    .mcd-check-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 17px;
    }

    .mcd-check-tile {
      position: relative;
      min-height: 96px;
      display: grid;
      place-items: center;
      gap: 8px;
      padding: 18px 12px;
      border: 2px solid var(--primary);
      border-radius: 10px;
      background: var(--surface-0);
      color: var(--primary);
      font-size: 13px;
      line-height: 18px;
      letter-spacing: -0.02em;
    }

    .mcd-check-tile .icon {
      width: 32px;
      height: 28px;
      display: block;
    }

    .mcd-check-tile.is-captured {
      gap: 0;
      padding: 8px;
    }

    .mcd-check-tile.is-captured .icon,
    .mcd-check-tile.is-captured .mcd-check-label {
      display: none;
    }

    .mcd-check-tile:not(.is-captured) .mcd-check-thumbnail {
      display: none;
    }

    .mcd-check-thumbnail {
      width: 100%;
      aspect-ratio: 144 / 64;
      display: block;
      object-fit: cover;
      border-radius: 5px;
    }

    .mcd-help-text,
    .mcd-processing-note {
      margin: 0;
      color: var(--text-minor);
      font-size: 13px;
      line-height: 18px;
      letter-spacing: -0.02em;
    }

    .mcd-retirement-warning {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 12px 16px;
      border-radius: 8px;
      background: #fff3ca;
      box-shadow:
        0 2px 6px 2px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.30);
      color: var(--text-main);
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .mcd-retirement-warning .icon {
      width: 24px;
      height: 24px;
      flex: 0 0 auto;
    }

    .mcd-contribution-info {
      display: grid;
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .mcd-contribution-info p {
      margin: 0;
    }

    .mcd-contribution-info strong {
      font-weight: 650;
    }

    .mcd-check-area .transfer-actions {
      padding: 10px 0 0;
    }

    .mcd-review-content {
      background: var(--surface-3);
    }

    .mcd-review-content [hidden] {
      display: none !important;
    }

    .mcd-review-list .transfer-row {
      min-height: 52px;
      align-items: flex-start;
    }

    .mcd-review-list .transfer-row-trailing {
      max-width: 190px;
      text-align: right;
    }

    .mcd-review-image-row {
      min-height: 67px;
    }

    .mcd-review-thumbnail {
      width: 122px;
      height: 54px;
      display: block;
      object-fit: cover;
    }

    .mcd-review-actions {
      padding: 24px 16px;
    }

    .mcd-review-copy {
      display: grid;
      gap: 16px;
      padding: 0 16px 24px;
    }

    .mcd-footer-links {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 16px;
      padding: 10px 0 8px;
      color: var(--primary);
      font-size: 15px;
      line-height: 20px;
      font-weight: 650;
      letter-spacing: -0.02em;
    }

    .mcd-footer-links .divider {
      width: 1px;
      height: 16px;
      background: #abb0ba;
    }

    .mcd-footer-links .linkish {
      justify-content: center;
      font-size: 15px;
      line-height: 20px;
      font-weight: 650;
      letter-spacing: -0.02em;
    }

    .mcd-disclosure {
      margin: 0;
      color: var(--text-minor);
      font-size: 12px;
      line-height: 16px;
      letter-spacing: -0.02em;
      white-space: pre-line;
    }

    .mcd-capture-shell {
      display: block;
      overflow: hidden;
      background: #000;
    }

    .mcd-capture-landscape {
      position: relative;
      width: var(--device-height);
      height: var(--device-width);
      transform: rotate(90deg) translateY(-100%);
      transform-origin: top left;
      background: #000;
    }

    .mcd-capture-image {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }

    .mcd-capture-close {
      position: absolute;
      left: 8px;
      top: 8px;
      width: 40px;
      height: 40px;
      border-radius: 999px;
    }

    .mcd-capture-hitbox {
      position: absolute;
      border: 0;
      background: transparent;
    }

    .mcd-capture-hitbox.front {
      left: 154px;
      top: 75px;
      width: 512px;
      height: 220px;
    }

    .mcd-capture-hitbox.back {
      left: 149px;
      top: 68px;
      width: 545px;
      height: 242px;
    }

    .transfer-illustration {
      position: relative;
      width: 220px;
      height: 204px;
      margin: 0 auto;
      overflow: hidden;
      border-radius: 50%;
      background:
        radial-gradient(circle at 84% 50%, #6ee0bf 0 45px, transparent 46px),
        #004b92;
    }

    .transfer-illustration-image {
      width: 220px;
      height: 204px;
      display: block;
      margin: 0 auto;
      object-fit: contain;
    }

    .bill {
      position: absolute;
      width: 98px;
      height: 40px;
      border: 5px solid #30cba8;
      background: #7be9c9;
      box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12) inset;
    }

    .bill::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: 19px;
      height: 19px;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      background: #0caf8f;
    }

    .bill::after {
      content: "";
      position: absolute;
      right: -14px;
      top: 11px;
      width: 7px;
      height: 20px;
      border-top: 3px dotted #ff7226;
      border-bottom: 3px dotted #ff7226;
    }

    .bill.one {
      left: 0;
      top: 46px;
      transform: rotate(-1deg);
    }

    .bill.two {
      left: 86px;
      top: 38px;
      width: 110px;
      transform: rotate(-5deg);
    }

    .bill.three {
      left: 34px;
      top: 96px;
      transform: rotate(-3deg);
    }

    .bill.four {
      left: 122px;
      top: 88px;
      width: 110px;
      transform: rotate(-4deg);
    }

    .bill.five {
      left: 14px;
      top: 143px;
      transform: rotate(-3deg);
    }

    .bill.six {
      left: 102px;
      top: 132px;
      width: 96px;
      transform: rotate(-6deg);
    }

    .visual-checkbox-row {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      gap: 16px;
      margin: 0 auto;
      padding: 0;
      color: var(--text-main);
      font-size: 17px;
      line-height: 22px;
      text-align: left;
    }

    .visual-checkbox {
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      border: 1.5px solid #8d98a8;
      border-radius: 4px;
      background: var(--surface-0);
    }

    .visual-checkbox-row.selected .visual-checkbox {
      border-color: var(--primary);
      background: var(--primary);
    }

    .visual-checkbox-row.selected .visual-checkbox::after {
      content: "";
      width: 11px;
      height: 6px;
      border-left: 2px solid var(--surface-0);
      border-bottom: 2px solid var(--surface-0);
      transform: rotate(-45deg) translate(1px, -1px);
    }

    .transfer-segment-wrap {
      padding: 12px 16px;
      background: var(--surface-0);
    }

    .transfer-segments {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
      padding: 2px;
      border-radius: 7px;
      background: #e8e9eb;
    }

    .transfer-segment {
      min-height: 30px;
      display: grid;
      place-items: center;
      border-radius: 6px;
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .transfer-segment.active {
      background: var(--surface-0);
    }

    .transfer-spacer {
      height: 16px;
      background: var(--surface-3);
    }

    .transfer-list {
      background: var(--surface-0);
      border-bottom: 1px solid var(--stroke-accent);
    }

    .transfer-row {
      width: 100%;
      min-height: 48px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      text-align: left;
      font-size: 17px;
      line-height: 22px;
      letter-spacing: -0.02em;
    }

    .transfer-row:last-child {
      border-bottom: 0;
    }

    .transfer-row.error {
      color: var(--error);
    }

    .transfer-row-main {
      flex: 1 1 auto;
      min-width: 0;
    }

    .transfer-row-trailing {
      flex: 0 0 auto;
      text-align: right;
    }

    .transfer-chevron {
      width: 8px;
      height: 12px;
      display: inline-block;
      flex: 0 0 8px;
      color: var(--stroke-main);
      font-size: 0;
      line-height: 0;
      clip-path: polygon(17.5% 0, 92.5% 50%, 17.5% 100%, 0 88.333%, 57.5% 50%, 0 11.667%);
      background: currentColor;
    }

    .transfer-meta {
      color: var(--text-minor);
      font-size: 14px;
      line-height: 20px;
      letter-spacing: 0.01em;
    }

    .transfer-section-header {
      min-height: 36px;
      display: flex;
      align-items: center;
      padding: 8px 16px;
      border-top: 1px solid var(--stroke-accent);
      border-bottom: 1px solid var(--stroke-accent);
      background: #e8e9eb;
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .transfer-form-notes {
      display: grid;
      gap: 12px;
      padding: 12px 16px 16px;
      color: var(--text-minor);
      font-size: 13px;
      line-height: 18px;
      letter-spacing: -0.02em;
    }

    .transfer-available {
      display: grid;
      gap: 4px;
      color: var(--text-minor);
      font-size: 13px;
      line-height: 18px;
    }

    .transfer-available strong {
      color: var(--text-minor);
      font-size: 17px;
      line-height: 22px;
    }

    .transfer-error {
      display: none;
      align-items: flex-start;
      gap: 10px;
      padding: 12px 16px 10px;
      color: var(--error);
      font-size: 15px;
      line-height: 20px;
    }

    .transfer-error.active {
      display: flex;
    }

    .error-icon {
      width: 14px;
      height: 14px;
      flex: 0 0 auto;
      display: grid;
      place-items: center;
      margin-top: 3px;
      border-radius: 50%;
      background: var(--error);
      color: #fff;
      font-size: 11px;
      line-height: 1;
      font-weight: 750;
    }

    .transfer-warning {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      margin: 8px 16px 12px;
      padding: 14px 16px;
      border-radius: 7px;
      background: #fff3ca;
      box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.20),
        0 1px 2px rgba(0, 0, 0, 0.14);
      color: var(--text-minor);
      font-size: 13px;
      line-height: 18px;
    }

    .warning-icon {
      position: relative;
      width: 24px;
      height: 22px;
      flex: 0 0 auto;
      margin-top: 3px;
      clip-path: polygon(50% 0, 100% 100%, 0 100%);
      background: #b87505;
      color: #fff;
    }

    .warning-icon::after {
      content: "!";
      position: absolute;
      inset: 5px 0 0;
      text-align: center;
      font-size: 14px;
      line-height: 14px;
      font-weight: 800;
    }

    .transfer-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      padding: 0 16px 16px;
    }

    .transfer-actions.review-actions {
      grid-template-columns: 1fr;
      gap: 16px;
      padding-top: 10px;
    }

    .btn-primary[disabled],
    .btn-primary.disabled {
      opacity: 0.6;
      pointer-events: none;
    }

    .transfer-form-shell {
      position: relative;
    }

    .numeric-keypad {
      display: none;
      position: absolute;
      z-index: 30;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 8px 20px 12px;
      background: #c6c9cf;
      grid-template-columns: repeat(3, 1fr);
      gap: 7px;
      box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
    }

    .numeric-keypad.active {
      display: grid;
    }

    .keypad-key {
      min-height: 46px;
      display: grid;
      place-items: center;
      border-radius: 6px;
      background: var(--surface-0);
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.30);
      font-size: 24px;
      line-height: 24px;
    }

    .keypad-key span {
      display: block;
      margin-top: 2px;
      font-size: 9px;
      line-height: 9px;
      font-weight: 700;
    }

    .keypad-key.blank,
    .keypad-key.backspace {
      background: transparent;
      box-shadow: none;
    }

    .amount-entry-target {
      cursor: text;
      outline: 0;
    }

    .amount-entry-target:focus-visible {
      border-radius: 4px;
      box-shadow: 0 0 0 3px rgba(31, 96, 224, 0.18);
    }

    .transfer-success-backdrop {
      position: absolute;
      inset: 0;
      z-index: 25;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(38, 45, 54, 0.58);
    }

    .transfer-success-backdrop.active {
      display: flex;
    }

    .transfer-success-modal {
      width: 100%;
      display: grid;
      gap: 20px;
      padding: 36px 16px 24px;
      border-radius: 7px;
      background: var(--surface-0);
      box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
      text-align: center;
    }

    .mcd-success-modal .success-check {
      width: 36px;
      height: 36px;
    }

    .mcd-success-modal .success-check::after {
      left: 10px;
      top: 10px;
      width: 14px;
      height: 8px;
      border-left-width: 4px;
      border-bottom-width: 4px;
    }

    .mcd-success-modal .btn-tertiary {
      background: #e6e7e9;
      color: var(--text-main);
    }

    .native-alert-backdrop {
      position: absolute;
      inset: 0;
      z-index: 40;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(54, 61, 74, 0.32);
      -webkit-backdrop-filter: blur(2px);
      backdrop-filter: blur(2px);
    }

    .native-alert-backdrop.active {
      display: flex;
    }

    .native-alert {
      width: 270px;
      display: grid;
      gap: 12px;
      padding: 16px 10px 10px;
      border: 1px solid rgba(255, 255, 255, 0.78);
      border-radius: 22px;
      background: rgba(250, 250, 252, 0.94);
      box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
      -webkit-backdrop-filter: blur(24px);
      backdrop-filter: blur(24px);
    }

    .native-alert-copy {
      display: grid;
      gap: 6px;
      padding: 0 8px;
    }

    .native-alert-title {
      margin: 0;
      font-size: 17px;
      line-height: 22px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .native-alert-text {
      margin: 0;
      color: var(--text-minor);
      font-size: 14px;
      line-height: 20px;
      letter-spacing: -0.01em;
      white-space: pre-line;
    }

    .native-alert-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 7px;
    }

    .native-alert-action {
      min-height: 42px;
      border-radius: 999px;
      background: #e9e9eb;
      color: var(--text-main);
      font-size: 15px;
      line-height: 20px;
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    .native-alert-action.primary {
      background: #007aff;
      color: #fff;
    }

    .success-check {
      position: relative;
      width: 72px;
      height: 72px;
      margin: 0 auto;
      border-radius: 50%;
      background: #188500;
    }

    .success-check::after {
      content: "";
      position: absolute;
      left: 21px;
      top: 22px;
      width: 28px;
      height: 15px;
      border-left: 7px solid #fff;
      border-bottom: 7px solid #fff;
      transform: rotate(-45deg);
    }

    .transfer-activity-filter {
      min-height: 65px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 0 16px;
      border-bottom: 1px solid var(--stroke-accent);
      font-size: 15px;
      line-height: 20px;
    }

    .transfer-activity-time {
      padding: 8px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      text-align: center;
    }

    .activity-transfer-row {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 12px 16px;
      border-bottom: 1px solid var(--stroke-accent);
      background: var(--surface-0);
      text-align: left;
    }

    .activity-transfer-copy {
      flex: 1 1 auto;
      min-width: 0;
    }

    .activity-transfer-copy .title,
    .activity-transfer-amount {
      font-size: 17px;
      line-height: 25px;
      letter-spacing: -0.02em;
    }

    .activity-transfer-meta {
      color: var(--text-minor);
      font-size: 15px;
      line-height: 20px;
      letter-spacing: -0.02em;
    }

    .activity-transfer-trailing {
      text-align: right;
    }

    .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;
    }

    svg {
      display: block;
      flex: 0 0 auto;
    }

    .icon {
      display: inline-block;
      color: currentColor;
      flex: 0 0 auto;
    }

    .icon-primary {
      color: var(--primary);
    }

    .icon-muted {
      color: var(--stroke-main);
    }

    .icon-inline {
      display: inline-block;
      vertical-align: -3px;
    }

    @media (max-width: 520px) {
      body {
        padding: 0;
        background: #0a0c10;
      }

      .iphone {
        width: 100vw;
        height: 100vh;
        min-height: 740px;
        padding: 0;
        border-radius: 0;
        background: var(--surface-3);
      }

      .iphone::before,
      .dynamic-island {
        display: none;
      }

      .screen {
        width: 100%;
        height: 100%;
        border-radius: 0;
      }
    }
