/* Team MA look for pages opened from Team MA (see shared/brand.js, which adds .brand-ma to
   <html>). The page layout is shared; only the brand tokens, typeface and a few fixed colours
   change. Values come from Team MA's shared/base.css. */

/* Melbourne Automation brand typeface (self-hosted, SIL OFL). */
@font-face {
  font-family: "Raleway";
  src: url("fonts/Raleway-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* MEM token names, MA values: orange instead of cerulean, MA grey instead of navy */
html.brand-ma {
  --mem-blue: #f37721;
  --mem-blue-dark: #d9621a;
  --mem-blue-soft: #fef1e7;
  --mem-blue-text: #b4501a;
  --mem-navy: #353435;
  --mem-navy-dark: #242324;
  --mem-sunshade: #f1ad33;
  --mem-green: #557a43;

  --bg: #f5f5f4;
  --border: #e2e0de;
  --text: #353435;
  --muted: #6b6a6b;
  --shadow: 0 10px 25px rgba(53, 52, 53, 0.08);
}

html.brand-ma body {
  font-family: "Raleway", Arial, Helvetica, sans-serif;
}

/* Fixed MEM-blue focus rings and tints in page styles */
html.brand-ma input:focus,
html.brand-ma select:focus,
html.brand-ma textarea:focus {
  outline-color: rgba(243, 119, 33, 0.25);
  border-color: var(--mem-blue);
}

html.brand-ma button:focus-visible,
html.brand-ma a:focus-visible {
  outline-color: rgba(243, 119, 33, 0.5);
}

html.brand-ma .org-pill,
html.brand-ma .status-voided,
html.brand-ma .detail-grid,
html.brand-ma .po-summary {
  background: #f3f2f1;
}
