/* Dashboard pages (2026-11-06): one look on every page, taken from the Dashboard page.
 * Loaded after the page's own css. Sizes in em follow the page scale (.custom-scale-wrapper: 0.8333vw, 10px under 1000px).
 *   page title   2.5em / 800  (30px on a 1440px screen), as "Dashboard"
 *   banner title 1.55em / 700, card titles 1.25em / 700, text 1.1em / 400
 *   one font: Nunito (local file), also for buttons, fields and side lists that used Inter / Arial / Syne
 */

/* ---------- fonts named in old page css but never loaded (the browser showed Arial) ---------- */
/* Inter, Syne and DM Sans on these pages are drawn with the local Nunito file, so every text matches the Dashboard. */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url('../fonts/local/nunito-latin-wght-normal.woff2') format('woff2'); 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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url('../fonts/local/nunito-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Syne'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url('../fonts/local/nunito-latin-wght-normal.woff2') format('woff2'); 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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Syne'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url('../fonts/local/nunito-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url('../fonts/local/nunito-latin-wght-normal.woff2') format('woff2'); 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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url('../fonts/local/nunito-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- page title row ---------- */
.js-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2em;
    flex-wrap: wrap;
    margin: 0 0 1.4em;
    font-size: var(--ui-scaling, 0.8333vw);
}
.custom-scale-wrapper .js-page-head { font-size: 1em; }
.page-title,
.js-page-head .page-title {
    font-family: var(--font-main, "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
    font-size: 2.5em !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    color: #1f2937 !important;
    margin: 0 !important;
}
.js-page-head .page-sub {
    margin: 0.35em 0 0;
    color: #6b7280;
    font-size: 1.1em;
    font-weight: 400;
}
@media (max-width: 1000px) {
    .page-title,
    .js-page-head .page-title { font-size: 2em !important; }
}

/* ---------- one font everywhere ---------- */
.custom-scale-wrapper button,
.custom-scale-wrapper input,
.custom-scale-wrapper select,
.custom-scale-wrapper textarea,
.sb-text,
.sb-count,
.freq-chip,
.mark-read,
.top-tab .item-label,
.item-label,
.ofc-pr,
.vf,
.ci-lbl {
    font-family: var(--font-main, "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
}

/* ---------- Billing: same width as the other pages (was 14em each side) ---------- */
@media (min-width: 1025px) {
    #billingMain > .content-area,
    #billingMain > .billing-page-load-skeleton {
        padding-left: 8em;
        padding-right: 8em;
    }
}

/* ---------- Profile: title above the form card, card titles like the other cards ---------- */
.js-page-head.js-page-head-narrow {
    max-width: 50em;
    margin: 3rem auto 1.2em;
}
.js-page-head.js-page-head-narrow + .js-page-skeleton,
.js-page-head.js-page-head-narrow ~ .profile-card {
    margin-top: 0;
}
.profile-card .profile-card-header h2 {
    font-size: 1.25em;
}
.profile-card h4 {
    font-size: 1.25em;
    font-weight: 800;
}

/* Manage ads: title row with its two buttons */
.page-header.js-page-head {
    align-items: center;
}
/* Manage ads: the title moved above the counters, so no empty band under them any more */
body:has(#freeAdsPage) .page + .container {
    padding-top: 0;
}
#freeAdsPage .body-wrap {
    margin-top: 0;
}
