/* Hide Material chrome */
/* prettier-ignore  */
.md-header,
.md-sidebar--primary,
.md-sidebar--secondary,
.md-footer { display: none !important; }

/*Reading and width Spacing*/
/* prettier-ignore */
.md-grid { max-width: none; padding: 6vh 5vw; }
/* prettier-ignore */
.md-content__inner { max-width: 90vw; margin: 0 auto; }

/*Links*/
/* prettier-ignore */
a { text-decoration: underline dotted; color: grey; }
/* Force underlines on real links, not buttons */
.md-typeset a:not(.md-button):not([role="button"]) {
  color: grey;
  text-decoration-line: underline dotted;
  text-decoration: underline dotted;
  text-decoration-style: dotted;        /* modern */
  text-decoration-color: currentColor;
  text-underline-offset: 2px;
  text-decoration-thickness: from-font;
}

/* Fallback for browsers that don't support dotted underlines (iOS Safari, older Chrome) */
@supports not (text-decoration-style: dotted) {
  .md-typeset a:not(.md-button):not([role="button"]) {
    text-decoration: none;
    color: grey;
    border-bottom: 1px dotted currentColor;  /* emulate underline */
  }
}

/* If another rule is nuking it on touch devices, reassert on no-hover envs */
@media (hover: none) {
  .md-typeset a:not(.md-button):not([role="button"]) {
    text-decoration-line: underline;
    color: grey;
    text-decoration: underline dotted;
  }
}

.md-typeset blockquote {
  font-style: italic;
  border-left: 3px solid rgba(0, 0, 0, 0.15);
  padding: 0.6rem 1rem;
  margin: 1.2rem 0;
  background: rgba(0, 0, 0, 0.02);
}
.md-typeset .bookrule {
  margin:2rem 0;
  border-top:3px solid currentColor;
  border-bottom:1px solid currentColor;
  padding:3px 0; opacity:.35;
}
.md-typeset .rule {
  display:flex; align-items:center; gap:.6rem; margin:2rem 0;
}
.md-typeset .rule::before, .md-typeset .rule::after {
  content:""; flex:1; height:1px; background: currentColor; opacity:.25;
}
.md-typeset .rule .label {
  font-size:.85rem; text-transform:uppercase; letter-spacing:.12em; opacity:.7;
  white-space:nowrap;
}
.md-typeset .pull-quote {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  border-left: 4px solid var(--grey-brown);
  margin: 1.6rem 0;
  padding: 0.6rem 1rem;
  opacity: 0.95;
}
.md-typeset .small-text {
  margin-top: -0.4rem;
  margin-bottom: 1.2rem;
  font-size: 0.5rem;
  opacity: 0.75;
  font-style: italic;
}
.md-typeset .subtitle {
  margin-top: -0.4rem;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  opacity: 0.75;
  font-style: italic;
}
.md-typeset .tag {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  line-height: 1;
  border: 1px solid currentColor;
  opacity: 0.9;
  vertical-align: middle;
  margin-right: 0.4rem;
}

.tag--finished {
  color: green;
  background: rgba(0, 255, 42, 0.08);
}
.tag--unfinished {
  color: darkorange;
  background: rgba(254, 241, 3, 0.08);
}
.tag--continuous {
  color: lightblue;
  background: rgba(254, 241, 3, 0.08);
}
.tag--stem {
  color: crimson;
  background: rgba(254, 241, 3, 0.08);
}
.tag--leaf {
  color: lightslategray;
  background: rgba(254, 241, 3, 0.08);
}
.tag--none {
  color: var(--grey);
  background: rgba(0, 0, 0, 0.06);
}
.md-typeset .sidenote {
  font-size: 0.95rem;
  opacity: 0.85;
  padding: 0.18rem 0.5rem;
  border: #111 dotted;
}
.md-typeset hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  margin: 2rem 0;
}
.md-typeset .divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 2rem 0;
  opacity: 0.7;
}
.md-typeset .divider::before,
.md-typeset .divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: currentColor;
  opacity: 0.25;
}
.md-typeset .divider .mark {
  letter-spacing: 0.2em;
  font-size: 0.9rem;
}
.md-typeset .glyph{
  display: block;     /* span -> block so it can span width */
  width: 100%;        /* take the row */
  text-align: center; /* center the character */
  font-size: 2rem;
}
.md-typeset details {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  padding: 0.4rem 0.8rem;
  margin: 1rem 0;
  background: rgba(0, 0, 0, 0.02);
}
.md-typeset details summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  background: #fff7ed;
  border-color: black;
}
.md-typeset details summary:before {
  background-color: var(--peach);
  -webkit-mask-image: var(--md-admonition-icon--note);
  mask-image: var(--md-admonition-icon--note);
}
.md-typeset details[open] {
  background: rgba(0, 0, 0, 0.03);
}
.md-typeset details.info {
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.md-typeset details.info summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  background: var(--tan);
}
.md-typeset details.info[open] {
  background: rgba(0, 0, 0, 0.03);
}
.md-typeset details.info summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  background: var(--tan);
  border-color: black;
}
.md-typeset details.info summary::before {
  background-color: var(--peach);
}
.md-typeset details.info summary::after {
  background-color: var(--black);
}

.md-typeset details.info:focus-within {
  box-shadow: var(--tan);
}

:root {
  --peach: #fdba74;
  --tan: #fff7ed;
  --black: #22201b;
  --dark-grey: #272727;
  --white: #f6f6f6;
  --grey: #666;
  --grey-brown: #888;
  --my-font-stack: "Chivo Mono", "Courier New", monospace;
  --my-backgroung-color: var(--grey);
  --md-text-font: ui-serif, Georgia, "Times New Roman", serif;
  --md-code-font: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
}

@media (min-width: 1100px) {
  .md-typeset .sidenote {
    float: right;
    clear: right;
    width: 22ch;
    margin: 0.2rem 0 1rem 1.5rem;
  }
}

.fn-pop {
  position: absolute;
  z-index: 20;
  transform: translateY(0.4rem);
  max-width: 38ch;
  background: #fff;
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.4;
}
/* [data-md-color-scheme="slate"] .fn-pop {
  background: #121212;
  color: #eaeaea;
  border-color: rgba(255, 255, 255, 0.15);
} */
/* [data-md-color-scheme="slate"] .md-typeset hr {
  border-top-color: rgba(255, 255, 255, 0.15);
} */
/* [data-md-color-scheme="slate"] .md-typeset blockquote {
  border-left-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.03);
} 
  [data-md-color-scheme="slate"] .md-typeset details {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
}*/
