/* ===========================================================================
   The design tokens.

   DHL CI, November 2026: the sidebar is white, an icon over its label;
   calls to action are DHL Red (primary filled, text buttons and links as
   red words on white); secondary buttons are outlined in black; greys are
   neutral, not slate; focus is a blue ring. Yellow is the highlight
   ground, with black on it, and the tile behind the logo. What follows
   about the prototypes is the history of the earlier look.
   ---------------------------------------------------------------------------
   ---------------------------------------------------------------------------
   These values are lifted from the eleven prototype pages in the folder
   above, not reinterpreted. The prototypes are the specification: a screen
   that does not look like its prototype is a defect, and that includes
   this file.

   What was wrong before: the app had a white sidebar, cards at radius 12
   and its own spacing. The prototypes have a full DHL-yellow sidebar at
   230px, cards at radius 14, and a white pill on the active nav row. The
   difference was not a judgement call; it was drift.

   ONE DELIBERATE DEPARTURE, and the only one. The prototypes set small
   secondary text in #94a3b8, which measures 2.5:1 on the page ground and
   is unreadable - it failed on nine screens when measured. Every such use
   is moved to #64748b, which the prototypes already use widely elsewhere,
   measures 4.6:1, and is near enough to be invisible as a change. Nothing
   else differs.

   THE BRAND BLOCK IS ONLY A STARTING VALUE. layouts/theme.blade.php
   replaces every line of it -- and the note and VIP tints below -- with
   shades worked out from the workspace's own colour (Workspace::paletteFor).
   These defaults are what that works out for the default colour, so a page
   that somehow misses the theme still looks like itself. A screen never
   types a brand shade of its own: it uses these names.
   =========================================================================== */

:root {
  /* --- the brand, as the prototypes use it ------------------------------ */
  --brand:            #FFCC00;   /* the sidebar, and every primary button   */
  --brand-edge:       #E5B800;   /* its border, one step down               */
  --brand-hover:      #FFD633;
  --on-brand:         #000000;   /* black on yellow, as the prototypes set  */
  --brand-ink:        #1a1a1a;   /* nav labels on the yellow                */
  --brand-quiet:      #5c4f00;   /* secondary text on the yellow            */
  --brand-faint:      #6b5300;
  --brand-wash:       rgba(255,255,255,0.4);   /* nav hover                 */
  --brand-chip:       #FFEB99;   /* the "All events" link on the event menu */
  --brand-chip-hover: #FFF7D9;
  --brand-on-dark:    #FFCC00;   /* the colour as words on a dark surface   */
  --brand-soft:       #FFEDA6;   /* tints of it on white, strongest first   */
  --brand-softer:     #FFF7D9;   /* the selected answer on the reply form   */
  --brand-softest:    #FFFDF7;   /* a row that is waiting on something      */
  --brand-accent:     #D40511;   /* DHL red: small marks, never words       */
  --brand-accent-dark:#B00510;

  /* --- calls to action (DHL CI): red, worked out per workspace --------- */
  --action:      #D40511;   /* the primary button                          */
  --action-hover:#B4040E;
  --on-action:   #ffffff;
  --action-text: #D40511;   /* text buttons and links, as words on white   */
  --action-wash: #FDEFF0;   /* a secondary button's hover                  */

  /* --- depth: cards lift off the grey instead of being drawn round ---- */
  --shadow-card: 0 1px 2px rgba(0,0,0,.05), 0 4px 14px rgba(0,0,0,.05);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.06), 0 12px 28px rgba(0,0,0,.10);

  /* --- focus: one ring, two colours, so it shows on any ground ----------- */
  --focus-ring: #1D63DC;    /* DHL CI: a blue ring round what has focus */
  --focus-halo: #ffffff;

  /* --- ground and surfaces --------------------------------------------- */
  --ground:      #f2f2f2;   /* DHL grey-50 */
  --surface:     #ffffff;
  --surface-2:   #ebebeb;
  --surface-3:   #e5e5e5;
  --line:        #e0e0e0;
  --line-strong: #8c8c8c;   /* control borders: 3:1 on white, as CI asks */

  /* --- text ------------------------------------------------------------- */
  --ink:    #000000;
  --ink-2:  #323232;
  --text:   #4d4d4d;
  --muted:  #666666;   /* 5.7:1 on white, 5.2:1 on the grey ground */

  /* --- status, exactly as the prototypes ------------------------------- */
  --ok:        #16a34a;  --ok-bg:   #dcfce7;  --ok-text:   #166534;
  --info:      #3b82f6;  --info-bg: #dbeafe;  --info-text: #1e40af;
  --wait:      #eab308;  --wait-bg: #fef9c3;  --wait-text: #854d0e;
  --bad:       #ef4444;  --bad-bg:  #fee2e2;  --bad-text:  #991b1b;
  --bad-edge:  #fecaca;  --bad-wash:#fef2f2;
  --none:      #666666;  --none-bg: #ebebeb;  --none-text: #4d4d4d;
  --vip-bg:    #FFF3CD;  --vip-text:#8A6D00;
  --note-bg:   #FFF8E1;  --note-edge:#FFE08A; --note-ink: #4a3b00;

  /* --- shape ------------------------------------------------------------ */
  --r-card:    16px;   /* soft, chosen once: cards 16, controls 8 */
  --r-ctrl:     8px;   /* buttons, inputs, the search */
  --r-nav:      8px;
  --r-pill:    999px;
  --sidebar:   112px;  /* the icon rail */
  --topbar:     60px;
  --page-pad:   30px;

  /* --- type ------------------------------------------------------------- */
  --font:      Inter, system-ui, sans-serif;
  --font-code: 'JetBrains Mono', ui-monospace, monospace;
  --t-11: 11px; --t-12: 12px; --t-13: 13px; --t-14: 14px;
  --t-16: 16px; --t-20: 20px; --t-28: 28px;
}
