/* The header bar of Design Ledger and the Learning Center, one stylesheet for both.
   It lives here, in the Learning Center; Design Ledger links it from
   https://learningcenter.designledger.co/assets-dl/dl-top.css. Change the bar here and both sites follow. */
.dl-top{position:sticky;top:0;z-index:60;background:#0d0d0f;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;border-bottom:1px solid rgba(255,255,255,.06)}
.dl-top__in{max-width:1800px;margin:0 auto;height:80px;padding:0 32px;display:flex;align-items:center;gap:24px}
.dl-top a{text-decoration:none}
.dl-top__brand{display:flex;align-items:center;gap:16px;color:#fff;flex:0 0 auto}
.dl-top__brand svg{width:40px;height:37px;display:block}
.dl-top__bt{display:flex;flex-direction:column;gap:3px}
.dl-top__bm{font-size:18px;font-weight:900;letter-spacing:.05em;line-height:1.2;white-space:nowrap}
.dl-top__bs{font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;opacity:.8;line-height:1}
.dl-top__search{display:flex;align-items:center;gap:10px;width:260px;height:44px;padding:0 10px 0 16px;border-radius:10px;background:#1a1a1a;color:#8a8a92;cursor:text;flex:0 0 auto;margin-left:24px}
.dl-top .dl-top__search input{flex:1;min-width:0;height:auto;margin:0;background:none;border:0;outline:0;box-shadow:none;color:#fff;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;padding:0}
.dl-top__search input::placeholder{color:#8a8a92}
.dl-top__search kbd{font-family:inherit;font-size:11px;font-weight:500;line-height:1;color:#8a8a92;border:1px solid rgba(255,255,255,.14);border-radius:5px;padding:4px 6px}
.dl-top__nav{display:flex;align-items:center;gap:4px;flex:1;min-width:0}
.dl-top__nav>a{display:flex;align-items:center;gap:6px;height:44px;padding:0 12px;border-radius:8px;color:#b4b4b4;font-size:13px;font-weight:500;white-space:nowrap}
.dl-top__nav>a:hover{color:#fff}
.dl-top__right{display:flex;align-items:center;gap:12px;margin-left:auto;flex:0 0 auto}
.dl-top__pill{display:inline-flex;align-items:center;height:34px;padding:0 16px;border-radius:999px;border:1px solid rgba(255,255,255,.4);color:#fff;font-size:13px;font-weight:500;white-space:nowrap}
.dl-top__pill:hover{border-color:#fff}
.dl-top__cart{gap:8px}
.dl-top__pill--primary{background:#8b5cf6;border-color:#8b5cf6}
.dl-top__pill--primary:hover{background:#7c3aed;border-color:#7c3aed}
.dl-top__acct{display:grid;place-items:center;width:40px;height:40px;color:#fff;opacity:.85}
.dl-top__acct:hover{opacity:1}
.dl-top__nav{align-self:stretch}
.dl-top__nav{flex-wrap:wrap;overflow:hidden;align-content:flex-start}
@media (max-width:1560px){.dl-top__in{gap:16px}
.dl-top__nav>a{padding:0 10px}}
@media (max-width:900px){.dl-top__nav{display:none}
.dl-top__pill:not(.dl-top__cart){display:none}
.dl-top__in{height:72px;padding:0 16px}
.dl-top__bs{display:none}
.dl-top__bm{font-size:16px}}
@media (max-width:480px){.dl-top .dl-top__in{gap:6px}
.dl-top .dl-top__right{gap:6px}
.dl-top .dl-top__brand{gap:10px}
.dl-top .dl-top__brand svg{width:34px;height:31px}
.dl-top .dl-top__bm{font-size:14px}
.dl-top .dl-top__acct{width:34px;height:34px}}
@media (max-width:374px){.dl-top .dl-top__in{padding:0 12px}
.dl-top .dl-top__bm{font-size:13px}
.dl-top .dl-top__brand{gap:8px}}
.dl-top__nav{align-content:center}
.dl-top__nav>a.is-on{color:#fff;background:rgba(255,255,255,.08)}


/* Learning Center header pieces: the masterclass dropdown, the cart count and the menu button. */
.dl-top__nav>a,.dl-top__drop>a{display:flex;align-items:center;gap:6px;height:44px;padding:0 12px;border-radius:8px;color:#b4b4b4;font-size:13px;font-weight:500;white-space:nowrap}
.dl-top__nav>a:hover,.dl-top__drop>a:hover{color:#fff}
.dl-top__off{display:flex;align-items:center;height:44px;padding:0 12px;color:rgba(255,255,255,.36);font-size:13px;font-weight:500;white-space:nowrap;cursor:default;user-select:none}
.dl-top__drop>a.is-on{color:#fff;background:rgba(255,255,255,.08)}
.dl-top__chev{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;opacity:.6;transition:transform .15s}
.dl-top__drop:focus-within .dl-top__chev,.dl-top__drop.is-open .dl-top__chev{transform:rotate(180deg)}
.dl-top__count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#8b5cf6;color:#fff;font-size:11px;font-weight:600}
.dl-top__count[hidden]{display:none}
.dl-top__nav>.dl-top__off,.dl-top__nav>.dl-top__drop{height:100%}
.dl-top__drop{position:static;display:flex;align-items:center;align-self:stretch}
.dl-top__drop:focus-within .dl-mega,.dl-top__drop.is-open .dl-mega{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.dl-top__menu{display:none;align-items:center;gap:8px;height:36px;padding:0 12px;border-radius:8px;border:1px solid rgba(255,255,255,.18);background:none;color:#fff;font-family:inherit;font-size:13px;font-weight:500;line-height:1;cursor:pointer}
.dl-top__menu-i{width:14px;height:10px;border-top:1.5px solid currentColor;border-bottom:1.5px solid currentColor;position:relative}
.dl-top__menu-i:after{content:"";position:absolute;left:0;right:0;top:50%;border-top:1.5px solid currentColor;transform:translateY(-50%)}
@media (max-width:1560px){.dl-top__nav>a,.dl-top__drop>a,.dl-top__off{padding:0 10px}}
@media (max-width:900px){.dl-top__menu{display:inline-flex}}
@media (max-width:1100px){.dl-top .dl-top__menu{display:inline-flex}}

/* Both sites: squared pills, Cart as its icon alone, Start Genesis Block filled, no line on the cart. */
.dl-top .dl-top__pill{border-radius:7px}
.dl-top .dl-top__pill--primary,.dl-top .dl-top__pill--primary:hover{border-color:transparent}
.dl-top .dl-top__cart,.dl-top .dl-top__cart:hover{border-color:transparent}
.dl-top .dl-top__cart{width:34px;padding:0;gap:0;justify-content:center;position:relative}
.dl-top .dl-top__cart:hover{background:rgba(255,255,255,.08)}
.dl-top .dl-top__cart .dl-top__count{position:absolute;top:-5px;right:-5px}
.dl-top__cart-i{flex:none}

/* Search: one fixed size with its shortcut key; it steps out before the bar would crowd. */
.dl-top .dl-top__search{display:flex;align-items:center;gap:10px;width:160px;height:44px;box-sizing:border-box;margin-left:8px;padding:0 10px 0 14px;border-radius:10px;background:#1a1a1a;color:#8a8a92;position:static}
.dl-top .dl-top__search svg{flex:0 0 16px}
.dl-top .dl-top__search input{position:static;flex:1;min-width:0;width:auto;height:auto;padding:0;background:none;color:#fff;box-shadow:none}
.dl-top .dl-top__search kbd{display:inline-block;flex:none}
@media (max-width:1359px){.dl-top .dl-top__search{display:none}}

/* The list that drops below the search: masterclasses, lessons and pages. */
.dl-sd{position:fixed;z-index:200;box-sizing:border-box;max-height:min(70dvh,490px);overflow-y:auto;padding:12px;border-radius:16px;background:#333;color:#8a8a92;box-shadow:0 24px 64px rgba(0,0,0,.4);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}
.dl-sd__meta{padding:8px 12px 12px;font-size:11px;line-height:1.6;color:#b4b4b4}
.dl-sd__item{display:block;padding:12px;border-radius:8px;text-decoration:none;color:inherit}
.dl-sd__item[aria-selected="true"]{background:rgba(255,255,255,.07)}
.dl-sd__title{display:flex;gap:16px;justify-content:space-between;font-size:14px;color:#fff}
.dl-sd__title small{flex:0 0 auto;font-size:10px;line-height:20px;color:#b4b4b4}
.dl-sd__desc{display:block;margin-top:4px;font-size:12px;line-height:1.6;color:#b4b4b4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.dl-sd__hint{display:flex;gap:20px;padding:12px 12px 4px;font-size:10px;color:#b4b4b4}

/* Assessment shows once the bar has room for it beside the search. */
.dl-top .dl-top__right .dl-top__pill:not(.dl-top__pill--primary):not(.dl-top__cart){display:none}
@media (min-width:1480px){.dl-top .dl-top__right .dl-top__pill:not(.dl-top__pill--primary):not(.dl-top__cart){display:inline-flex}}
@media (max-width:1180px){.dl-top .dl-top__nav>a,.dl-top .dl-top__drop>a,.dl-top .dl-top__off{padding:0 8px}}
@media (max-width:1100px){.dl-top .dl-top__nav{display:none}}

/* Light switch, as in the Learning Center header. */
.dl-top .dl-theme-switch{position:relative;display:grid;place-items:center;width:40px;height:40px;padding:0;margin:0;border:1px solid rgba(255,255,255,.22);border-radius:7px;background:transparent;color:#fff;opacity:.85;cursor:pointer;flex:0 0 auto}
.dl-top .dl-theme-switch:hover{opacity:1;background:rgba(255,255,255,.08)}
.dl-top .dl-theme-switch:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.dl-top .dl-theme-switch svg{position:absolute;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:opacity .18s ease,transform .18s ease}
.dl-top .dl-theme-switch .sun{opacity:0;transform:scale(.72)}
.dl-top .dl-theme-switch[aria-checked="true"] .sun{opacity:1;transform:none}
.dl-top .dl-theme-switch[aria-checked="true"] .moon{opacity:0;transform:scale(.72)}
@media (max-width:991px){.dl-top .dl-theme-switch{width:36px;height:36px}}
@media (max-width:480px){.dl-top .dl-theme-switch{width:34px;height:34px}}

/* Design Ledger pieces seated in the bar. */
.dl-top.dl-top--dl{position:relative;top:auto;z-index:2}
.dl-top.dl-top--dl .dl-top__cart{cursor:default;user-select:none}
.dl-top.dl-top--dl .dl-top__search .portal-search{display:flex;align-items:center;flex:1;min-width:0;height:100%}
.dl-top.dl-top--dl .dl-top__search .search-trigger{display:flex;align-items:center;gap:10px;flex:1;min-width:0;height:100%;margin:0;padding:0;border:0;border-radius:0;background:none;color:#8a8a92;cursor:text}
.dl-top.dl-top--dl .dl-top__search .search-trigger svg{flex:0 0 16px}
.dl-top.dl-top--dl .op-wallet-icon{display:grid;place-items:center;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border:0;border-radius:0;background:none;color:#fff;opacity:.85}
.dl-top.dl-top--dl .op-wallet-icon:hover{opacity:1;background:none}
.dl-top.dl-top--dl .op-wallet-icon svg{width:18px;height:18px}
.dl-top.dl-top--dl .header-icons-mobile,.dl-top.dl-top--dl .header-search-mobile{display:none}
@media (max-width:1100px){
  .dl-top.dl-top--dl .header-icons-mobile{display:flex;align-items:center;gap:2px}
  .dl-top.dl-top--dl .header-icons-mobile a{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:rgba(255,255,255,.66)}
  .dl-top.dl-top--dl .header-icons-mobile a svg{width:21px;height:21px}
  .dl-top.dl-top--dl .header-icons-mobile a.is-active{color:#c4b0ff;background:rgba(181,155,255,.16)}
  .dl-top.dl-top--dl .header-search-mobile{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:12px;background:none;color:rgba(255,255,255,.82)}
  .dl-top.dl-top--dl .dl-top__pill--primary{display:inline-flex;order:9}
  .dl-top.dl-top--dl .dl-top__right{gap:6px}
}
/* Phones: Design Ledger's phone bar, the mark, the four sections, search, wallet and Apply. */
@media (max-width:760px){
  .dl-top.dl-top--dl .dl-top__in{height:64px;padding:0 12px;gap:0}
  .dl-top.dl-top--dl .dl-top__bt,.dl-top.dl-top--dl .dl-top__cart,.dl-top.dl-top--dl .dl-theme-switch{display:none}
  .dl-top.dl-top--dl .dl-top__brand{display:grid;place-items:center;width:40px;height:44px;gap:0}
  .dl-top.dl-top--dl .dl-top__brand svg{width:28px;height:auto}
  .dl-top.dl-top--dl .dl-top__right{flex:1;justify-content:space-between;margin-left:0;gap:0}
  .dl-top.dl-top--dl .header-icons-mobile{display:contents}
  .dl-top.dl-top--dl .dl-top__pill--primary{height:32px;padding:0 12px;font:600 12.5px/1 Inter,Arial,sans-serif;flex:none}
  /* The phone bar never runs past the screen: the icons give way before the button does. */
  .dl-top.dl-top--dl .dl-top__in{min-width:0}
  .dl-top.dl-top--dl .dl-top__right{min-width:0}
  .dl-top.dl-top--dl .header-icons-mobile a,.dl-top.dl-top--dl .header-search-mobile,.dl-top.dl-top--dl .op-wallet-icon{flex:0 1 40px;width:auto!important;min-width:26px!important;padding:0}
  .dl-top.dl-top--dl .dl-top__brand{flex:0 1 40px;min-width:30px}
  .dl-top.dl-top--dl .operator-bar{flex:0 1 40px;min-width:26px}
}
@media (max-width:360px){.dl-top.dl-top--dl .dl-top__in{padding:0 8px}.dl-top.dl-top--dl .dl-top__pill--primary{padding:0 9px;font-size:11.5px}.dl-top.dl-top--dl .header-icons-mobile a,.dl-top.dl-top--dl .header-search-mobile,.dl-top.dl-top--dl .op-wallet-icon,.dl-top.dl-top--dl .operator-bar{min-width:24px!important}}

/* The menu sits in the middle of the bar, between the search and the right hand buttons, signed in or not. */
.dl-top .dl-top__nav{justify-content:center}
