/* The shared chrome: one header family, one footer family, on every page.
   Self-contained on purpose — it sits next to five older stylesheets, so
   every value it needs is declared here and scoped to .q-* classes. */
@font-face{font-family:Figtree;src:url('/fonts/figtree.woff2') format('woff2');font-display:swap}
@font-face{font-family:"Bricolage Grotesque";src:url('/fonts/bricolage.woff2') format('woff2');font-display:swap}
:root{--q-paper:#f8f8fa;--q-ink:#0b1538;--q-muted:#596173;--q-blue:#084bff;--q-blue-dark:#003bd4;--q-line:#dce0e7;--q-surface:#fff;--q-support:#edf2ff;--q-footer-ink:#c9d1e6;--q-body:Figtree,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;--q-display:"Bricolage Grotesque",Figtree,"Microsoft YaHei",sans-serif}
.q-bar,.q-header,.q-cta,.q-footer,.q-compact,.q-sheet,.q-tabs{font-family:var(--q-body);font-size:16px;line-height:1.5;box-sizing:border-box;letter-spacing:0}
.q-bar *,.q-header *,.q-cta *,.q-footer *,.q-compact *,.q-sheet *,.q-tabs *{box-sizing:border-box}
.q-header a,.q-footer a,.q-compact a,.q-cta a,.q-bar a,.q-sheet a,.q-tabs a{text-decoration:none;color:inherit}
.q-header img,.q-footer img,.q-cta img{max-width:100%}
.q-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.q-ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}

/* announcement bar */
.q-bar{display:flex;align-items:center;justify-content:center;gap:10px;min-height:36px;padding:6px 16px;background:var(--q-support);color:var(--q-blue);font-size:13px;font-weight:600;text-align:center}
.q-bar a{text-decoration:underline;text-underline-offset:3px}

/* header (explicit values so older element rules — header, select, button, a — cannot restyle it) */
.q-header{max-width:none;width:auto;margin:0;position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:24px;height:72px;padding:0 40px;background:var(--q-surface);border-bottom:1px solid var(--q-line);color:var(--q-ink)}
.q-brand{display:flex;align-items:center;gap:12px;flex-shrink:0;width:auto;padding:0}
.q-brand img{height:40px;width:auto;display:block}
.q-ws{display:flex;flex-direction:column;line-height:1.15}
.q-ws strong{font-size:13px;color:var(--q-ink)}.q-ws span{font-size:11px;color:var(--q-muted)}
.q-nav{display:flex;gap:4px;flex:1;min-width:0}
.q-nav a{width:auto;white-space:nowrap;color:var(--q-ink);font-weight:500;padding:9px 12px;border-radius:10px;font-size:15px;display:inline-flex;align-items:center;gap:8px}
.q-nav a:hover{background:var(--q-paper)}
.q-nav a[aria-current=page]{background:var(--q-support);color:var(--q-blue);font-weight:600}
.q-nav .q-ic{display:none}
.q-utils{display:flex;align-items:center;gap:12px;margin-left:auto;flex-shrink:0}
.q-select{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 10px 0 12px;border:1px solid var(--q-line);border-radius:10px;font-size:13px;color:var(--q-ink);background:var(--q-surface);white-space:nowrap;position:relative}
.q-select .lab{color:var(--q-muted)}
.q-select select{appearance:none;-webkit-appearance:none;border:0;border-radius:0;background:transparent;font:inherit;font-size:13px;color:inherit;padding:0 16px 0 0;margin:0;min-height:0;height:auto;width:auto;cursor:pointer;max-width:150px;display:block}
.q-select select:focus-visible{outline:3px solid var(--q-blue);outline-offset:2px;border-radius:6px}
.q-select::after{content:"";position:absolute;right:11px;top:50%;width:6px;height:6px;border-right:1.5px solid var(--q-muted);border-bottom:1.5px solid var(--q-muted);transform:translateY(-70%) rotate(45deg);pointer-events:none}
.q-link{color:var(--q-ink);font-weight:600;font-size:15px;white-space:nowrap;padding:9px 6px;border-radius:10px}
.q-link:hover{color:var(--q-blue)}
.q-btn{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 20px;border-radius:12px;font-weight:600;font-size:15px;border:1px solid transparent;cursor:pointer;font-family:inherit;transition:background .18s,transform .18s}
.q-btn.q-primary{background:var(--q-blue);color:#fff}.q-btn.q-primary:hover{background:var(--q-blue-dark)}
.q-btn.q-outline{background:var(--q-surface);color:var(--q-ink);border-color:var(--q-line)}.q-btn.q-outline:hover{background:var(--q-support)}
.q-btn:active{transform:translateY(1px)}
.q-short{display:none}
.q-chip{display:inline-flex;align-items:center;gap:8px;color:var(--q-ink);font-weight:600;font-size:14px;white-space:nowrap;padding:4px 8px 4px 4px;border-radius:24px}
.q-chip:hover{background:var(--q-paper)}
.q-chip span:last-child{max-width:160px;overflow:hidden;text-overflow:ellipsis}
.q-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--q-support);color:var(--q-blue);font-weight:700;font-size:13px;flex-shrink:0}
.q-menu{display:none;width:44px;height:44px;border:1px solid var(--q-line);border-radius:10px;background:var(--q-surface);place-items:center;cursor:pointer;padding:0}
.q-menu i{display:block;width:18px;height:2px;background:var(--q-ink);box-shadow:0 -6px 0 var(--q-ink),0 6px 0 var(--q-ink)}
.q-menu[aria-expanded=true] i{background:transparent;box-shadow:none;position:relative}
.q-menu[aria-expanded=true] i::before,.q-menu[aria-expanded=true] i::after{content:"";position:absolute;left:0;top:0;width:18px;height:2px;background:var(--q-ink);transform:rotate(45deg)}
.q-menu[aria-expanded=true] i::after{transform:rotate(-45deg)}
:where(.q-header) :focus-visible{outline:3px solid var(--q-blue);outline-offset:3px}

/* phone menu sheet */
.q-sheet{display:none;position:fixed;inset:60px 0 0 0;z-index:39;background:var(--q-surface);padding:16px 20px 32px;overflow:auto;flex-direction:column;gap:6px}
.q-sheet[data-open=true]{display:flex}
.q-sheet a{display:flex;align-items:center;gap:12px;padding:14px 12px;border-radius:12px;font-size:17px;font-weight:600;color:var(--q-ink)}
.q-sheet a[aria-current=page]{background:var(--q-support);color:var(--q-blue)}
.q-sheet .q-sheet-actions{display:flex;flex-direction:column;gap:10px;margin-top:14px;padding-top:18px;border-top:1px solid var(--q-line)}
.q-sheet .q-sheet-actions .q-btn{width:100%}
.q-sheet .q-select{margin-top:12px;align-self:flex-start}

/* CTA band + full footer */
.q-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;padding:40px 48px 0;background:var(--q-support);color:var(--q-ink)}
.q-cta>div{padding-bottom:40px}
.q-cta h2{font-family:var(--q-display);font-size:34px;font-weight:800;line-height:1.15;letter-spacing:-.02em;margin:0;text-wrap:balance}
.q-cta p{margin:10px 0 20px;color:var(--q-muted);max-width:56ch;text-wrap:balance}
.q-cta .actions{display:flex;gap:12px;flex-wrap:wrap}
.q-cta img{height:170px;width:auto;display:block}
.q-footer{background:var(--q-ink);color:var(--q-footer-ink);padding:44px 48px 28px}
.q-footer-grid{display:grid;grid-template-columns:1.6fr repeat(4,minmax(0,1fr));gap:32px;max-width:1344px;margin:0 auto}
.q-footer .holding{display:inline-block;background:#fff;padding:8px 12px;border-radius:10px}
.q-footer .holding img{height:34px;width:auto;display:block}
.q-footer .mission{margin:16px 0 0;font-size:14px;max-width:34ch;color:#fff}
.q-footer .trust{margin:14px 0 0;font-size:12.5px;line-height:1.5;max-width:42ch}
.q-footer .trust b{color:#fff;font-weight:600}
.q-footer h4{font-family:var(--q-body);font-size:14px;color:#fff;margin:0 0 12px;font-weight:700;letter-spacing:0}
.q-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.q-footer ul a{color:var(--q-footer-ink);font-size:14px}.q-footer ul a:hover{color:#fff}
.q-legal{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin:36px auto 0;padding-top:20px;border-top:1px solid #263252;font-size:13px;max-width:1344px}
.q-legal .q-select{background:transparent;color:#fff;border-color:#35426a}.q-legal .q-select .lab{color:var(--q-footer-ink)}.q-legal .q-select select{color:#fff}.q-legal .q-select select option{color:var(--q-ink)}
.q-legal .links{display:flex;flex-wrap:wrap;gap:18px;margin-left:auto}.q-legal a{color:var(--q-footer-ink)}.q-legal a:hover{color:#fff}

/* compact footer (inside the product) */
.q-compact{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;padding:18px 48px;border-top:1px solid var(--q-line);background:var(--q-surface);color:var(--q-muted);font-size:13px}
.q-compact .links{margin-left:auto;display:flex;gap:18px;align-items:center}.q-compact a{color:var(--q-muted)}.q-compact a:hover{color:var(--q-ink)}
.q-compact .q-select{height:34px}

/* page bodies that use the chrome keep the header at the top and the footer at the bottom */
.q-page{min-height:100vh;display:flex;flex-direction:column}
.q-page>main{flex:1;min-width:0}

/* Three sizes. Tablet (640–1023): a 64 px header that keeps the navigation
   labels and drops the workspace caption, the name and the language label;
   phone (< 640): a 60 px header with a menu and, in the workspaces, a bottom
   tab bar. The public header has five links, so it takes the phone form up to
   767 px. */
@media(max-width:1023px){
  .q-header{height:64px;padding:0 20px;gap:12px}.q-brand img{height:34px}.q-ws{display:none}
  .q-nav{gap:2px}.q-nav a{padding:8px 9px;font-size:14px}
  .q-utils{gap:8px}.q-utils .q-chip span:last-child{display:none}.q-header.is-workspace .q-utils .q-chip{display:none}
  .q-utils .q-btn.q-outline{min-height:40px;padding:0 12px;font-size:13px}.q-utils .q-btn.q-primary{min-height:40px;padding:0 14px;font-size:14px}
  .q-header .q-long{display:none}.q-header .q-short{display:inline}.q-link{font-size:14px}
  .q-select{height:40px;padding:0 8px 0 10px;font-size:13px}.q-select .lab{display:none}
  .q-header .q-select:has([data-chrome-locale]){width:40px;padding:0;justify-content:center}.q-header .q-select:has([data-chrome-locale]) select{position:absolute;inset:0;width:100%;opacity:0}.q-header .q-select:has([data-chrome-locale])::after{display:none}.q-header .q-select:has([data-chrome-locale]) .q-ic{width:20px;height:20px}
  .q-header[data-kind=public] .q-select{display:none}
  .q-cta{padding:32px 28px 0}.q-cta>div{padding-bottom:32px}.q-cta h2{font-size:28px}.q-cta img{height:140px}
  .q-footer{padding:36px 28px 24px}.q-footer-grid{grid-template-columns:1.4fr 1fr 1fr;gap:28px}
  .q-compact{padding:16px 24px}
}
@media(max-width:767px){
  .q-header[data-kind=public]{height:60px;padding:0 12px;gap:8px}.q-header[data-kind=public] .q-brand img{height:32px}
  .q-header[data-kind=public]>.q-nav{display:none}.q-header[data-kind=public] .q-menu{display:grid}
  .q-header[data-kind=public] .q-utils .q-link{display:none}.q-header[data-kind=public] .q-select{display:inline-flex}
  .q-header[data-kind=public] .q-utils .q-btn.q-primary{padding:0 12px}
}
@media(max-width:639px){
  .q-header{height:60px;padding:0 12px;gap:8px}.q-brand img{height:32px}
  .q-header>.q-nav{display:none}.q-menu{display:grid}
  .q-utils .q-link{display:none}.q-header[data-kind=public] .q-utils .q-btn.q-outline{display:none}
  .q-utils .q-btn.q-primary{padding:0 12px}
  .q-cta{grid-template-columns:1fr;padding:26px 20px 0}.q-cta>div{padding-bottom:26px}.q-cta h2{font-size:26px}.q-cta p{font-size:15px}.q-cta img{display:none}
  .q-footer{padding:28px 20px 22px}.q-footer-grid{grid-template-columns:1fr 1fr;gap:18px}.q-footer-grid>div:first-child{grid-column:1/-1}.q-footer .trust{display:none}
  .q-legal{margin-top:22px;gap:10px 16px}.q-legal .links{margin-left:0}
  .q-compact{padding:14px 16px;font-size:12px}.q-compact .links{margin-left:0}
  /* signed-in workspaces keep their navigation as a bottom tab bar on phones */
  .q-tabs{display:grid;grid-template-columns:repeat(var(--q-tab-count,3),minmax(0,1fr));position:fixed;inset:auto 0 0 0;z-index:38;background:var(--q-surface);border-top:1px solid var(--q-line);padding-bottom:env(safe-area-inset-bottom)}
  .q-tabs a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 0 8px;font-size:11px;color:var(--q-muted);font-weight:600}
  .q-tabs a[aria-current=page]{color:var(--q-blue)}.q-tabs .q-ic{width:22px;height:22px;display:block}
  body.q-has-tabs{padding-bottom:76px}
}
@media(min-width:640px){.q-tabs{display:none}}
@media(prefers-reduced-motion:reduce){.q-btn{transition:none}}
