/* Motorica brand for every public page (loaded after page.css / portal.css):
   the Motorica Design System's violet, Satoshi, and a dark brand bar with
   the mark. These pages are the window into the platform (Jose, 27 Oct). */
@font-face{font-family:Satoshi;src:url(/static/brand/Satoshi-Regular.otf) format("opentype");font-weight:400;font-display:swap}
@font-face{font-family:Satoshi;src:url(/static/brand/Satoshi-Medium.otf) format("opentype");font-weight:500 600;font-display:swap}
@font-face{font-family:Satoshi;src:url(/static/brand/Satoshi-Bold.otf) format("opentype");font-weight:700 900;font-display:swap}
:root{
  /* Motorica DS: violet 600 rgb(134,41,255), hover rgb(138,56,245), press rgb(99,32,188) */
  --brand:#8629ff;--brand-hover:#7a1ff0;--brand-press:#6320bc;--brand-soft:#f1e9ff;--brand-text:#6a1fd6;
  --night:#100f15;--night-2:#1b1823;
  --bg:#f6f4fa;--rule:#e7e3ef;--rule2:#f0edf5;--line:#e7e3ef;--field:#f4f2f8;--field-rule:#e5e0ee;
  --blue:var(--brand);--blue-dark:var(--brand-press);--blue-soft:var(--brand-soft);--blue-text:var(--brand-text);
  --acc:var(--brand);--acc-dark:var(--brand-press)
}
body{font-family:Satoshi,"Segoe UI",system-ui,-apple-system,sans-serif;background:var(--bg)}
/* the brand bar: full width, dark, a violet bloom */
.brandbar{background:radial-gradient(120% 180% at 15% 0%,rgba(134,41,255,.38) 0%,rgba(134,41,255,0) 55%),var(--night);color:#edeffb}
.brandbar-in{max-width:760px;margin:0 auto;padding:18px 16px 46px;display:flex;align-items:center;gap:12px}
.brandbar .mark{width:44px;height:24px;color:#fff;flex:none}
.brandbar .wordmark{font-weight:700;font-size:20px;letter-spacing:.2px;color:#fff}
/* content rides up onto the bar */
.shell,main{position:relative;margin-top:-30px}
/* a page that opens with its title (the forms): the title clears the bar, the cards still overlap it */
main>h1:first-child{margin-top:46px}
.top{display:none}
/* buttons, tabs, focus in the brand violet */
.btn.primary,button.primary{background:var(--brand);border-color:var(--brand);color:#fff}
.btn.primary:hover,button.primary:hover{background:var(--brand-hover);border-color:var(--brand-hover)}
.btn.primary:active,button.primary:active{background:var(--brand-press)}
.tabs button[aria-selected=true]{background:var(--brand);color:#fff}
.tabs button:focus-visible,.btn:focus-visible,.in:focus{outline-color:var(--brand)}
.meter i{background:linear-gradient(90deg,var(--brand),#b07bff)}
.avatar{background:var(--brand-soft);color:var(--brand-text)}
a{color:var(--brand-text)}
.card{border-color:var(--rule)}
.title,.summary h1,h1{letter-spacing:-.2px}
.shell>.lead{background:var(--card,#fff);border:1px solid var(--rule);border-radius:10px;padding:16px 20px;color:var(--ink2,#4b5563)}
