/* Shared frame for Greenlyz guides, product information, policies and forms. */
html.g-site {
  color-scheme: light;
  --page: #f7f6ef;
  --paper: #f7f6ef;
  --ink: #163b2e;
  --copy: #33493d;
  --muted: #52665a;
  --line: #c8d3c7;
  --surface: #fff;
  --surface-soft: #edf2e7;
  --forest: #174c39;
  --forest-text: white;
  --forest-hover: #103c2e;
  --font-display: "Segoe UI", Arial, sans-serif;
  scroll-padding-top: 16px;
}
.g-site body {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--page);
  color: #233b2e;
  font: 17px/1.55 "Segoe UI", Arial, sans-serif;
}
.g-frame, .g-frame * { box-sizing: border-box; }
.g-frame {
  display: grid;
  grid-template-columns: clamp(220px, 20vw, 287px) minmax(0, 1fr);
  max-width: 1650px;
  min-height: 100vh;
  margin: 0 auto;
}
.g-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  padding: 38px 25px;
  color: #f3f7ee;
  background: #14382e;
}
.g-sidebar a { color: inherit; text-decoration: none; }
.g-sidebar a:hover { text-decoration: underline; text-underline-offset: 4px; }
.g-sidebar .g-brand {
  display: inline-flex; align-items: center; align-self: flex-start;
  font: 720 38px/1 "Segoe UI", Arial, sans-serif; letter-spacing: -2.6px;
}
.g-brand img { width: 41px; height: 41px; }
.g-sidebar .g-identity { margin: 37px 0 30px; font: 16px/1.55 "Segoe UI", Arial, sans-serif; color: #d6e3da; }
.g-sidebar .g-identity strong { color: white; }
.g-sidebar .g-links { display: block; margin: 0 0 24px; padding: 0; border: 0; border-top: 1px solid #678579; border-radius: 0; background: transparent; }
.g-links a, .g-sidebar .g-open { display: flex; align-items: center; gap: 9px; font: 600 16px/1.4 "Segoe UI", Arial, sans-serif; }
.g-links a { min-height: 48px; border-bottom: 1px solid #526e61; }
.g-links img { width: 22px; height: 22px; }
.g-links span, .g-open span { margin-left: auto; }
.g-sidebar .g-open { margin-top: auto; padding: 11px 12px; border-radius: 4px; background: #d9f395; color: #193522; font-size: 15px; }
.g-content { min-width: 0; overflow-wrap: break-word; }
.g-content main { min-width: 0; color: #25382d; }
.g-content main h1, .g-content main h2, .g-content main h3 { font-family: "Segoe UI", Arial, sans-serif; color: #173d30; }
.g-content main h1 { font-weight: 720; font-size: clamp(2.25rem, 4.4vw, 4.3rem); line-height: 1.06; letter-spacing: -.055em; text-wrap: balance; }
.g-content main h2 { font-weight: 680; letter-spacing: -.035em; }
.g-content .page-hero { background: #eef2e7; border-bottom: 1px solid var(--line); }
.g-content .button, .g-content form button, .g-content #action-button { border-radius: 4px; }
.g-content a:focus-visible, .g-sidebar a:focus-visible, .g-content button:focus-visible { outline: 3px solid #df801b; outline-offset: 3px; }
.g-content main img { max-width: 100%; }
.g-content main pre { max-width: 100%; overflow-x: auto; }
.g-article main { width: min(100%, 1000px); max-width: 1000px; margin: 0 auto; padding: clamp(28px,5vw,68px) clamp(18px,4vw,56px); background: transparent; }
.g-article main > h1 { margin: 0 0 24px; }
.g-article main > p { max-width: 76ch; }
.g-article main a:not(.button) { color: #17513c; text-underline-offset: 3px; }
.g-article main .button, .g-article main button { font-family: inherit; }
.g-article main > section, .g-article main > nav { border-radius: 6px; }
.g-article main > aside { border: 1px solid #bacdbb; border-left: 4px solid #397353; border-radius: 4px; padding: 20px; background: #edf2e7; }
.g-article main .actions { flex-wrap: wrap; }
.g-article main footer { margin-top: 36px; }
.g-context { padding: 16px clamp(18px,4vw,56px); border-bottom: 1px solid var(--line); font-size: 15px; }
.g-context a { color: #245440; text-decoration: underline; }
.g-skip { position: absolute; top: 4px; left: 4px; z-index: 10; transform: translateY(-160%); padding: 8px; background: white; color: #14382e; }
.g-skip:focus { transform: none; }
@media (min-width: 801px) and (max-width: 1150px) {
  .g-content .page-hero-grid, .g-content .content-grid, .g-content .docs-shell { grid-template-columns: minmax(0,1fr); }
  .g-content .docs-nav { position: static; max-height: none; }
}
@media (max-width: 800px) {
  .g-frame { display: block; }
  .g-sidebar { position: static; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; height: auto; padding: 16px 5%; }
  .g-sidebar .g-brand { font-size: 30px; }
  .g-brand img { width: 32px; height: 32px; }
  .g-sidebar .g-identity { grid-column: 1/-1; grid-row: 2; margin: 0; font-size: 14px; line-height: 1.45; }
  .g-sidebar .g-open { grid-column: 2; grid-row: 1; margin: 0; padding: 8px 10px; font-size: 13px; }
  .g-sidebar .g-links { display: none; }
  .g-content .container { max-width: 100%; }
}
@media print {
  .g-sidebar, .g-context, .g-skip { display: none; }
  .g-frame { display: block; }
  .g-article main { padding: 0; }
}
