/* U AND UP — light glass. White ground with soft blue light, information on clear blue-tinted glass
   (faint fill, hairline blue edge), navy type, lots of air. Loaded after theme.css. */

html:root, html:root:root{
  --paper:#F7F9FD; --surface:rgba(30,64,150,.045); --sunk:rgba(30,64,150,.035);
  --ink:#0E1F4D; --muted:#5D6B8C; --line:rgba(14,40,110,.12);
  --navy:#16337A; --navy-ink:#FFFFFF; --navy-soft:rgba(22,51,122,.08);
  --sat:#2E4A8A; --sat-soft:rgba(46,74,138,.08); --ap:#2F5E4C; --ap-soft:rgba(47,94,76,.08); --ib:#7A4F47; --ib-soft:rgba(122,79,71,.08); --book:#6E5F3E; --book-soft:rgba(110,95,62,.08);
  --wine:#A63A2B; --wine-soft:rgba(166,58,43,.08); --gold:#6E5F3E; --gold-soft:rgba(110,95,62,.08);
  --ok:#2E6A55; --ok-soft:rgba(46,106,85,.08); --bad:#A63A2B; --bad-soft:rgba(166,58,43,.08); --todo:#86561C; --todo-soft:rgba(134,86,28,.08);
  --glass:rgba(255,255,255,.55); --glass-hi:rgba(255,255,255,.75); --edge:rgba(22,51,122,.16);
  color-scheme:light;
}
html body{
  color:var(--ink);
  background:
    radial-gradient(1000px 640px at 90% -10%, rgba(120,156,236,.30), transparent 62%),
    radial-gradient(900px 620px at -10% 40%, rgba(150,180,240,.26), transparent 60%),
    radial-gradient(800px 520px at 60% 110%, rgba(110,150,230,.22), transparent 60%),
    linear-gradient(180deg, #FAFBFE 0%, #EEF3FC 60%, #F6F8FD 100%) fixed;
  background-attachment:fixed;
}
html body::before{content:"";position:fixed;inset:-10vmax;z-index:-1;pointer-events:none;
  background:
    radial-gradient(26vmax 26vmax at 80% 16%, rgba(110,150,240,.30), transparent 70%),
    radial-gradient(22vmax 22vmax at 10% 70%, rgba(90,135,235,.24), transparent 70%),
    radial-gradient(16vmax 16vmax at 50% 96%, rgba(140,170,245,.22), transparent 70%);
  filter:blur(12px)}
html body ::selection{background:rgba(22,51,122,.18)}
html body .wm{opacity:.035!important}

/* header: frosted white over the page */
html body .top{background:rgba(255,255,255,.62);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);border-bottom:1px solid var(--line);color:var(--ink)}
html body .top .brand,html body .top .brand b{color:var(--ink)}
html body .top .crest{background:var(--navy)}
html body .top .tabs a,html body .top nav a{color:#4E5C7E}
html body .top .tabs a:hover,html body .top nav a:hover{color:var(--ink)}
html body .top .tabs a[aria-current]:not([aria-current="false"]){color:var(--ink);box-shadow:inset 0 -2px 0 var(--navy)}
html body .top .tabs a.cta,html body .top .tabs a.cta[aria-current="page"]{background:var(--navy)!important;color:#fff!important;box-shadow:none}
html body .dd-m{background:rgba(255,255,255,.86);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid var(--line);border-top:2px solid var(--navy);box-shadow:0 14px 30px rgba(14,40,110,.12)}
html body .dd-m a{color:#4E5C7E!important}
html body .dd-m a:hover{background:rgba(22,51,122,.06)!important;color:var(--ink)!important}
html body .top .btn{color:var(--ink);border-color:var(--edge)}
html body .top input,html body .top select{background:rgba(255,255,255,.7);color:var(--ink);border-color:var(--edge)}

/* glass panels */
html body .card,html body .pane,html body .panel,html body .mx,html body .mxcard,html body .units,html body .person,html body .q,
html body .lab,html body .mxpurpose,html body .whobar,html body .contact .info,html body form.consult,html body .todobox,html body .gate,
html body .tblwrap,html body .dcv,html body .values div,html body .mxsteps>div,html body .subpanel .preface{
  background:var(--glass)!important;border:1px solid var(--edge)!important;
  backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%);
  box-shadow:0 1px 0 rgba(255,255,255,.7) inset, 0 16px 36px rgba(14,40,110,.08)}
html body a.card:hover,html body .mxcard:hover{background:var(--glass-hi)!important;outline:0;border-color:rgba(22,51,122,.34)!important}
html body .tag{background:rgba(22,51,122,.08);color:var(--navy)}
html body .satband{background:rgba(22,51,122,.88);color:#fff;border:0}
html body .satband p{color:#C9D4EE}
html body .satband .btn{background:#fff;color:var(--navy);border-color:#fff}

/* type */
html body .hero h1,html body .head h1{font-weight:300;letter-spacing:-.02em;color:var(--ink)}
html body .hero h1 em,html body h1 em,html body h2 em{font-weight:200;color:#3B5596}
html body .eyebrow{color:var(--muted);letter-spacing:.18em}
html body h2,html body h3{font-weight:500}

/* buttons */
html body .btn{background:rgba(255,255,255,.5);color:var(--ink);border:1px solid var(--edge)}
html body .btn:hover{border-color:var(--navy);background:rgba(255,255,255,.85)}
html body .btn.pri,html body .btn.primary{background:var(--navy);border-color:var(--navy);color:#fff}
html body .btn.pri:hover,html body .btn.primary:hover{background:#1E3F8E}

/* tables */
html body .tbl th{background:transparent;border-bottom:1px solid rgba(14,40,110,.4);color:var(--muted)}
html body .tbl td{border-bottom:1px solid var(--line)}

/* chips and toggles */
html body .subjects button,html body .setpick button,html body .chip{background:rgba(255,255,255,.55);color:var(--ink);border-color:var(--edge)}
html body .subjects button[aria-pressed="true"],html body .setpick button[aria-pressed="true"],html body .chip[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
html body .bar{background:rgba(22,51,122,.1)}html body .bar i{background:var(--navy)}

/* forms */
html body input,html body select,html body textarea{background:rgba(255,255,255,.7);color:var(--ink);border:1px solid var(--edge)}
html body input::placeholder,html body textarea::placeholder{color:#8C97B3}
html body input:focus,html body select:focus,html body textarea:focus{border-color:var(--navy)!important;box-shadow:inset 0 0 0 1px var(--navy)}

/* practice widgets outside Bluebook */
html body .qbar{background:rgba(255,255,255,.7);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
html body .qbar .num{background:var(--navy);color:#fff}
html body .choice{background:rgba(255,255,255,.6);border-color:var(--edge);color:var(--ink)}
html body .choice:hover:not(:disabled){border-color:var(--navy)}
html body .choice.sel{background:rgba(22,51,122,.07);border-color:var(--navy)}
html body .choice.sel .lt{background:var(--navy);border-color:var(--navy);color:#fff}

html body footer{border-top:1px solid var(--line)!important;background:rgba(255,255,255,.4)}
html body .top button,html body .top nav a.b{color:var(--ink);border-color:var(--edge);background:rgba(255,255,255,.5)}
html body .top button:hover,html body .top nav a.b:hover{background:rgba(255,255,255,.9);border-color:var(--navy)}
html body .top .brand span,html body .top .brand small{color:var(--muted)}
html body .satband .eyebrow{color:#C9D4EE}
