  /* sheds.store design system: skills/sheds-store-design-system/references/tokens.json */
  :root {
    --primary: #d4aa75; --primary-dark: #8a7354; --primary-bright: #f3d9b7;
    --secondary: #004627; --secondary-dark: #234737;
    --body-bg: #fafafa; --surface: #ffffff; --panel: #f4eadc; --hairline: #e9e3d8;
    --text: #272727; --heading: #222222; --muted: #5f5e5a; --code-bg: #f1efe8;
    --link: var(--secondary); --focus: var(--secondary); --tab-active-bg: var(--secondary); --tab-active-text: #ffffff;
    --footer-bg: #004627; --footer-text: #cbcbcb; --footer-title: #ebebeb;
    --shadow: 0 1px 2px rgba(29, 28, 25, 0.04);
    --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-head: Oswald, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "JetBrains Mono", Menlo, monospace;
    --gutter: clamp(1rem, 2.5vw, 3.5rem);
    color-scheme: light dark;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --body-bg: #2a2b2c; --surface: #393b3d; --panel: #2f3133; --hairline: #4a4c4e;
      --text: #fdfaf7; --heading: #fffffc; --muted: #ceced0; --code-bg: #242526;
      --link: var(--primary-bright); --focus: var(--primary); --tab-active-bg: var(--primary); --tab-active-text: #222222;
      --footer-bg: #234737; --shadow: none;
    }
  }
  * { box-sizing: border-box; }
  body { margin: 0; background: var(--body-bg); color: var(--text);
         font: 400 clamp(1rem, 0.93rem + 0.3vw, 1.125rem)/1.6 var(--font-body); }
  h1, h2 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.15; margin: 0 0 0.5em; }
  h1 { font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem); font-weight: 700; margin: 0; }
  h2 { font-size: clamp(1.625rem, 1.4rem + 0.9vw, 2.25rem); font-weight: 600; color: var(--heading); }
  a { color: var(--link); }
  code, pre { font-family: var(--font-mono); font-size: 0.88em; }
  code { background: var(--code-bg); padding: 0.1em 0.35em; border-radius: 0.375rem; }
  pre code { background: none; padding: 0; border-radius: 0; }

  /* Hero: forest green band, white type, tan pill CTA. */
  header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem;
           background: var(--secondary); color: #ffffff;
           padding: clamp(2rem, 4.5vw, 4rem) var(--gutter) clamp(1.75rem, 3.5vw, 3rem); }
  .intro { flex: 1 1 30rem; min-width: 0; }
  .intro p { color: rgba(255, 255, 255, 0.85); margin: 0.6rem 0 0; }
  .stats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
  .stats li { border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 9999px; padding: 0.15rem 0.85rem; font-size: 0.9em; }
  .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
  .button { display: inline-flex; align-items: center; min-height: 46px; padding: 0 28px; border-radius: 9999px;
            font: 600 0.875rem/1 var(--font-body); text-decoration: none; transition: filter 0.15s, background 0.15s; }
  .button.primary { background: var(--primary); color: #222222; border: 2px solid var(--primary); }
  .button.primary:hover { filter: brightness(1.08); }
  .button.on-green { color: #ffffff; border: 2px solid rgba(255, 255, 255, 0.6); }
  .button.on-green:hover { background: rgba(255, 255, 255, 0.15); }

  /* Two panes that share the width and wrap when the window can't hold both. */
  main { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(1.25rem, 2vw, 2.5rem);
         padding: clamp(1.5rem, 3vw, 3rem) var(--gutter); }
  .pane { min-width: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px;
          box-shadow: var(--shadow); padding: clamp(1.25rem, 2vw, 2rem); }
  .install { flex: 1 1 34rem; }
  .skills { flex: 1.4 1 40rem; }

  /* Tabs as pill chips. Without JS every panel shows, stacked. */
  [role="tablist"] { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem; }
  [role="tab"] { font: 600 0.9rem/1 var(--font-body); color: var(--text); background: var(--panel); border: 1px solid var(--hairline);
                 border-radius: 9999px; padding: 0.6rem 1.1rem; cursor: pointer; }
  [role="tab"]:hover { border-color: var(--primary); }
  [role="tab"][aria-selected="true"] { background: var(--tab-active-bg); border-color: var(--tab-active-bg); color: var(--tab-active-text); }
  .task-list-item { list-style: none; }
  .task-box { display: inline-block; inline-size: 0.9em; block-size: 0.9em; margin-inline: -1.4em 0.5em;
              vertical-align: -0.1em; border: 2px solid var(--muted); border-radius: 0.2em; }
  .task-box.done { background: var(--secondary); border-color: var(--secondary); }

  /* The logo at the header height sheds.store uses (config.site.logo_height). */
  .brand { display: inline-block; margin-block-end: 0.75rem; }
  .brand img { display: block; block-size: 3.35rem; inline-size: auto; }

  /* Green in light mode, tan in dark: tan on white is 2.1:1, below the 3:1 a focus ring needs. */
  a:focus-visible, [role="tab"]:focus-visible, summary:focus-visible, .copy:focus-visible, .button:focus-visible,
  .toggle:focus-visible, .view-toggle button:focus-visible, pre[tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  /* The header is forest green in both themes, where a green ring vanishes. White is 11:1. */
  header :is(a, button, .button, [tabindex]):focus-visible { outline-color: #ffffff; }
  .no-js [role="tablist"] { display: none; }
  .js [role="tabpanel"][hidden] { display: none; }
  [role="tabpanel"] > :first-child { margin-top: 0; }
  [role="tabpanel"] + [role="tabpanel"] { margin-top: 1.5rem; }

  .cmd { position: relative; margin: 0.75rem 0; }
  .cmd pre { margin: 0; background: var(--code-bg); border: 1px solid var(--hairline); border-radius: 14px;
             padding: 0.95rem 5rem 0.95rem 1.1rem; white-space: pre-wrap; overflow-wrap: break-word; }
  .copy { position: absolute; top: 0.55rem; right: 0.55rem; font: 600 0.8rem/1 var(--font-body); cursor: pointer;
          color: var(--link); background: var(--surface); border: 1px solid var(--hairline); border-radius: 9999px; padding: 0.4rem 0.8rem; }
  .copy:hover { border-color: var(--primary); }
  .no-js .copy { display: none; }
  .note { color: var(--muted); font-size: 0.95em; }
  .rules { margin-top: 1.5rem; padding: 1rem 1.2rem; background: var(--panel); border: 1px solid var(--hairline);
           border-left: 4px solid var(--primary); border-radius: 0 14px 14px 0; }
  .rules strong { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.015em; color: var(--heading); }

  /* Skills accordion. */
  .skills-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1.5rem; }
  .skills-head p { margin: 0 0 1rem; color: var(--muted); flex: 1 1 24rem; }
  .toggle { font: 600 0.9rem/1 var(--font-body); color: var(--link); background: none; border: 0; cursor: pointer; padding: 0; text-decoration: underline; }
  .no-js .toggle { display: none; }
  details { border-top: 1px solid var(--hairline); }
  details:last-of-type { border-bottom: 1px solid var(--hairline); }
  summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem;
            padding: 0.8rem 0.5rem; border-radius: 0.5rem; }
  summary::-webkit-details-marker { display: none; }
  summary::before { content: "▸"; color: var(--primary); transition: transform 0.15s; flex: 0 0 auto; }
  details[open] > summary::before { transform: rotate(90deg); }
  summary:hover { background: var(--panel); }
  .skill-name { font: 600 1.05rem/1.3 var(--font-head); letter-spacing: 0.015em; color: var(--heading); flex: 0 0 auto; }
  .skill-summary { color: var(--muted); flex: 1 1 18rem; min-width: 0; }
  .skill-body { padding: 0 0.5rem 1.1rem 1.75rem; }
  .skill-body p { margin: 0 0 0.8rem; }
  .skill-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
  .chip { display: inline-flex; align-items: center; border-radius: 9999px; padding: 0.3rem 0.9rem; font-weight: 600; font-size: 0.9em;
          text-decoration: none; border: 2px solid var(--primary); color: var(--text); }
  .chip:hover { background: var(--primary); color: #ffffff; }

  /* Footer: forest green, light grey text, tan on hover. */
  footer { background: var(--footer-bg); color: var(--footer-text); padding: 1.75rem var(--gutter) 2.25rem; font-size: 0.9em; }
  footer strong { color: var(--footer-title); font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
  footer a { color: var(--footer-text); }
  footer a:hover { color: var(--primary); }
  footer code { background: rgba(255, 255, 255, 0.08); }
  @media (prefers-reduced-motion: reduce) { summary::before, .button { transition: none; } }

  /* Skill pages. */
  .crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.9rem; padding: 0; list-style: none; font-size: 0.9em; color: rgba(255, 255, 255, 0.75); }
  .crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: rgba(255, 255, 255, 0.45); }
  .crumbs a { color: #ffffff; }
  header h1.skill-title { text-transform: none; letter-spacing: 0.01em; font-family: var(--font-head); }
  .skill-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(1.25rem, 2vw, 2.5rem);
                  padding: clamp(1.5rem, 3vw, 3rem) var(--gutter); }
  .tree { flex: 1 1 17rem; min-width: 0; }
  .viewer { flex: 999 1 40rem; min-width: 0; }
  .rail { flex: 1 1 22rem; min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }
  .tree ul { list-style: none; margin: 0; padding: 0; }
  .tree ul ul { padding-left: 1rem; }
  .tree .dir { display: block; color: var(--muted); font-weight: 600; padding: 0.35rem 0.5rem 0.15rem; font-size: 0.9em; }
  .tree .dir::before { content: "▾ "; color: var(--primary); }
  .tree a { display: block; padding: 0.3rem 0.6rem; border-radius: 0.5rem; text-decoration: none; color: var(--text);
            font-family: var(--font-mono); font-size: 0.88em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tree a:hover { background: var(--panel); }
  .tree a[aria-current="true"] { background: var(--tab-active-bg); color: var(--tab-active-text); }
  .viewer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1rem;
                border-bottom: 1px solid var(--hairline); padding-bottom: 0.75rem; margin-bottom: 1.25rem; }
  .viewer-path { font-family: var(--font-mono); font-size: 0.9em; color: var(--muted); overflow-wrap: anywhere; }
  .view-toggle { display: inline-flex; gap: 0.25rem; }
  .view-toggle button { font: 600 0.8rem/1 var(--font-body); color: var(--text); background: var(--panel); border: 1px solid var(--hairline);
                        border-radius: 9999px; padding: 0.4rem 0.8rem; cursor: pointer; }
  .view-toggle button[aria-pressed="true"] { background: var(--tab-active-bg); border-color: var(--tab-active-bg); color: var(--tab-active-text); }
  .file[hidden], .file .source[hidden], .file .rendered[hidden] { display: none; }
  .file .source pre, .file pre.plain { margin: 0; background: var(--code-bg); border: 1px solid var(--hairline); border-radius: 14px;
                                       padding: 1rem 1.1rem; white-space: pre-wrap; overflow-wrap: anywhere; }
  .rendered { overflow-wrap: anywhere; }
  .rendered h1, .rendered h2 { text-transform: none; }
  .rendered h1 { font-size: clamp(1.7rem, 1.5rem + 1vw, 2.3rem); color: var(--heading); margin: 0 0 0.6em; }
  .rendered h2 { margin-top: 1.6em; }
  .rendered h3 { font-family: var(--font-head); font-weight: 600; color: var(--heading); margin: 1.4em 0 0.4em; }
  .rendered pre { background: var(--code-bg); border: 1px solid var(--hairline); border-radius: 14px; padding: 1rem 1.1rem; overflow-x: auto; }
  .rendered pre code { white-space: pre; }
  .rendered table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; margin: 1rem 0; }
  .rendered th, .rendered td { text-align: left; vertical-align: top; padding: 0.55rem 0.8rem 0.55rem 0; border-bottom: 1px solid var(--hairline); }
  .rendered th { font-family: var(--font-head); font-weight: 600; color: var(--heading); }
  .rendered img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--hairline); }
  .rendered blockquote { margin: 1rem 0; padding: 0.5rem 1.1rem; border-left: 4px solid var(--primary); background: var(--panel); border-radius: 0 10px 10px 0; }
  .rail h2 { font-size: 1rem; letter-spacing: 0.06em; margin: 0 0 0.6rem; }
  .rail .pane { padding: 1.1rem 1.25rem; }
  .rail dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; margin: 0; font-size: 0.92em; }
  .rail dt { color: var(--muted); }
  .rail dd { margin: 0; overflow-wrap: anywhere; }
  .rail ul.others { list-style: none; margin: 0; padding: 0; }
  .rail ul.others a { display: block; padding: 0.25rem 0; }
  .install-tabs [role="tablist"] { margin-bottom: 0.75rem; }
  .install-tabs [role="tab"] { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
  .browse { font-weight: 600; }
