/* Design tokens shared by all Instance pages (theme independent).
   Theme colors live in TrakHound.Blazor.Hosting trakhound-light.css / trakhound-dark.css */
:root {
    /* Fonts */
    --fontSans: Roboto, 'Segoe UI', Arial, sans-serif;
    --fontMono: Consolas, 'Cascadia Mono', 'Courier New', monospace;
    /* Font Sizes
       rem-based so text follows the browser font-size setting (1rem = 16px by default).
       Heading sizes use clamp(): full size on desktop, scaling down on narrow screens. */
    --fontSize2xs: 0.625rem;   /* 10px */
    --fontSizeXs: 0.6875rem;   /* 11px */
    --fontSizeSm: 0.75rem;     /* 12px */
    --fontSizeMd: 0.8125rem;   /* 13px */
    --fontSizeBase: 0.875rem;  /* 14px */
    --fontSizeLg: 1rem;        /* 16px */
    --fontSizeXl: clamp(1rem, 0.875rem + 0.5vw, 1.125rem);    /* 16px -> 18px at >= 800px wide */
    --fontSize2xl: clamp(1.25rem, 1rem + 0.75vw, 1.5rem);     /* 20px -> 24px at >= 1067px wide */
    --fontSize3xl: clamp(1.5rem, 1rem + 1.5vw, 1.875rem);     /* 24px -> 30px at >= 933px wide */
    /* Layers */
    --zIndexLoading: 999;
    --zIndexOverlay: 9999;
    /* Effects */
    --focusRing: inset 0px 0px 1px 1px var(--accent);
}

/* The TrakHound mark in any color (set background-color and a height). It's the logo used as a mask,
   so one file serves every color (an <img> of an SVG can't take its color from the page) */
.trakhound-logo {
    display: inline-block;
    aspect-ratio: 1027 / 717;
    background-color: #fff;
    -webkit-mask: url("../img/trakhound-logo.svg") center / contain no-repeat;
    mask: url("../img/trakhound-logo.svg") center / contain no-repeat;
}
