/*
 * AV DS 4.8.0 static adapter for Platform Portal and WM.
 *
 * Source: @sgeo/ui-kit@4.8.0, tokens/variables.css,
 * AVDS source commit 41908999419057a9c18d384f1fbe31c0baa7ce85
 * upstream file sha256 9c2d333ad6a09a8da3645126e5a8a52608e9b8c80242d89c8044f252cf66f8f5
 * Generated upstream adapter: avds4-static-adapter-4.8.0.css,
 * sha256 f696383ef78c3d0e3cb5935390f57930ea656333b3712e526be62abff3f416a7.
 * (verified 2026-08-26). This file intentionally exposes only semantic
 * tokens needed by static and Jinja-like consumers. Components, runtime state
 * and product policy remain local to the portal.
 */
@import url("./avds4-static-adapter-4.8.0.css");

:root {
  --avds-background: 216 20% 97%;
  --avds-foreground: 220 25% 10%;
  --avds-border: 216 12% 88%;
  --avds-card: 216 18% 98%;
  --avds-card-border: 216 12% 92%;
  --avds-primary: 210 70% 42%;
  --avds-primary-foreground: 0 0% 99%;
  --avds-secondary: 216 14% 91%;
  --avds-muted: 216 12% 92%;
  --avds-muted-foreground: 216 10% 45%;
  --avds-accent: 210 16% 90%;
  --avds-destructive: 0 72% 48%;
  --avds-success: 170 55% 38%;
  /* Platform-owned foreground keeps success text AA-readable on light surfaces. */
  --avds-success-foreground: 170 55% 27%;
  --avds-warning: 38 75% 50%;
  /* Local foreground derivative: warning text stays readable on pale status surfaces. */
  --avds-warning-foreground: 32 85% 27%;
  --avds-info: 210 70% 42%;
  --avds-ring: 210 70% 42%;
  --avds-font-sans: "IBM Plex Sans", "Inter", "Onest", "Helvetica Neue", Arial, sans-serif;
  --avds-font-display: "IBM Plex Sans", "Inter", "Onest", "Helvetica Neue", Arial, sans-serif;
  --avds-font-micro: "Inter", "IBM Plex Sans", "Onest", "Helvetica Neue", Arial, sans-serif;
  --avds-font-dashboard: "IBM Plex Sans", "Inter", "Onest", "Helvetica Neue", Arial, sans-serif;
  --avds-font-mono: "IBM Plex Mono", "JetBrains Mono", "Fira Code", Menlo, monospace;
  --avds-radius: .4375rem;
  --avds-shadow-xs: 0px 1px 2px hsl(220 25% 10% / 0.04);
  --avds-shadow-md: 0px 4px 8px hsl(220 25% 10% / 0.06), 0px 2px 4px hsl(220 25% 10% / 0.04);
  --avds-shadow-lg: 0px 8px 16px hsl(220 25% 10% / 0.08), 0px 4px 8px hsl(220 25% 10% / 0.04);
  --avds-shadow-dialog: 0px 20px 40px hsl(220 25% 10% / 0.12);
  --avds-elevate-1: rgba(0,0,0, .03);
  --avds-elevate-2: rgba(0,0,0, .08);
  --avds-mobile-page-gutter: .75rem;
  --avds-mobile-section-gap: 1.25rem;
  --avds-mobile-row-padding: .75rem;
  --avds-mobile-matrix-gap: 1px;
  --avds-mobile-touch-target: 2.75rem;
  --avds-mobile-font-size-label: .75rem;
  --avds-mobile-font-size-body: .875rem;
  --avds-mobile-line-height-min: 1.35;
  --avds-mobile-title-max: 2.5rem;
  --avds-mobile-compact-container: 22rem;

  /* The dark document surfaces use the AV DS cyber profile intentionally. */
  --avds-cyber-background: 222 34% 9%;
  --avds-cyber-foreground: 193 72% 92%;
  --avds-cyber-card: 223 30% 11%;
  --avds-cyber-card-strong: 223 30% 12%;
  --avds-cyber-border: 217 26% 18%;
  --avds-cyber-border-strong: 217 24% 24%;
  --avds-cyber-muted: 194 26% 66%;
  --avds-cyber-subtle: 218 22% 38%;
  --avds-cyber-brand: 191 87% 46%;
  --avds-cyber-info: 210 65% 60%;
  --avds-cyber-success: 164 78% 42%;
  --avds-cyber-warning: 43 92% 56%;
  --avds-cyber-danger: 350 85% 60%;
}

/* Exact 4.8 institutional profile used by the owner-only WM operator console. */
.theme-institutional {
  --avds-background: 210 30% 96%;
  --avds-foreground: 218 34% 16%;
  --avds-border: 214 24% 85%;
  --avds-card: 0 0% 100%;
  --avds-card-border: 214 22% 88%;
  --avds-primary: 221 68% 36%;
  --avds-primary-foreground: 210 40% 98%;
  --avds-secondary: 212 28% 90%;
  --avds-muted: 212 22% 91%;
  --avds-muted-foreground: 217 16% 42%;
  --avds-accent: 206 36% 88%;
  --avds-success: 191 62% 34%;
  --avds-warning: 36 78% 46%;
  --avds-warning-foreground: 31 88% 24%;
  --avds-info: 221 68% 36%;
  --avds-ring: 221 68% 36%;
}
