/* TeaGardenFS carries its original leaf-green and brass identity inside Foundry. */
@font-face {font-family:"TeaGarden Display";src:url("fonts/open-sans-condensed-bold.woff2?v=6d076f48e9") format("woff2");font-weight:700;font-display:swap}
@font-face {font-family:"Open Sans";src:url("fonts/open-sans.woff") format("woff");font-weight:400;font-display:swap}
@font-face {font-family:"Open Sans";src:url("fonts/open-sans-semibold.woff") format("woff");font-weight:600;font-display:swap}
@font-face {font-family:"Open Sans";src:url("fonts/open-sans-bold.woff") format("woff");font-weight:700;font-display:swap}
@font-face {font-family:"TeaGarden Mono";src:url("fonts/dejavu-sans-mono.woff2?v=5e7df24389") format("woff2");font-weight:400;font-display:swap}
.tg-product {
  --tg-forest:#153e34;--tg-green:#587a4c;--tg-leaf:#b8cab0;--tg-brass:#d9a24a;
  --tg-paper:#e9eee5;--tg-ink:#19392f;--tg-muted:#526257;--tg-rule:#bcc9b6;
  --tg-display:"TeaGarden Display","Arial Narrow",sans-serif;--tg-body:"Open Sans","Source Sans 3",Arial,sans-serif;--tg-mono:"TeaGarden Mono","DejaVu Sans Mono",monospace;
  max-width:82rem;margin:0 auto;padding:1.25rem clamp(.15rem,1.6vw,1.5rem) 5rem;color:var(--tg-ink);container-type:inline-size;
  font-family:var(--tg-body);font-size:1rem;line-height:1.65;
}
.tg-product a {color:var(--tg-forest);text-underline-offset:.22em}
.tg-product a:hover {color:#5d7138}
.tg-product img {display:block;max-width:100%;height:auto}
.tg-local-header {background:var(--tg-paper);border:1px solid var(--tg-rule)}
.tg-local-brandbar {
  display:flex;align-items:center;justify-content:space-between;gap:.75rem;
  padding:.45rem clamp(.85rem,2.5vw,2rem);
}
.tg-local-brand {display:block;max-width:50%}
.tg-local-brand img {width:clamp(8rem,18vw,15rem)}
.tg-platforms {display:flex;align-items:center;gap:.5rem 1rem;color:var(--tg-muted);font:1rem/1.45 var(--tg-mono)}
.tg-platforms a {display:inline-flex;align-items:center;min-height:2.75rem;font:inherit!important}
.tg-local-nav {margin:0;padding:0;border-top:1px solid var(--tg-rule)}
.tg-local-links {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr}
.tg-product .tg-local-links a {display:flex;align-items:center;justify-content:center;min-width:0;min-height:3.1rem;padding:.6rem clamp(.2rem,.65vw,.75rem);color:var(--tg-muted);font:600 1rem/1.25 var(--tg-body)!important;text-align:center;text-decoration:none;text-wrap:balance}
.tg-product .tg-local-links a:hover {background:#d7e2d1;color:var(--tg-forest)}
.tg-product .tg-local-links a[aria-current="location"] {background:#dce6d7;color:var(--tg-forest);box-shadow:inset 0 -3px var(--tg-forest)}
.tg-product .tg-local-links a:focus-visible {position:relative;outline-offset:-3px}
.tg-cover {
  display:grid;grid-template-columns:minmax(0, .98fr) minmax(0, 1.02fr);
  grid-template-areas:"title garden" "intro garden";gap:1.15rem clamp(.5rem,1.5cqi,1.25rem);
  margin:0;padding:clamp(1.6rem,3.4cqi,3rem) clamp(1rem,1.8cqi,1.5rem) clamp(1.75rem,3.7cqi,3.25rem) clamp(1.1rem,3.8cqi,3.25rem);
  background:#f2eadc;color:var(--tg-ink);border-bottom:4px solid var(--tg-brass);
}
.tg-cover-copy {grid-area:intro;align-self:start;min-width:0}
.tg-garden {grid-area:garden;align-self:center;width:100%;height:auto}
.tg-product h1,.tg-product h2,.tg-product h3,.tg-product p {margin-top:0}
.tg-product :is(h1,h2,h3):not(.flat-status) {color:var(--tg-forest)!important;font-family:var(--tg-display)!important;font-weight:700!important;letter-spacing:-.025em!important;word-spacing:normal!important;text-shadow:none!important;-webkit-text-stroke:0!important;filter:none!important;font-synthesis:none}
.tg-product p,.tg-product li,.tg-product dd {font-family:var(--tg-body)!important}
.tg-product nav a {font-family:var(--tg-body)!important}
.tg-product h1 {grid-area:title;align-self:end;margin:0;font-size:clamp(2.4rem,5.8cqi,4.9rem);line-height:1.03;text-wrap:balance}
.tg-cover h1 span {display:block}
.tg-cover h1 span+span {color:#526b43}
.tg-product h2 {font-family:var(--tg-display)!important;font-weight:700!important}
.tg-product h2 em {font-style:normal;color:#667b50!important}
.tg-lead {max-width:52ch;margin:0;font-size:clamp(1.05rem,1.55cqi,1.22rem);line-height:1.6;color:var(--tg-ink)}
.tg-actions {display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.7rem;margin-top:1.3rem}
.tg-button {display:inline-flex;min-height:2.8rem;align-items:center;justify-content:center;gap:.5rem;padding:.64rem .95rem;border:1px solid var(--tg-brass);font:600 1rem/1.4 var(--tg-mono);text-decoration:none}
.tg-cover .tg-button-main {background:var(--tg-forest);color:#fafbf6;border-color:var(--tg-forest)}
.tg-cover .tg-button-main:hover {background:#285747;color:white}
.tg-cover .tg-button-quiet {background:transparent;color:var(--tg-forest);border-color:#83917c}
.tg-cover .tg-button-quiet:hover {background:#e1e5d5;color:var(--tg-forest)}

.tg-chapter {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 1.25rem clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin-top: 0;
  border-bottom: 1px solid var(--tg-rule);
  padding: clamp(2rem, 5vw, 4.75rem) clamp(1.15rem, 5.4vw, 5.2rem);
  background: var(--tg-paper);
}
.tg-chapter h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.5rem, 4.8vw, 4.7rem);
  line-height: 1.04;
  text-wrap: balance;
}
.tg-chapter-copy {min-width: 0; max-width: 63ch;}
.tg-chapter-copy p {font-size: clamp(1.075rem, 1.4vw, 1.22rem); line-height: 1.62; margin: 0 0 1.05rem;}
.tg-chapter-copy > :last-child {margin-bottom: 0;}
.tg-chapter-copy code {font: 1rem/1.6 var(--tg-mono); overflow-wrap: anywhere; color: inherit;}
.tg-commands {
  margin:1rem 0 1.2rem;padding:1rem clamp(.65rem,1.8vw,1.35rem);
  color:#18382f;background:#f7f8f1;border-left:3px solid #8ca476;
  white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4;
}
.tg-commands code {display:block;white-space:inherit;font:1rem/1.65 var(--tg-mono)!important}
.tg-product .tg-guide-link {display:inline-block;min-height:2.75rem;padding:.55rem 0;font:600 1rem/1.55 var(--tg-body)!important;text-decoration:underline}
.tg-guide-list {display:flex;flex-wrap:wrap;column-gap:1.25rem;margin-top:.3rem}
.tg-history {border-bottom:4px solid var(--tg-brass)}
.tg-product [id] {scroll-margin-top:8rem}
.tg-product .tg-chapter summary {
  min-height: 2.8rem; padding: .7rem .1rem; cursor: pointer;
  font: 600 1.05rem/1.5 var(--tg-body)!important;
}
.tg-chapter details {margin-top: 1.2rem; border-block-start: 1px solid var(--tg-rule);}
.tg-chapter details summary::marker {color: #61764e;}
.tg-chapter details[open] > summary {margin-bottom: .5rem;}
.tg-chapter details p {font-size: 1rem; line-height: 1.65;}
.tg-product :focus-visible {outline:3px solid var(--tg-brass);outline-offset:3px}
@media (max-width:960px) {
  .tg-chapter {grid-template-columns:1fr}
  .tg-chapter-copy {max-width:100%}
}
@container (max-width:42rem) {
  .tg-cover {
    grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "garden" "intro";
    gap:1rem;padding:clamp(1.1rem,5cqi,2rem);
  }
  .tg-product .tg-cover h1 {font-size:clamp(2rem,9.6cqi,4rem)}
  .tg-garden {justify-self:center;max-width:32rem}
}
@media (max-width:650px) {
  .tg-product {padding-inline:0}
  .tg-local-brandbar {
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 .75rem;
    padding:.4rem .85rem .7rem;
  }
  .tg-local-brand {grid-column:1;grid-row:1;justify-self:start;max-width:100%}
  .tg-local-brand img {width:clamp(9.5rem,46vw,12rem)}
  .tg-platforms {display:contents}
  .tg-platforms span {grid-column:1/-1;grid-row:2}
  .tg-platforms a {grid-column:2;grid-row:1;justify-self:end}
  .tg-local-links {grid-template-columns:repeat(2,minmax(0,1fr))}
  .tg-local-links a:nth-child(n+3) {border-top:1px solid var(--tg-rule)}
  .tg-chapter {padding:2rem 1rem}
}
@media(prefers-reduced-motion:reduce) {.tg-product * {scroll-behavior:auto!important;transition:none!important}}
