.fund-enable {
  --fund-ink: #eeeee8;
  --fund-muted: #a1a49d;
  --fund-line: #33362f;
  color-scheme: dark;
  box-sizing: border-box;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 560px);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  color: var(--fund-ink);
  background: #11130f;
  border: 0;
  border-left: 1px solid var(--fund-line);
  box-shadow: -24px 0 80px #0005;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #62685b #11130f;
  font-family: inherit;
  text-align: left;
}
.fund-enable::backdrop { background: #0009; backdrop-filter: blur(3px); }
.fund-enable *, .fund-enable *::before, .fund-enable *::after { box-sizing: border-box; }
.fund-enable [hidden] { display: none !important; }
.fund-enable__body { padding: 30px 30px max(30px, env(safe-area-inset-bottom)); }
.fund-enable__header, .fund-enable__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fund-enable h2, .fund-enable h3, .fund-enable p { margin: 0; }
.fund-enable h2 { font-size: clamp(26px, 4vw, 32px); font-weight: 500; letter-spacing: -.04em; line-height: 1.2; }
.fund-enable h3 { font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: .01em; }
.fund-enable a { color: inherit; text-decoration: none; }
.fund-enable button { font: inherit; cursor: pointer; }
.fund-enable :is(a, button):focus-visible { outline: 2px solid #eeeee8; outline-offset: 4px; }
.fund-enable__eyebrow { color: var(--fund-muted); font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; text-transform: uppercase; }
.fund-enable__header .fund-enable__eyebrow { margin-bottom: 9px; }
.fund-enable__close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; color: var(--fund-ink); background: transparent; border: 1px solid var(--fund-line); border-radius: 2px; font-size: 28px !important; line-height: 1; }
.fund-enable__close:hover { background: #23261f; }
.fund-enable__intro { margin-top: 24px !important; color: #c6c9c0; font-size: 13px; line-height: 1.7; }
.fund-enable__identity { display: grid; gap: 7px; margin: 23px 0; color: var(--fund-muted); font-size: 11px; line-height: 1.6; }
.fund-enable__identity a { display: block; width: fit-content; max-width: 100%; border-bottom: 1px solid var(--fund-line); }
.fund-enable code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.fund-enable__assets { padding: 22px 0; border-top: 1px solid var(--fund-line); border-bottom: 1px solid var(--fund-line); }
.fund-enable__value { margin-top: 9px !important; font-size: clamp(23px, 4vw, 32px); letter-spacing: -.04em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fund-enable [data-fund-tvl-status], .fund-enable [data-fund-wallet-status], .fund-enable [data-fund-investor-status] { margin-top: 10px; color: #c7cbbf; font-size: 12px; line-height: 1.6; }
.fund-enable__timestamp { margin-top: 5px !important; color: var(--fund-muted); font-size: 10px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.fund-enable__fine { margin-top: 10px !important; color: var(--fund-muted); font-size: 11px; line-height: 1.7; }
.fund-enable__terms { display: grid; grid-template-columns: .7fr .7fr 1.6fr; gap: 15px; margin: 22px 0 0; }
.fund-enable dt { margin-bottom: 7px; color: var(--fund-muted); font-size: 10px; line-height: 1.5; }
.fund-enable dd { margin: 0; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fund-enable__risk { margin-top: 10px !important; color: #d3cfc2; font-size: 11px; line-height: 1.7; }
.fund-enable__text-link { display: inline-block; margin-top: 11px; font-size: 11px; line-height: 1.8; border-bottom: 1px solid #646a5c; }
.fund-enable__text-link:hover { color: #fff; border-color: #eeeee8; }
.fund-enable__section { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--fund-line); }
.fund-enable__address { display: block; margin-top: 6px; color: #aeb5a7; font-size: 10px; line-height: 1.8; }
.fund-enable__button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding: 11px 14px; border: 1px solid #626958; border-radius: 2px; font-size: 11px; line-height: 1.5; font-weight: 500; text-align: center; }
.fund-enable__button--quiet { background: transparent; color: var(--fund-ink); }
.fund-enable__button--quiet:hover { background: #23271f; }
.fund-enable__button:disabled { opacity: .4; cursor: default; }
.fund-enable [data-fund-check] { margin-top: 14px; }
.fund-enable__investor { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 14px 0 0; padding: 14px; background: #1a1e16; border: 1px solid #3c4432; }
.fund-enable__execution { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--fund-line); }
.fund-enable__execution h3 { margin-top: 8px; font-size: 18px; }
.fund-enable__button--primary { display: flex; width: 100%; margin-top: 18px; background: #e8ebdf; border-color: #e8ebdf; color: #11130f !important; }
.fund-enable__button--primary:hover { background: #fff; border-color: #fff; }
@media (max-width: 540px) {
  .fund-enable { width: 100%; border-left: 0; }
  .fund-enable__body { padding: max(22px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); }
  .fund-enable__terms { grid-template-columns: .65fr .65fr 1.7fr; gap: 10px; }
  .fund-enable__button { min-height: 44px; }
}
@media (prefers-reduced-transparency: reduce) { .fund-enable::backdrop { backdrop-filter: none; background: #000d; } }

/* The shared wallet remains one session, including when opened over this panel. */
:is(.flash-home, .fund-dark) .wallet-dialog { --paper: #11130f; --ink: #eeeee8; color-scheme: dark; background: var(--paper); color: var(--ink); border-color: #3c4137; }
:is(.flash-home, .fund-dark) .wallet-dialog .community-panel>p:not(.community-kicker):not(.community-badge):not(.community-fine):not(.community-message) { color: #bdc2b7; }
:is(.flash-home, .fund-dark) .wallet-dialog :is(.community-fine, .community-values dt) { color: #a4ac9c; }
:is(.flash-home, .fund-dark) .wallet-dialog :is(.community-values, .community-values>div, .community-badge) { border-color: #454c3d; }
:is(.flash-home, .fund-dark) .wallet-dialog .community-link { color: var(--ink); }
:is(.flash-home, .fund-dark) .wallet-dialog .community-button:disabled { color: #949c8d; border-color: #454c3d; }
