/* Maps the older portal design tokens (style.css) onto the v3 public site
   palette and type so account, admin and sign-in pages match the public site.
   Load after style.css / app.css / account.css / admin.css. */
:root {
    --bg:           #ffffff;
    --bg-raised:    #ffffff;
    --paper:        #f0f0f0;
    --paper-2:      #e6e6e6;

    --ink:          #1b1b1b;
    --ink-2:        #454545;
    --ink-3:        #5c5c5c;
    --ink-4:        #71767a;

    --rule:         #dfe1e2;
    --rule-strong:  #a9aeb1;

    --brand:        #005ea2;
    --brand-ink:    #1a4480;
    --brand-soft:   #eff6fb;
    --brand-on:     #ffffff;

    --risk:         #b50909;
    --risk-soft:    #f4e3db;
    --risk-ink:     #8b0a03;
    --ok:           #216e1f;
    --ok-soft:      #ecf3ec;
    --ok-ink:       #154c21;
    --gold:         #ffbe2e;
    --gold-soft:    #faf3d1;
    --gold-ink:     #775540;

    --g-aplus:      #216e1f;
    --g-a:          #216e1f;
    --g-b:          #4d7c0f;
    --g-c:          #ffbe2e;
    --g-d:          #c05600;
    --g-f:          #b50909;

    --display:      "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --sans:         "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono:         ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --radius:       4px;
    --radius-md:    4px;
    --radius-lg:    6px;
    --radius-xl:    8px;
    --maxw:         1240px;
}

body { font-size: 17px; line-height: 1.55; }
h1, h2, h3, h4 { letter-spacing: 0; }
:focus-visible { outline: 4px solid #2491ff; outline-offset: 0; }
::selection { background: #005ea2; color: #fff; }
.account-body .yg-notice { display: none; }
.account-sidebar { top: 16px; }

/* Sign-in and registration pages */
.auth-aside { background: #162e51; }
.auth-aside::before { display: none; }
.auth-aside .brand-row { font-weight: 700; letter-spacing: 0; }
.auth-aside .brand-row .gov,
.auth-aside h1 em { color: #fff; font-style: normal; font-weight: 700; }
.auth-aside h1 { font-weight: 700; letter-spacing: 0; line-height: 1.15; }
.auth-aside .lede { color: #fff; }
.auth-aside .feet { color: #dfe1e2; font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; }
.auth-card h2 { font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.auth-card .kicker { font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.auth-card .account-field input,
.auth-card .account-field select,
.auth-card .account-field textarea { border: 1px solid #565c65; border-radius: 0; min-height: 44px; }
.btn, .btn-primary, .auth-pane button[type="submit"] { border-radius: 4px; box-shadow: none; font-weight: 700; }
.btn-primary { background: #005ea2; border-color: #005ea2; color: #fff; }
.btn-primary:hover { background: #1a4480; border-color: #1a4480; color: #fff; }
