/* Tenant theme override layer. Load last; keep component/layout rules elsewhere. */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
/* PT Sans can expose the wrong glyph for U+20B9 on Windows. Keep the currency glyph in a
   dedicated, unicode-restricted face so every inherited text style (including dynamically
   formatted amounts) uses the Indian rupee without replacing the application's text font. */
@font-face {
    font-family: "Namo Rupee";
    src: local("Nirmala UI"), local("NirmalaUI"), local("Segoe UI Symbol"), local("SegoeUISymbol"), local("Arial");
    font-style: normal;
    font-weight: 400;
    unicode-range: U+20B9;
}
@font-face {
    font-family: "Namo Rupee";
    src: local("Nirmala UI Bold"), local("NirmalaUI-Bold"), local("Segoe UI Bold"), local("SegoeUI-Bold"), local("Arial Bold"), local("Arial-BoldMT");
    font-style: normal;
    font-weight: 700;
    unicode-range: U+20B9;
}
:root {
    /* Standard application typeface. Every font-family must use this token (via --portal-font). */
    --theme-font: "Namo Rupee", "PT Sans", "Segoe UI", sans-serif;
    --theme-primary: #f36f21;
    --theme-primary-active: #d9570a;
    --theme-secondary: #269a59;
    --theme-secondary-active: #1f7f49;
    --theme-ink: #17233c;
    --theme-muted: #667085;
    --theme-page-surface: #f6f8fb;
    --theme-content-surface: #ffffff;
    --theme-border: #e4e8ef;
    --theme-navigation: #172234;
    /* Standard corner radius for the whole application. Every border-radius must use this token
       (via --portal-radius); the only exceptions are circles (50%) and fully-round pills (999px+). */
    --theme-radius: 5px;
    --theme-elevation: 0 18px 45px rgba(23, 34, 52, .09);
    /* Light hero language (2026-08-19): warm white surface with ink text and orange accent. */
    --theme-hero-background: linear-gradient(115deg, #ffffff 42%, #fff3ea 100%);

    /* Shared tenant theme mapping. */
    --portal-font: var(--theme-font);
    --portal-primary: var(--theme-primary);
    --portal-primary-dark: var(--theme-primary-active);
    --portal-brand-green: var(--theme-secondary);
    --portal-brand-green-dark: var(--theme-secondary-active);
    --portal-ink: var(--theme-ink);
    --portal-muted: var(--theme-muted);
    --portal-surface: var(--theme-page-surface);
    --portal-border: var(--theme-border);
    --portal-sidebar: var(--theme-navigation);
    --portal-radius: var(--theme-radius);
    --portal-shadow: var(--theme-elevation);
    --portal-hero-gradient: var(--theme-hero-background);
}
