/*
 * soyybean-web design tokens — the Dec 2010 Facebook visual language.
 *
 * Every value marked [src] was read straight out of facebook.com's own stylesheets as archived
 * by the Wayback Machine (Dec 2010 – Feb 2011 builds; see inspiration/archive). Values marked
 * [sampled] were measured from archived sprites. Anything unmarked is our own extrapolation.
 *
 * Rule of thumb: if it isn't on this sheet, it didn't exist in 2010. No rounded corners, no
 * shadows beyond 1px, no colors outside the blues/grays/yellow/green below.
 */


:root {
  /* ── Blues ─────────────────────────────────────────────────────────── */
  --fb-blue:            #3b5998; /* [src] the blue: blueBar, links, logo bg            */
  --fb-blue-dark:       #29447e; /* [src] confirm-button border                       */
  --fb-blue-darker:     #1d4088; /* [src] #headNav border                             */
  --fb-blue-ink:        #1c2a47; /* [src] .uiHeader h2, profile name                  */
  --fb-blue-navy:       #0e1f5b; /* [src] input focus / dark borders                  */
  --fb-blue-mid:        #627aad; /* [src] #headNav bg, tab hover                      */
  --fb-blue-hover:      #6d84b4; /* [src] menu hover, secondary blue                  */
  --fb-blue-nav-hover:  #6d86b7; /* [src] #pageNav a:hover                            */
  --fb-blue-soft:       #899bc1; /* [src] "more" tab hover                            */
  --fb-blue-mute:       #bdc7d8; /* [src] input borders                               */
  --fb-blue-pale:       #d8dfea; /* [src] tabs, selected side-nav, box borders        */
  --fb-blue-wash:       #e5eaf1; /* [src] comment separators                          */
  --fb-blue-bg:         #edeff4; /* [src] uiBoxLightblue, comment (UFI) background    */
  --fb-blue-hover-bg:   #eff2f7; /* [src] side-nav hover                              */

  /* ── Grays ─────────────────────────────────────────────────────────── */
  --fb-text:            #333;    /* [src] body text                                   */
  --fb-text-byline:     #666;    /* [src] .fbProfileBylineFragment                    */
  --fb-text-footer:     #737373; /* [src] #pageFooter                                 */
  --fb-text-subtle:     #808080; /* [src] .fcg, .uiTextSubtitle, timestamps           */
  --fb-text-disabled:   #b8b8b8; /* [src]                                             */
  --fb-border:          #ccc;    /* [src] uiBoxGray / uiBoxWhite                      */
  --fb-border-light:    #e9e9e9; /* [src] .uiListLight — story dividers               */
  --fb-border-strong:   #aaa;    /* [src] .uiListDark                                 */
  --fb-border-curve:    #b3b3b3; /* [src] #contentCurve                               */
  --fb-gray-bg:         #f2f2f2; /* [src] uiBoxGray, section headers                  */
  --fb-gray-bg-alt:     #f7f7f7; /* [src] menu rows                                   */
  --fb-white:           #fff;

  /* ── Signal colors ─────────────────────────────────────────────────── */
  --fb-green:           #69a74e; /* [src] uiButtonSpecial ("Sign Up")                 */
  --fb-green-border:    #3b6e22; /* [src]                                             */
  --fb-yellow-bg:       #fff9d7; /* [src] uiBoxYellow — notices                       */
  --fb-yellow-border:   #e2c822; /* [src]                                             */
  --fb-highlight:       #fffbe4; /* [src] profileInfoTable .highlight                 */
  --fb-red-bg:          #ffebe8; /* [src] uiBoxRed — errors                           */
  --fb-red-border:      #dd3c10; /* [src]                                             */
  --fb-jewel-red:       #f03d25; /* notification count badge (from memory, see docs)  */

  /* ── Button gradients ([sampled] from rsrc.php/zD/r/B4K_BWwP7P5.png) ── */
  --btn-default-bg:   linear-gradient(#fff, #f5f4f5 2px, #e0e0df);
  --btn-confirm-bg:   linear-gradient(#8a9cc2, #637bad 1px, #5872a7);
  --btn-special-bg:   linear-gradient(#98c286, #75ad5b 1px, #67a54b);
  --btn-shadow:       0 1px 0 rgba(0, 0, 0, .1); /* [src] the only shadow in the system */

  /* ── Type ──────────────────────────────────────────────────────────── */
  --font-ui:   "lucida grande", tahoma, verdana, arial, sans-serif; /* [src] body */
  --fs-base:     11px;  /* [src] body, buttons, everything                         */
  --fs-story:    11px;  /* stream text is base size; actor name bold               */
  --fs-h:        13px;  /* [src] h2–h6, tabs, large buttons, composer              */
  --fs-h1:       14px;  /* [src]                                                   */
  --fs-section:  16px;  /* [src] .uiHeader h2                                       */
  --fs-name:     20px;  /* profile name in the Dec 2010 profile header             */
  --fs-hero:     18px;  /* [src] promo h1 / landing headline                       */
  --lh-base:     1.28;  /* lucida at 11px ≈ 14px lines ([src] messageBody 14px)    */

  /* ── Layout ([src] unless noted) ──────────────────────────────────── */
  --page-width:     980px;  /* #pageHead                                           */
  --bluebar-h:      41px;   /* #blueBar                                            */
  --left-col:       179px;  /* #leftCol (profile pic + side nav)                   */
  --right-col:      244px;  /* #rightCol (ads, sidebar)                            */
  --main-col:       493px;  /* fbProfilePhotoStrip / fbProfileByline width         */
  --gutter:         15px;   /* contentCol padding-top; column gaps                 */

  /* ── Sizes ─────────────────────────────────────────────────────────── */
  --pic-profile:    180px;  /* left-column profile picture width                   */
  --pic-story:      50px;   /* [src] uiProfilePhotoLarge                           */
  --pic-comment:    32px;   /* [src] uiProfilePhotoMedium                          */
  --pic-strip:      97px;   /* 5 × 97 + 4 × 2px gaps ≈ 493                          */
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 5px;           /* [src] .mbs                                          */
  --space-4: 8px;
  --space-5: 10px;          /* [src] .mvm                                          */
  --space-6: 15px;
  --space-7: 20px;

  --radius: 0;            /* say it with me: no rounded corners                   */
  --radius-dialog: 8px;   /* [src] .pop_container_advanced — the ONE exception    */
  --dialog-frame: rgba(82, 82, 82, .7); /* [src] translucent gray dialog frame    */
}
