/* Verified token JSON palette defaults; site-specific overrides load last. */
:root{--jef-primary:#155eef;--jef-background:#f4f7fb;--jef-surface:#ffffff;--jef-text:#18243b;--jef-muted:#475569;--jef-border:#dfe5ee;--jef-danger:#b42318;--jef-success:#067647;--jef-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--jef-font-scale:1;--jef-control-height:44px;--jef-spacing-scale:1;--jef-radius-md:12px;--jef-space-3:.75rem;--jef-space-4:1rem;--jef-space-5:1.5rem;--jef-space-6:2rem;--jef-space-7:2.75rem;}


/* JEF v2.0 — mapped to Microsoft's official Fluent Web token names. */
:root,html{
  --jef-primary:var(--colorBrandBackground,#0f6cbd);
  --jef-primary-strong:var(--colorBrandBackgroundHover,#115ea3);
  --jef-on-primary:var(--colorNeutralForegroundOnBrand,#fff);
  --jef-background:var(--colorNeutralBackground2,#f5f5f5);
  --jef-surface:var(--colorNeutralBackground1,#fff);
  --jef-surface-soft:var(--colorNeutralBackground2,#f5f5f5);
  --jef-text:var(--colorNeutralForeground1,#242424);
  --jef-muted:var(--colorNeutralForeground2,#616161);
  --jef-border:var(--colorNeutralStroke2,#e0e0e0);
  --jef-border-strong:var(--colorNeutralStroke1,#d1d1d1);
  --jef-danger:var(--colorPaletteRedForeground1,#b10e1c);
  --jef-success:var(--colorPaletteGreenForeground1,#107c10);
  --jef-radius-md:var(--borderRadiusMedium,4px);
  --jef-radius-lg:var(--borderRadiusLarge,8px);
  --jef-shadow-sm:var(--shadow2,0 1px 2px #00000010);
  --jef-shadow-md:var(--shadow8,0 4px 8px #00000020);
  --jef-font:var(--fontFamilyBase,'Segoe UI',system-ui,sans-serif);
  --jef-control-height:40px;
  font-family:var(--jef-font);background:var(--jef-background);color:var(--jef-text);
}
body{font-family:var(--jef-font);background:var(--jef-background);color:var(--jef-text)}
body[data-density='compact']{--jef-control-height:32px}
body[data-fluent-mode='dark']{color-scheme:dark}
body[data-fluent-mode='light']{color-scheme:light}
body[data-fluent-contrast='high']{--jef-border:currentColor;--jef-border-strong:currentColor}
jef-button fluent-button,jef-icon-button fluent-button{max-width:100%;font:inherit}
jef-button fluent-button[aria-busy='true']{cursor:progress}
jef-button .jef-danger-button{--colorBrandBackground:var(--colorPaletteRedBackground3,#b10e1c)}
jef-badge fluent-badge,jef-status fluent-badge{display:inline-flex}
jef-progress fluent-progress-bar{display:block;width:100%;min-width:0}
jef-loading fluent-spinner{display:inline-block;width:22px;height:22px}
jef-divider fluent-divider{display:block;margin-block:10px}
jef-input fluent-text-input,jef-password fluent-text-input{display:block;width:100%;max-width:100%;min-width:0}
jef-checkbox fluent-checkbox{display:inline-flex;max-width:100%}
.field-control{border-radius:var(--jef-radius-md);min-height:var(--jef-control-height)}
jef-form form[aria-busy='true'] fluent-button[type='submit']{pointer-events:none;opacity:.7}
.shell-header,.shell-sidebar,.shell-footer,.card,.panel,.form-section{background:var(--jef-surface);color:var(--jef-text)}
.card,.panel,.form-section{border:1px solid var(--jef-border);border-radius:var(--jef-radius-lg);box-shadow:var(--jef-shadow-sm)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,
fluent-button:focus-visible,fluent-text-input:focus-visible,fluent-checkbox:focus-visible{
  outline:2px solid var(--colorStrokeFocus2,#000);outline-offset:2px}
@media(max-width:640px){.card,.panel,.form-section{border-radius:var(--jef-radius-md)}
  fluent-button,jef-button{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
