/* PP-ADMIN-220: the admin portal uses the app's Daylight design tokens
   (docs/pcp/app-redesign/token-map.md) and its typeface, Plus Jakarta Sans
   (OFL-1.1, self-hosted from the web app's pinned @fontsource-variable 5.3.0).
   Brand values never change: #114ABD, #E31B33, #FFD325.
   Every rule is scoped to the admin shell or the admin login; only the
   @font-face declarations are global, and they only define a font. */

@font-face {
    font-family: "Plus Jakarta Sans Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../font/plus-jakarta-sans/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Plus Jakarta Sans Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../font/plus-jakarta-sans/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
    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;
}

.admin-shell,
.admin-login {
    /* Surfaces */
    --pp-surface-page: #F6F7FB;
    --pp-surface: #FFFFFF;
    --pp-surface-sunken: #F1F5F9;
    --pp-surface-tint: #E8F0FF;
    --pp-surface-tint-strong: #DCEAFF;
    /* Text */
    --pp-text: #0B1220;
    --pp-text-secondary: #4A5568;
    --pp-text-muted: #667085;
    --pp-text-link: #114ABD;
    --pp-on-primary: #FFFFFF;
    /* Lines */
    --pp-line: #E3E7EF;
    --pp-line-strong: #CBD2DE;
    --pp-line-tint: #C9DCFF;
    /* Brand */
    --pp-primary: #114ABD;
    --pp-primary-hover: #0E3C9B;
    --pp-primary-disabled: #8EADD9;
    --pp-red: #E31B33;
    --pp-red-strong: #C61327;
    --pp-yellow: #FFD325;
    --pp-yellow-ink: #5C4300;
    --pp-yellow-tint: #FFF6D1;
    /* States */
    --pp-danger: #B42318;
    --pp-danger-tint: #FEF2F2;
    --pp-danger-line: #FECACA;
    --pp-success: #065F46;
    --pp-success-tint: #ECFDF5;
    --pp-success-line: #A7F3D0;
    --pp-warning: #92400E;
    --pp-warning-tint: #FFF6D1;
    /* Shape and type */
    --pp-radius: 12px;
    --pp-radius-control: 10px;
    --pp-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    --pp-font: "Plus Jakarta Sans Variable", "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --pp-focus: #114ABD;
}
