/* Manrope (SIL Open Font License, see public/fonts/Manrope-OFL.txt) is hosted here and used for headings and the logo. Text uses the system font. */
@font-face {
    font-family: Manrope;
    src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Larger text: take over the iOS "Larger Text" setting and let rows wrap instead of scrolling sideways. */
:root {
    font-size: 100%;
}

@supports (font: -apple-system-body) {
    :root {
        font: -apple-system-body;
        font-family: system-ui, -apple-system, sans-serif;
    }
}

body,
.list-card h3,
.detail-heading h1,
.item-name,
.item-meta,
.item-note,
.translation-entry code {
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.site-footer-links,
.index-toolbar,
.archive-tabs,
.progress-head,
.section-head,
.starter-row,
.detail-actions {
    flex-wrap: wrap;
}

.account-hero {
    flex-wrap: wrap;
}

.account-hero > div {
    min-width: 0;
}

.top-nav {
    flex-wrap: wrap;
    column-gap: 22px;
}

.create-form {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 621px) {
    .create-form {
        grid-template-columns: minmax(0, 1fr) minmax(0, 190px);
    }
}

.button {
    white-space: normal;
}

.brand-text .brand-name {
    font: 800 25px Manrope, sans-serif;
    letter-spacing: -.075em;
}

.brand-text .brand-name span {
    color: var(--text-green);
}

.brand-text > strong {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .19em;
}

@media (max-width: 620px) {
    .brand-text .brand-name {
        font-size: 22px;
    }

    .brand-text > strong {
        font-size: 8px;
    }
}

@media (max-width: 390px) {
    .brand-text > strong {
        letter-spacing: .1em;
    }
}

/* Guests see the language and theme switchers next to the logo, so the tagline would wrap. */
@media (max-width: 480px) {
    body[data-guest] .brand-text > strong {
        display: none;
    }
}

/* On the narrowest phones the name would run under the switchers; the logo mark and the page heading remain. */
@media (max-width: 359px) {
    body[data-guest] .brand-text {
        display: none;
    }
}

/* Minimum text size: 11 px, as recommended for the iPhone. */
.brand-text > strong {
    font-size: 11px;
}

.eyebrow {
    font-size: .72rem;
}

.type-badge {
    font-size: .75rem;
}

.admin-user-name .type-badge {
    font-size: .6875rem;
}

.avatar-stack-more {
    font-size: .6875rem;
}

.stack-form label small {
    font-size: .75rem;
}

@media (max-width: 620px) {
    .brand-text > strong {
        display: none;
    }

    .site-footer {
        font-size: .75rem;
    }
}
