/* The stock card: /market's symbol hover card and phone sheet, and the digest's ticker cards (fp_symcard.js builds
   the content, fp_digest_cards.js shows it on the digest). Not scoped to a page: the grid's tooltips sit on <body>,
   and the standalone /digest pages link this file alone. */
.fp-sc { width: 310px; padding: 9px 11px; background: #1b232d; border: 1px solid #29333f; border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); color: #eef1f5; font-size: 12.5px; line-height: 1.4;
    font-family: 'IBM Plex Sans', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.fp-sc-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 8px; align-items: baseline; }
.fp-sc-sym { font-weight: 600; font-size: 14px; }
.fp-sc-co { color: #b6bec9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-sc-ret { font-variant-numeric: tabular-nums; text-align: right; }
.fp-sc-ret.up { color: #66ff66; }
.fp-sc-ret.down { color: #ff7a7a; }
.fp-sc-h .fp-sc-ret { font-weight: 600; font-size: 14px; }
.fp-sc-meta { color: #8f99a7; font-size: 11.5px; margin-top: 2px; }
.fp-sc-sec { margin-top: 8px; padding-top: 6px; border-top: 1px solid #29333f; color: #8f99a7; font-size: 11.5px; }
.fp-sc-part { display: grid; grid-template-columns: 112px 62px minmax(0, 1fr); column-gap: 8px; align-items: center; margin-top: 3px; }
.fp-sc-pn { color: #b6bec9; }
.fp-sc-pbar { position: relative; height: 8px; }
.fp-sc-pbar i { position: absolute; top: 0; height: 100%; border-radius: 1px; }
.fp-sc-pbar .fp-sc-p0 { left: 50%; width: 1px; background: #586271; }
.fp-sc-more { margin-top: 8px; padding-top: 6px; border-top: 1px solid #29333f; display: grid; row-gap: 2px; }
.fp-sc-k { color: #8f99a7; }
.fp-sc-soon { color: #ffd23f; }

/* touch screens: the symbol card as a sheet at the bottom of the screen (fpSymSheet), with its page button */
.fp-sheet { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 1060; max-height: 72vh; overflow-y: auto;
    padding: 10px 12px; background: #1b232d; border: 1px solid #29333f; border-radius: 10px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.55); }
.fp-sheet[hidden] { display: none; }
.fp-sheet .fp-sc { width: auto; padding: 0; background: none; border: 0; box-shadow: none; }
.fp-sheet-bar { display: flex; gap: 8px; margin-top: 10px; }
.fp-sheet-go { flex: 1 1 auto; padding: 9px 12px; border-radius: 8px; border: 1px solid #3d93e4; background: #1f2a38;
    color: #eef1f5; font: 600 13.5px 'IBM Plex Sans', 'Segoe UI', Helvetica, Arial, sans-serif; }
.fp-sheet-close { padding: 9px 14px; border-radius: 8px; border: 1px solid #29303a; background: #161a21; color: #b6bec9;
    font: 13.5px 'IBM Plex Sans', 'Segoe UI', Helvetica, Arial, sans-serif; }
.fp-sheet-go:focus-visible, .fp-sheet-close:focus-visible { outline: 2px solid #3d93e4; outline-offset: 2px; }

/* the digest's card on a pointer that hovers (fp_digest_cards.js): fixed over the page, never in the pointer's way */
.fp-dc-pop { position: fixed; z-index: 1070; pointer-events: none; top: 0; left: 0; }
.fp-dc-pop[hidden] { display: none; }
.fp-sc-asof { margin-top: 6px; color: #8f99a7; font-size: 11px; }
