/* Uprite Services brand colours for SEO Dash.
   Served at /brand/brand.css, loaded after the dashboard's own stylesheet.
   Variable names are fixed by the product - only the values are ours.

   Sources (Uprite Services Branding Style Guide, p.10):
     BLUE  #1D6199  Pantone 7690CP   - the corporate primary; confirmed against the live logo
     NAVY  #10193D  (no Pantone given)
     GREY  #505257  Pantone Cool Gray 10 C

   Note on NAVY: the guide prints "# 10193d" beneath the swatch, but the painted swatch itself
   is #003A5A. We use the printed caption value. Pending a client ruling.

   The guide defines no semantic colours (error/success), no tints or shades, and no spacing or
   radius scale, so every value below that is not one of the three brand colours is derived from
   them or kept at the product's neutral default. Derived steps are noted inline. */
:root {
  /* The accent: links, buttons, the active menu item. The second colour of the bar on the
     sign-in page. Falling figures and errors.
     --accent   = brand BLUE, unmodified.
     --accent-2 = BLUE lightened for the sign-in gradient's second stop.
     --neg      = the product's default red; the brand guide specifies no error colour, and
                  inventing one would be guesswork. */
  --accent:   #1D6199;
  --accent-2: #2E8BD4;
  --neg:      #C62828;

  /* Text and lines.
     --brand-dark   = brand NAVY.
     --brand-gray   = brand GREY (Cool Gray 10 C).
     --brand-gray-m = GREY lightened one step for muted/secondary text.
     --brand-silver = a neutral hairline tone in the same family as the guide's #E4E5E6
                      diagram grey, kept light enough to read as a rule rather than text. */
  --brand-dark:   #10193D;
  --brand-gray:   #505257;
  --brand-gray-m: #74767B;
  --brand-silver: #CFD1D4;

  /* The side rail. Navy ground so the brand reads immediately on every page.
     --rail-ink   near-white, carries a trace of the navy's blue so it sits in the palette.
     --rail-ink-2 muted label tone, still well clear of the AA threshold on navy.
     --rail-line / --rail-hover are NAVY lifted just enough to separate without banding. */
  --rail-bg:    #10193D;
  --rail-ink:   #E8EAF0;
  --rail-ink-2: #9AA3BC;
  --rail-line:  #222B52;
  --rail-hover: #1C2750;

  /* --chev-wash: url("/brand/mark.svg");
     Deliberately left commented out. We have no mark.svg: no EPS or SVG master exists in the
     workspace, and the style guide forbids recreating or redrawing the mark ("No elements may be
     recreated, deleted, cropped, or reconfigured"). Uncomment once a real mark.svg is supplied
     by whoever holds the vector masters. */
}

/* ------------------------------------------------------------------
   Calendar tab hidden at client request, 2026-10-18.
   The nav link lives in the vendor template (base.html); this file is
   loaded AFTER the app's own /static/app.css, so the rule wins without
   touching the signed tree. Hides the LINK only - /c/<slug>/calendar
   still resolves if typed. Delete this block to restore.
   ------------------------------------------------------------------ */
.rail-nav a[href$="/calendar"] { display: none; }
