:root {
  --sls-cream: #FBF6F1;
  --sls-gold: #BAA76E;
  --sls-gold-dark: #8C7B45;
  --sls-charcoal: #2B2B2B;
  --md-primary-fg-color: #FBF6F1;
  --md-primary-fg-color--light: #FBF6F1;
  --md-primary-fg-color--dark: #F3EADF;
  --md-primary-bg-color: #2B2B2B;
  --md-primary-bg-color--light: #555;
  --md-accent-fg-color: #8C7B45;
  --md-typeset-a-color: #8C7B45;
  --md-default-fg-color: #2B2B2B;
  --md-text-font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --md-code-font-family: Consolas, "SFMono-Regular", Menlo, monospace;
}
body, .md-typeset { font-family: var(--md-text-font-family); color: var(--sls-charcoal); }
.md-typeset { font-size: .8rem; line-height: 1.65; }
.md-header { border-bottom: 3px solid var(--sls-gold); box-shadow: none; }
.md-header__button.md-logo img { height: 2.1rem; }
.md-tabs { background: var(--sls-cream); color: var(--sls-charcoal); border-bottom: 1px solid #eadfce; }
.md-tabs__link--active, .md-tabs__link:hover { color: var(--sls-gold-dark); }
.md-search__form { background: #fff; border: 1px solid #e3d7c3; }
.md-search__input { color: var(--sls-charcoal); }
.md-search__input::placeholder { color: #7a7a7a; }
.md-search__icon { color: #7a7a7a; }
.md-typeset h1 { color: var(--sls-charcoal); font-weight: 600; }
.md-typeset h2 { border-bottom: 2px solid #efe6d5; padding-bottom: .2em; }
.md-typeset ol > li::marker { color: var(--sls-gold-dark); font-weight: 700; }
.md-nav__link--active { color: var(--sls-gold-dark) !important; font-weight: 600; }
.md-footer { background: var(--sls-charcoal); }
.md-footer-meta { background: #1f1f1f; }

/* Still stuck footer on every page */
.sls-stuck { margin-top: 2.5rem; padding: .9rem 1.1rem; background: var(--sls-cream);
  border-left: 5px solid var(--sls-gold); border-radius: 4px; font-size: .78rem; }

/* Screenshot placeholder boxes */
.shot-placeholder { border: 2px dashed var(--sls-gold); background: #fffdf9; color: #6b5d33;
  padding: 1.2rem; border-radius: 6px; text-align: center; margin: 1rem 0; font-size: .72rem; }
.shot-placeholder strong { display: block; font-size: .8rem; margin-bottom: .3rem; }

/* Check-with-Chris markers (preview only) */
.check { background: #fff3cd; border: 1px solid #e0c36a; padding: 0 .3em; border-radius: 3px;
  font-size: .7rem; font-weight: 700; color: #7a5b00; }

/* Illustration figures */
.md-typeset figure.illus img { border: 1px solid #e8dccb; border-radius: 6px; background: #fff; }
.md-typeset figure.illus figcaption { font-size: .68rem; color: #777; }

/* Home page cards */
.sls-hero { background: var(--sls-cream); border: 1px solid #efe4d2; border-radius: 10px;
  padding: 1.4rem 1.6rem; margin-bottom: 1.5rem; }
.sls-hero h1 { margin: 0 0 .3rem 0; }
.sls-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem; margin: 1rem 0 1.6rem; }
.sls-cards a { display: block; border: 1px solid #e8dccb; border-top: 4px solid var(--sls-gold);
  border-radius: 6px; padding: .8rem 1rem; color: var(--sls-charcoal) !important; background: #fff; }
.sls-cards a:hover { box-shadow: 0 3px 10px rgba(0,0,0,.08); border-top-color: var(--sls-gold-dark); }
.sls-cards a strong { display: block; font-size: .85rem; margin-bottom: .2rem; }
.sls-cards a span { font-size: .72rem; color: #666; }
.preview-banner { background: #2B2B2B; color: #FBF6F1; text-align: center; font-size: .65rem;
  padding: .3rem; letter-spacing: .03em; }
.md-banner { background: #2B2B2B; color: #FBF6F1; font-size: .65rem; text-align: center; }
.md-banner__inner { color: #FBF6F1; }
[data-md-color-scheme="default"], [data-md-color-primary="custom"] {
  --md-typeset-a-color: #8C7B45;
  --md-accent-fg-color: #6f612f;
}
.md-typeset a { color: #8C7B45; text-decoration: underline; text-decoration-color: rgba(186,167,110,.5); }
.md-typeset a:hover { color: #6f612f; }
.md-typeset .sls-cards a { text-decoration: none; }
.md-search-result mark { color: #8C7B45; }
