/* A public calculator page (docs/calculators.md, "Public calculators"): the
 * server-rendered heading, byline and sign-up link, above the element the user
 * app's calculator mounts into. Tokens come from site.css. */

.calc-page {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.calc-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.calc-header h1 {
    margin: 0;
    font-size: var(--font-size-7);
    line-height: var(--line-height-7);
    overflow-wrap: anywhere;
}

.calc-byline {
    margin: 0;
    color: var(--muted);
    font-family: var(--font-serif);
    font-size: var(--font-size-3);
    line-height: var(--line-height-3);
    font-style: italic;
}

.calc-signup {
    margin: 0;
    font-size: var(--font-size-2);
}

/* The calculator keeps the width of its container, so a phone has no sideways scroll. */
#calculator-root {
    min-width: 0;
}
