/* Shared outer shell only. Main-page .header/account responsive rules stay owned by app.css. */
.site-public-header{box-sizing:border-box;max-width:1320px;margin:0 auto;padding:30px 48px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 24px;font-family:Arial,"Helvetica Neue",sans-serif}
.site-public-header .brand{display:flex;align-items:center;white-space:nowrap;text-decoration:none;font-family:Arial,"Helvetica Neue",sans-serif;font-size:25px;font-weight:700;letter-spacing:-1.1px;line-height:1.55;color:var(--ink)}
.site-public-header .brand-mark{box-sizing:border-box;display:grid;place-items:center;flex:none;width:31px;height:34px;margin-right:10px;border:1.8px solid var(--green);border-radius:9px;color:var(--green);font-size:21px;transform:rotate(-7deg)}
.site-public-header .brand>span:not(.brand-mark):not(.brand-dot){font-weight:400}
.site-public-header .brand-dot{color:var(--green)}
.site-public-nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px;font-size:14px;line-height:1.55}
.site-public-nav a{display:inline-flex;align-items:center;min-height:44px;color:var(--green);text-underline-offset:4px}
.site-footer{box-sizing:border-box;max-width:1320px;margin:50px auto 0;padding:22px 48px 30px;border-top:1px solid var(--border);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px 24px;font:12px/1.7 Arial,"Helvetica Neue",sans-serif;color:#5e6c62}
.site-footer>span{min-width:0;justify-self:start;font:italic 18px/1.55 Georgia,serif}
.site-footer .site-version{display:block;font:11px/1.7 Arial,"Helvetica Neue",sans-serif;letter-spacing:0}
.site-footer nav{min-width:0;justify-self:center;display:flex;justify-content:center;flex-wrap:wrap;gap:8px 20px}
.site-footer a{font-size:12px;color:var(--green);padding:6px 0;text-underline-offset:4px}
.site-footer #bank-note{min-width:0;max-width:540px;justify-self:end;overflow-wrap:anywhere;margin:0;font-size:11px;line-height:1.7;text-align:right;color:#5e6c62}
.site-public-nav[hidden],.site-footer[hidden]{display:none!important}
@media(max-width:900px){
  .site-footer{grid-template-columns:minmax(0,1fr);justify-items:center;gap:13px;text-align:center}
  .site-footer>span,.site-footer nav,.site-footer #bank-note{justify-self:center}
  .site-footer #bank-note{text-align:center}
}
@media(max-width:600px){
  .site-public-header{padding:22px;gap:10px 18px}
  .site-public-header .brand{font-size:22px}
  .site-public-header .brand-mark{width:27px;height:30px;font-size:18px}
  .site-public-nav{font-size:13px;gap:4px 18px}
  .site-footer{margin-top:35px;padding:22px}
}
