:root {
  --sq-paper: #f8f7f2;
  --sq-ink: #30333f;
  --sq-muted: #626c72;
  --sq-line: #dedfdc;
  --sq-soft: #f0f1ee;
  --sq-teal: #196b85;
  --sq-lemon: #dcb92d;
  --sq-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sq-serif: Georgia, "Times New Roman", serif;
}

html {
  min-height: 100%;
  height: auto;
  background-color: var(--sq-paper);
}
body.sq-site {
  margin: 0;
  min-height: 100vh;
  height: auto;
  background: var(--sq-paper);
  color: var(--sq-ink);
  font: 15px/1.55 var(--sq-sans);
}
body.sq-site .sqzme-container {
  min-height: calc(100vh - 64px);
  height: auto;
  background-color: transparent;
  font-family: var(--sq-sans);
  font-size: 15px;
}
body.sq-site.sq-dix,
body.sq-site.sq-dix .sqzme-container { background-color: var(--sq-ink); }
body.sq-site.sq-home,
body.sq-site.sq-dix {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
body.sq-site.sq-home .sqzme-container,
body.sq-site.sq-dix .sqzme-container {
  flex: 1 0 auto;
  min-height: 0;
}
body.sq-site.sq-home .sqzme-footer,
body.sq-site.sq-dix .sqzme-footer { flex: none; }
body.sq-site.sq-dix .sqzme-content #openModal,
body.sq-site.sq-dix .sqzme-content #fileRequest { color: #e4e7e6 !important; }
body.sq-site .pure-g [class*="pure-u"] { font-family: var(--sq-sans) !important; }
body.sq-site h1, body.sq-site h2, body.sq-site h3, body.sq-site h4,
body.ac-site h1, body.ac-site h2, body.ac-site h3, body.ac-site h4 {
  font-family: var(--sq-sans);
  font-weight: 660;
  letter-spacing: -.03em;
  line-height: 1.17;
  font-variant: normal;
}
body.sq-site h1 { font-size: clamp(30px, 3.8vw, 52px); }
body.sq-site h2 { font-size: clamp(23px, 2.6vw, 32px); }
body.sq-site h3 { font-size: 20px; }
body.ac-site h1 { font-size: clamp(36px, 4.5vw, 58px); font-weight: 670; }
body.ac-site h2 { font-size: clamp(27px, 3vw, 35px); font-weight: 660; }
body.ac-site h3 { font-size: 21px; font-weight: 660; }
body.ac-site .ac-reading-page li { font-family: var(--sq-serif); }
body.sq-site .sqzme-splash-quote { font-family: var(--sq-serif); }
body.sq-site :is(a, button, input, select, summary):focus-visible,
body.ac-site :is(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--sq-teal);
  outline-offset: 3px;
}
.sq-skip { position: absolute; top: -100px; left: 12px; z-index: 80; background: white; padding: 8px 12px; }
.sq-skip:focus { top: 8px; }

body.sq-site .sqzme-navigation {
  position: relative;
  top: auto;
  width: 100%;
  height: auto;
  min-height: 53px;
  margin: 0;
  overflow: visible;
  background: var(--sq-ink);
  border-bottom: 3px solid var(--sq-lemon);
  box-shadow: none;
  z-index: 30;
  transition: none;
}
body.sq-site .sqzme-navigation-info { min-height: 74px; }
.sq-nav-inner {
  width: min(calc(100% - 44px), 1180px);
  min-height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.sqzme-navigation-info .sq-nav-inner { min-height: 71px; }
.sq-brand { display: inline-flex; align-items: center; white-space: nowrap; text-decoration: none; font: 400 23px/1 var(--sq-sans); letter-spacing: -.035em; }
.sq-brand svg { width: 21px; height: 21px; flex: none; fill: var(--sq-lemon); margin-right: 6px; transform-box: fill-box; transform-origin: center; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sq-brand:hover svg { animation: sq-lemon-wiggle 360ms ease-in-out 1; }
}
@keyframes sq-lemon-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  55% { transform: rotate(6deg); }
  80% { transform: rotate(-3deg); }
}
.sq-brand-sqz { color: #a0a6ad; }
.sq-brand-me { color: #f0f0ee; }
.sq-site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(13px, 2vw, 25px); }
.sq-site-nav > a, .sq-account-menu > summary {
  color: #e4e7e6;
  text-decoration: none;
  font: 600 13px/1.3 var(--sq-sans);
  white-space: nowrap;
}
.sq-site-nav > a:hover, .sq-site-nav > a[aria-current="page"], .sq-account-menu > summary:hover {
  color: white;
  text-decoration: underline;
  text-decoration-color: var(--sq-lemon);
  text-underline-offset: 6px;
}
.sq-site-nav > a.sq-access { background: var(--sq-lemon); color: var(--sq-ink); padding: 7px 12px; border-radius: 3px; }
.sq-site-nav > a.sq-access:hover { background: #e9c943; text-decoration: none; }
.sq-account-menu { position: relative; margin-left: 1px; padding-left: 17px; border-left: 1px solid #747882; }
.sq-account-menu > summary { cursor: pointer; list-style: none; }
.sq-account-menu > summary::-webkit-details-marker { display: none; }
.sq-account-menu > summary::after { content: "⌄"; margin-left: 5px; font-size: 14px; }
.sq-account-menu > div { position: absolute; right: 0; top: calc(100% + 17px); min-width: 145px; padding: 6px; background: white; border: 1px solid var(--sq-line); box-shadow: 0 8px 20px #30333f24; }
.sq-account-menu a { display: block; color: var(--sq-ink); text-decoration: none; padding: 7px 9px; font-size: 13px; }
.sq-account-menu a:hover { background: var(--sq-soft); color: var(--sq-teal); }
.sq-menu-toggle { display: none; background: transparent; border: 1px solid #858991; color: white; padding: 5px 10px; border-radius: 3px; font-size: 12px; font-weight: 650; }

body.sq-site .sqzme-content { padding: 31px 24px 74px; }
body.sq-site.sq-workbench .sqzme-content { padding-top: 23px; }
body.sq-site.sq-home .sqzme-content { display: flow-root; padding-bottom: 16px; }
body.sq-site.sq-dix .sqzme-content { padding-top: 14px; padding-bottom: 12px; }
body.sq-site.sq-dix #topbar { margin-top: 14px; }
body.sq-site.sq-dix #chart svg { display: block; }
body.sq-site .sqzme-content :is(input, select, textarea) { font-family: var(--sq-sans); }
body.sq-site .sqzme-content :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]) { border-color: #c8cfcc; }
body.sq-site .sqzme-content .ideas-page { color: var(--sq-ink); }
body.sq-site .ideas-header h1 { font-size: 32px; }
body.sq-site .ideas-summary button { border-color: var(--sq-line); border-top: 2px solid var(--sq-lemon); border-radius: 0; }
body.sq-site .ideas-table th { background: var(--sq-soft); }
body.sq-site .ideas-table-wrap { border-color: var(--sq-line); }
body.sq-site .sqzme-content #notes { background: transparent; border-top: 1px solid var(--sq-line); box-shadow: none; border-radius: 0; }
body.sq-site .sqzme-content #noteDetails { background: var(--sq-soft); border-left: 3px solid var(--sq-lemon); box-shadow: none; border-radius: 0; }
body.sq-site .sqzme-content #noteResults > li { border-color: var(--sq-line); }
body.sq-site .sqzme-content .sqzme-splash-button { background: var(--sq-ink) !important; border-radius: 4px; }
body.sq-site .sqzme-content .sqzme-splash-button:hover { background: white !important; }
body.sq-site .sqzme-content a.xlink::after { content: "↗"; font-family: var(--sq-sans); font-size: .7em; position: static; margin-left: .2em; }
body.sq-site .sqzme-content #openModal, body.sq-site .sqzme-content #fileRequest { color: var(--sq-teal) !important; font-size: 12px; font-weight: 650; }
body.sq-site .sqzme-dash-button { display: inline-block; margin-left: 4px; color: var(--sq-teal); font-size: 12px; font-weight: 650; text-decoration: none; }
body.sq-site .sq-remove-label { color: #a04d4c; margin-left: 10px; font-size: 12px; font-weight: 650; }
body.sq-site .sqzme-flash-message { top: 54px; background: #f3f8f8; border-left: 3px solid var(--sq-teal); color: var(--sq-ink); }

body.sq-site .sqzme-footer {
  position: relative;
  height: auto;
  min-height: 60px;
  margin: 0;
  background: #f2f2ee;
  border-top: 1px solid #d8dbd6;
  color: var(--sq-muted);
  z-index: 10;
}
.sq-footer-inner { width: min(calc(100% - 44px), 1180px); min-height: 60px; margin: 0 auto; padding: 15px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.sq-footer-inner nav { display: flex; flex-wrap: wrap; gap: 21px; }
.sq-footer-inner a { color: #4d626b; font-size: 12px; text-decoration: none; }
.sq-footer-inner a:hover { text-decoration: underline; }
.sq-footer-inner span { color: #858b8c; font-size: 11px; }
body.sq-site.sq-home .sqzme-footer {
  background: var(--sq-ink);
  border-top: 3px solid var(--sq-lemon);
}
body.sq-site.sq-home .sqzme-footer a { color: #e4e7e6; }
body.sq-site.sq-home .sqzme-footer span { color: #a0a6ad; }
body.sq-site.sq-dix .sqzme-footer {
  background: var(--sq-ink);
  border-top: 1px solid #565b66;
}
body.sq-site.sq-dix .sqzme-footer a { color: #e4e7e6; }
body.sq-site.sq-dix .sqzme-footer span { color: #a0a6ad; }
body.ac-site .ac-main { min-height: calc(100vh - 134px); }
body.ac-site .ac-page { padding-top: 59px; }
body.ac-site .ac-reading-page { margin-left: auto; margin-right: auto; }
body.ac-site .ac-reading-page section h2 { border-top: 3px solid var(--sq-lemon); padding-top: 18px; }
body.ac-site .ac-reading-page section li { border-bottom-color: var(--sq-line); }
body.ac-site .ac-panel, body.ac-site .ac-utility-card { border-radius: 3px; box-shadow: none; }
body.sq-owner .sqzme-content { max-width: 1160px; margin: 0 auto; }
body.sq-owner .sqzme-content :is(table, form) { max-width: 100%; }
body.sq-owner .sqzme-content table { border-collapse: collapse; }
body.sq-owner .sqzme-content :is(th, td) { border-bottom: 1px solid var(--sq-line); padding: 8px 10px; text-align: left; }

@media (max-width: 900px) {
  .sq-menu-toggle { display: inline-flex; margin-left: auto; }
  .sq-nav-inner { flex-wrap: wrap; padding: 10px 0; }
  .sq-site-nav { display: none; width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 10px 18px; padding: 10px 0 4px; border-top: 1px solid #5b5e69; }
  .sqzme-navigation.open .sq-site-nav { display: flex; }
  .sq-account-menu { border-left: 0; padding-left: 0; }
  .sq-account-menu > div { top: calc(100% + 7px); left: 0; right: auto; }
}
@media (max-width: 600px) {
  .sq-nav-inner, .sq-footer-inner { width: min(calc(100% - 32px), 1180px); }
  body.sq-site .sqzme-content { padding: 22px 16px 54px; }
  body.ac-site .ac-page { padding-top: 39px; }
  .sq-footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .sq-footer-inner nav { gap: 12px 17px; }
}
