/* Shared website chrome: public documents and authenticated workbench. */
:root{--bq-ui-green:#28764b;--bq-ui-green-hover:#205d3b;--bq-ui-footer:#fff;--bq-ui-border:#dbe5d6;--bq-ui-muted:#607367}
body a,body a:hover,body a:focus,.website .text-button{text-decoration:none}
body a:not([class]),.website .text-button{color:var(--bq-ui-green)}
body a:focus-visible,body button:focus-visible{outline:3px solid #737c76;outline-offset:4px}
body a:not(.button):not(.card):not(.site-account-link):not([data-account-link]):hover{filter:brightness(.85)}
/* Same nickname/login affordance, including long nicknames. */
body header a[data-account-link],body .site-account a.site-account-link{
 display:block;box-sizing:border-box;flex:0 1 auto;min-width:0;width:auto;max-width:240px;
 min-height:44px;padding:10px 20px;margin:0;border:1px solid var(--bq-ui-green);
 border-radius:12px;background:var(--bq-ui-green);color:#fff;
 font:650 15px/22px system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
 text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none
}
body header a[data-account-link]:hover,body .site-account a.site-account-link:hover{background:var(--bq-ui-green-hover);border-color:var(--bq-ui-green-hover);color:#fff;filter:none}
/* Shared width, background, type and spacing for the footer. */
body footer,body .website .site-footer{box-sizing:border-box;padding:32px 0;margin-top:0;border-top:1px solid var(--bq-ui-border);background:var(--bq-ui-footer);color:#576c5d;font-size:14px;line-height:1.8}
body footer>.wrap,body .site-footer>.site-container{box-sizing:border-box;width:calc(100% - 64px);max-width:1180px;padding:0;margin:0 auto}
body footer strong,body .site-footer strong{font-size:20px;line-height:1.5;color:#294a35}
body footer nav,body .site-footer nav{display:flex;gap:12px 24px;flex-wrap:wrap;align-items:center;justify-content:flex-end;margin:0}
body footer nav a{white-space:nowrap;color:#536b58;font-size:14px;line-height:1.8;padding:4px 0}
body footer nav a:hover{color:var(--bq-ui-green-hover);filter:none}
/* Public HTML before/after v0.18 uses the same direct-child footer shell. */
body footer:not(.site-footer)>.wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;row-gap:8px;align-items:start}
body footer:not(.site-footer)>.wrap>strong{grid-column:1;grid-row:1}
body footer:not(.site-footer)>.wrap>nav{grid-column:2;grid-row:1 / span 2;align-self:center}
body footer:not(.site-footer)>.wrap>p{grid-column:1 / -1;margin:0}
body footer:not(.site-footer)>.wrap>strong+p{grid-column:1;grid-row:2;color:var(--bq-ui-muted);font-size:13px}
body .site-footer-content{display:flex;justify-content:space-between;align-items:center;gap:16px 24px;flex-wrap:wrap;padding:0}
body .site-footer-content>div{display:flex;flex-direction:column;gap:8px;min-width:0}
body .site-footer-note{display:block;margin:0;color:var(--bq-ui-muted);font-size:13px;line-height:1.8}
body footer .legal,body .site-footer-legal{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;line-height:2;margin:20px 0 0;padding:0;border:0;color:var(--bq-ui-muted)}
body footer .legal a,body .site-footer-legal a{margin:0;color:#536b58;overflow-wrap:anywhere}
body footer:not(.site-footer)>.wrap>p.legal{margin-top:12px}
@media(max-width:760px){
 body footer>.wrap,body .site-footer>.site-container{width:calc(100% - 36px)}
 body footer:not(.site-footer)>.wrap{display:flex;flex-direction:column;gap:8px;align-items:stretch}
 body footer:not(.site-footer)>.wrap>nav{align-self:stretch;margin-top:8px}
 body .site-footer-content{align-items:flex-start;flex-direction:column;gap:16px}
 body footer nav,body .site-footer nav{justify-content:flex-end;margin-left:auto;gap:8px 20px}
 body footer,body .website .site-footer{padding:24px 0}
 body footer .legal,body .site-footer-legal{margin-top:12px}
 body header a[data-account-link],body .site-account a.site-account-link{max-width:min(240px,100%);font-size:14px;padding:10px 16px}
 body .site-account a.site-account-link{max-width:46%;flex-shrink:0}
}

body .brand-logo,body .site-brand{overflow:visible;height:auto}body .brand-logo img,body .site-brand img{position:static!important;transform:none!important;object-fit:contain!important;width:220px!important;height:auto!important;max-width:100%}body footer,body .website .site-footer{background:#fff!important}
