/* The shared sheets' content (js/compounder-sheets.js): the account, unlocking a symbol,
   a locked tab, what a term means and a row's quick actions. These sizes are the
   phone's; css/desktop.css sets the desktop's. Where a sheet sits, and how it opens,
   is each layout's own: css/mobile.css (from the bottom), css/desktop.css (popover
   or dialog). */

/* ---- icons ------------------------------------------------------------------------- */
.m-i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* ---- rows -------------------------------------------------------------------------- */
.m-label { margin: 14px 4px 8px; font-size: 10.5px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.m-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--hairline); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.m-row:last-child { border-bottom: 0; }
.m-row > .m-i:first-child { color: var(--text-2); }
.m-row > span { flex: 1; min-width: 0; }
.m-row b { display: block; font-size: 15px; font-weight: 600; }
.m-row small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-row .m-row-go { width: 18px; height: 18px; color: var(--muted-2); }
.m-row.danger, .m-row.danger > .m-i:first-child { color: var(--negative); }
.m-row-static { cursor: default; }
.m-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--negative); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.m-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.m-seg button { height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.m-seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-xs); }

/* ---- account ----------------------------------------------------------------------- */
.m-me { display: flex; align-items: center; gap: 12px; padding: 8px 2px 4px; }
.m-me-ini { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-ring); }
.m-me b { display: block; font-size: 17px; }
.m-me small { display: block; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 62vw; }
.m-plan { margin: 12px 2px 4px; font-size: 13.5px; color: var(--text-2); }
.m-meter { height: 6px; margin-top: 8px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.m-meter i { display: block; height: 100%; border-radius: 3px; background: var(--grad-brand); }
.m-offer { margin: 12px 0 6px; padding: 14px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.m-offer b { display: block; font-size: 15px; }
.m-offer p { margin: 4px 0 12px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.m-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; margin-top: 8px; border-radius: 12px; border: 1px solid var(--border-strong); background: none; color: var(--text); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; }
.m-btn.primary { border: 0; background: var(--grad-brand); color: #fff; }
.m-btn:disabled { opacity: .55; }

/* ---- unlock ------------------------------------------------------------------------ */
.m-unlock { text-align: center; padding: 8px 4px 4px; }
.m-unlock-ic { width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.m-unlock > b { display: block; margin: 10px 0 8px; font-size: 18px; }
.m-unlock ul { list-style: none; margin: 0 auto 14px; padding: 0; max-width: 320px; text-align: left; font-size: 14px; color: var(--text-2); }
.m-unlock li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--hairline); }
.m-unlock li:last-child { border-bottom: 0; }
.m-unlock li::before { content: ""; position: absolute; left: 5px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.m-unlock-act small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.m-note { margin: 0 0 4px; font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.m-foot { margin: 14px 0 0; font-size: 12px; color: var(--muted); }

/* ---- locked tab -------------------------------------------------------------------- */
.m-lock-prev { display: grid; gap: 12px; padding: 10px 0 0; filter: blur(4px); opacity: .75; }
.m-lock-prev i { display: block; height: 14px; border-radius: 7px; background: var(--border-strong); }
.m-lock-prev i:nth-child(1) { height: 26px; width: 70%; }
.m-lock-prev i:nth-child(3) { width: 84%; }
.m-lock-prev i:nth-child(5) { width: 62%; }
.symbol-detail-v2 .premium-lock-card .premium-lock-logo { display: none; }
.symbol-detail-v2 .premium-lock-card .premium-lock-title { font-size: 16px; margin: 0 0 8px; }
.m-lock-gains { list-style: none; margin: 0 auto 16px; padding: 0; max-width: 320px; text-align: left; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.m-lock-gains li { position: relative; padding: 7px 0 7px 22px; border-bottom: 1px solid var(--hairline); }
.m-lock-gains li:last-child { border-bottom: 0; }
.m-lock-gains li::before { content: ""; position: absolute; left: 5px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---- what a term means ------------------------------------------------------------- */
.m-info { padding: 4px 2px 2px; }
.m-info b { display: block; margin: 6px 0 8px; font-size: 18px; }
.m-info p { margin: 0 0 6px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.m-info .m-btn .m-i { width: 18px; height: 18px; margin-right: 8px; color: var(--accent); }

/* ---- quick actions ----------------------------------------------------------------- */
.m-actions-head { padding: 6px 2px 8px; border-bottom: 1px solid var(--hairline); }
.m-actions-head b { display: block; font-size: 18px; }
.m-actions-head small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
