/* What only the guides have, on the site's tokens: the frame's spacing, the one summary panel, a worked
   example, and tables that hold words as well as numbers. */
.post-byline { margin: 12px 0 0; }
.post-body { margin-top: 40px; }
.post-body > :first-child { margin-top: 0; }
.post-body .panel { margin-bottom: 32px; }
.post-body .panel h2 { margin: 0 0 8px; }
.post-body .panel > :last-child { margin-bottom: 0; }
.post-body .formula { margin: 16px 0; }
.post-body .faq { margin-bottom: 32px; }
.post-body .table-wrap { margin: 16px 0 24px; }
.post-body .data-table th, .post-body .data-table td { white-space: normal; text-align: left; }
.post-body .data-table th.num, .post-body .data-table td.num { text-align: right; white-space: nowrap; }
.post-body .data-table tbody th { color: var(--heading); font-size: 0.9375rem; font-weight: 600; padding: 12px; border-bottom: 1px solid var(--hairline); }
.post-body .data-table td:first-child { font-weight: 400; color: var(--text); }
.post-body .data-table td a, .post-body .data-table th a { text-decoration: underline; }
.post-disclaimer { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.worked { background: var(--wash); border-radius: var(--radius-small); padding: 16px 18px; margin: 16px 0 24px; }
.worked > :last-child { margin-bottom: 0; }
.worked .table-wrap { margin: 8px 0 12px; }
.worked .table-wrap:last-child { margin-bottom: 0; }
.worked .formula { background: var(--page); }
.post-related .row-link { padding-block: 14px; }

/* The last subscriber's dashboard and the account pages. */
.account-page { padding-bottom: 64px; }
.account-table td { white-space: normal !important; text-align: left !important; overflow-wrap: anywhere; }
.account-table th { white-space: normal !important; }
.account-narrow { max-width: 44rem; }
.account-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dash-chart { position: relative; height: 400px; }
.dash-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--raised) 70%, transparent); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dash-interval { position: absolute; top: 8px; right: 8px; padding: 4px 8px; border-radius: 8px; background: var(--wash); }
.dash-suggest { z-index: 1000; max-height: 260px; overflow-y: auto; }
.dash-name { color: var(--heading); font-weight: 600; }
.dash-price { color: var(--heading); font-size: 1.375rem; font-weight: 600; line-height: 1; }
.dash-contract { overflow-wrap: anywhere; }
.dash-cursor { padding: 12px 14px; background: var(--wash); border-radius: var(--radius-small); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.dash-label { color: var(--muted); }
.dash-value { color: var(--heading); font-weight: 600; }
.dash-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dash-card-foot { border-top: 1px solid var(--hairline); margin-top: 8px; padding-top: 8px; }
.metric-pair { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.zone-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
@media (min-width: 992px) { .zone-right { justify-content: flex-end; } }
.outcome-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.outcome-chip--success { background: var(--up-tint); color: var(--up); }
.outcome-chip--fail { background: var(--down-tint); color: var(--down); }
.outcome-chip--hidden { display: none; }
.legend-item { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 2px 4px 2px 10px; border: 1px solid var(--hairline); border-radius: 999px; font-size: 0.8125rem; color: var(--text); cursor: pointer; }
.legend-item.disabled { opacity: 0.55; }
.legend-toggle { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; }
.legend-toggle:hover { background: var(--hairline); color: var(--heading); }
.option-item-card { padding: 12px 14px; margin-bottom: 8px; border: 1px solid var(--hairline); border-radius: var(--radius-small); background: var(--raised); }
.preset-group .chip.active { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--accent-ink); }
.btn-thresholds[data-invalid="1"] { border-color: var(--down); color: var(--down); }
@media (max-width: 576px) {
  .modal.bottom-sheet .modal-dialog { margin: 0; max-width: 100%; }
  .modal.bottom-sheet .modal-content { border-radius: var(--radius) var(--radius) 0 0; }
  .modal.bottom-sheet.show .modal-dialog { position: fixed; bottom: 0; left: 0; right: 0; }
}

/* API documents and small pieces of the account doors. */
.docs-contents { margin-top: 24px; }
.api-section { padding-block: 24px; }
.docs h4 { font-size: 1.0625rem; }
.docs pre { font-size: 0.875rem; line-height: 1.5; color: var(--text); }
.docs .formula code { background: transparent; padding: 0; color: inherit; }
.google-mark { border-radius: 50%; background: var(--raised); }
.account-links { max-width: 34rem; }
.post-chart { display: block; width: 100%; max-width: 30rem; height: auto; margin: 16px 0 24px; }
.post-chart text { fill: var(--muted); font-size: 11px; }
.post-chart-axis { stroke: var(--hairline); }
.post-chart-line { fill: none; stroke: var(--mark); stroke-width: 2.5; }
.post-chart-area { fill: var(--accent-tint); }
.post-chart-dot { fill: var(--mark); }
.guide-group { margin-top: 56px; }
.guide-group h2 { margin-bottom: 16px; }
/* The shared block cuts off its store badges when its height is capped; here it takes the height it needs. */
.app-showcase { max-height: none !important; }
