/* tokens.css -- THE ONE TOKEN FILE (DESIGN_SPEC "Look and feel", CALL 53).
   Every page finished in a design round loads this file and uses only these variables: no raw
   hex colour in the page itself (gate design_tokens). Values are the S324 mockups' own
   (drafts/S324_MOCKUPS/Results*.dc.html). Green is for "By right" and nothing else. */
:root {
  /* ink and text on paper */
  --ink:            #14181d;
  --text:           #3a4046;
  --text-2:         #565c62;
  --text-3:         #63696f;
  --text-4:         #8b9096;

  /* paper and lines */
  --paper:          #ffffff;
  --paper-2:        #f6f5f2;
  --paper-3:        #e7e5df;
  --line:           #e2e8f0;
  --line-2:         #e0dfda;
  --line-soft:      #f0efeb;
  --line-input:     #d8d5ce;
  --placeholder:    #ebe9e4;

  /* navy (the header band) and the text that sits on it */
  --navy:           #14181d;
  --navy-2:         #2a3441;
  --on-navy:        #ffffff;
  --on-navy-2:      #e2e8f0;
  --on-navy-3:      #a8b4c2;
  --on-navy-4:      #8b98a8;
  --on-navy-chip:   rgba(255, 255, 255, .12);
  --on-navy-tile:   rgba(255, 255, 255, .07);

  /* burnt orange */
  --accent:         #c2570a;
  --accent-hover:   #a94a08;
  --accent-link:    #a94a08;
  --accent-link-hover: #853c06;
  --accent-bright:  #fb923c;
  --accent-wash:    #fff7ed;
  --accent-line:    #fed7aa;
  --accent-ink:     #7c2d12;

  /* By right -- and only By right */
  --green:          #15803d;
  --green-wash:     #f0fdf4;
  --green-line:     #a7e8bd;

  /* planned community referral (ResultsHardCases) */
  --info-wash:      #f7fafe;
  --info-line:      #bfd4fd;

  /* map */
  --map-ground:     #e9ece7;

  /* the tech-forward bands (docs/design/tokens.css, grid.md): slate bands, max 2 per page */
  --slate-deep:     #14181d;
  --slate-band:     #1d2733;
  --slate-card:     #212c39;
  /* CALL 116 item 7: the results page's desktop uses tabs */
  --tab-tile:       #2a3242;
  --tab-tile-on:    #1b2230;
  --page:           #f9f9f8;
  --panel:          #f0efe9;
  --border-strong:  #d8d5ce;
  --border-hair:    #f2f0ea;
  --border-badge:   #ddd9d0;
  --on-slate-line:  rgba(255, 255, 255, .10);
  --on-slate-line-hi: rgba(255, 255, 255, .16);
  --on-slate-fill:  rgba(255, 255, 255, .05);
  --on-slate-fill-hi: rgba(255, 255, 255, .09);
  --shadow-card:    0 1px 3px rgba(0, 0, 0, .05);
  --grid-texture:   linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

  /* permission states, drawn as a dot + mono small caps (docs/design/tokens.css): green is
     By right only; Needs approval is the burnt orange ring; It depends is the navy-blue dot
     (a referral is a delivered answer, never grey); Not allowed is a dashed grey ring */
  --state-right-slate:  #4ade80;
  --state-appr-slate:   #fb923c;
  --state-appr-paper:   #a94a08;
  --state-depends-paper: #2f6b94;
  --state-depends-slate: #7fb2d8;
  --state-no-paper:     #b0b4b8;
  --state-no-slate:     #8b98a8;

  /* the map's zoning colours, by the family a district code reads as (display only; the code
     is always the label). No green: green is By right's alone. */
  --zone-res:   #2563eb;
  --zone-com:   #b45309;
  --zone-ind:   #57534a;
  --zone-plan:  #0e7490;
  --zone-ag:    #a16207;
  --zone-other: #8b9096;

  /* type */
  --font-text:      'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:      'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
