/* ── Plumbing site CSS ─────────────────────────────────────────── */
/* Scrollable layout for doc/example/grammar pages.
   The landing page uses the main site carousel model (overflow:hidden)
   so these overrides are scoped to html.page-scrollable only. */

html.page-scrollable,
html.page-scrollable body {
  height: auto;
  overflow: auto;
}

html.page-scrollable .page {
  height: auto;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Carousel active-state selectors for plumbing landing page */
#radio-lang:checked ~ .tab-bar label[for="radio-lang"],
#radio-problem:checked ~ .tab-bar label[for="radio-problem"],
#radio-scale:checked ~ .tab-bar label[for="radio-scale"],
#radio-session:checked ~ .tab-bar label[for="radio-session"],
#radio-python:checked ~ .tab-bar label[for="radio-python"],
#radio-reading:checked ~ .tab-bar label[for="radio-reading"],
#radio-install:checked ~ .tab-bar label[for="radio-install"],
#radio-licence:checked ~ .tab-bar label[for="radio-licence"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

#radio-lang:checked ~ #panel-lang,
#radio-problem:checked ~ #panel-problem,
#radio-scale:checked ~ #panel-scale,
#radio-session:checked ~ #panel-session,
#radio-python:checked ~ #panel-python,
#radio-reading:checked ~ #panel-reading,
#radio-install:checked ~ #panel-install,
#radio-licence:checked ~ #panel-licence {
  height: auto;
  flex: 1;
  width: 100%;
  align-self: stretch;
  visibility: visible;
  overflow-y: auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

/* ── Landing page panel overrides ──────────────────────────────── */
/* Override main site's narrow text constraints for plumbing panels */

.tab-panel.plumbing-content h1 {
  max-width: none;
}

.tab-panel.plumbing-content h2 {
  max-width: none;
}

.tab-panel.plumbing-content p {
  max-width: none;
}

/* ── Header ────────────────────────────────────────────────────── */

.site-header {
  display: flex;
  align-items: baseline;
  gap: 0;
  padding: clamp(0.75rem, 2vw, 1.25rem) 0;
  border-bottom: 1px solid var(--bg-alt);
  flex-shrink: 0;
}

/* ── Plumbing page layout ──────────────────────────────────────── */

.plumbing-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 2.5rem;
  flex: 1;
}

.plumbing-sidebar {
  width: 180px;
  flex-shrink: 0;
  position: sticky;
  top: 1.5rem;
}

.plumbing-layout .plumbing-content {
  flex: 1;
  min-width: 0;
}

/* ── Section nav ───────────────────────────────────────────────── */

.section-nav {
  margin-bottom: 1.75rem;
}

.section-nav a {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.3rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
  transition: color 0.12s, border-color 0.12s;
  white-space: nowrap;
}

.section-nav a:hover {
  color: var(--ink-mid);
  text-decoration: none;
  border-left-color: var(--bg-alt);
}

.section-nav a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 600;
}

.nav-section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  padding-left: 0.6rem;
}
.nav-section-label:first-child {
  margin-top: 0;
}

/* ── Sidebar TOC ───────────────────────────────────────────────── */

.toc-wrap {
  font-size: 0.8125rem;
  line-height: 1.5;
  border-top: 1px solid var(--bg-alt);
  padding-top: 1.25rem;
}

.toc-wrap .toctitle {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.toc-wrap ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc-wrap li {
  margin-bottom: 0.15rem;
}

.toc-wrap ul ul {
  padding-left: 0.75rem;
  margin-top: 0.1rem;
}

.toc-wrap a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.12s;
}

.toc-wrap a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ── Prev/next navigation ──────────────────────────────────────── */

.prevnext {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-alt);
  font-size: 0.875rem;
}

.prevnext a {
  color: var(--ink-mid);
  text-decoration: none;
  font-weight: 500;
}

.prevnext a:hover {
  color: var(--accent);
}

/* ── Content typography (doc pages) ───────────────────────────── */

.plumbing-content h1 {
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  margin-top: 2.5rem;
  color: var(--ink);
}

.plumbing-content h1:first-child {
  margin-top: 0;
}

.plumbing-content h2 {
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-top: 0.25rem;
  color: var(--ink);
  clear: both;
}

.plumbing-content h3 {
  font-size: var(--step-1);
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.plumbing-content h4 {
  font-size: var(--step-0);
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.plumbing-content p {
  color: var(--ink-mid);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.plumbing-content li {
  color: var(--ink-mid);
  margin-bottom: 0.3rem;
  line-height: 1.6;
}

.plumbing-content ul, .plumbing-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.plumbing-content dl {
  margin-bottom: 1rem;
}

.plumbing-content dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.75rem;
}

.plumbing-content dd {
  margin-left: 1.5rem;
  color: var(--ink-mid);
}

.plumbing-content table {
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

.plumbing-content th, .plumbing-content td {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--rule);
  text-align: left;
  color: var(--ink-mid);
}

.plumbing-content th {
  background: var(--bg-alt);
  color: var(--ink);
  font-weight: 600;
}

.plumbing-content hr {
  border: none;
  border-top: 1px solid var(--bg-alt);
  margin: 2.5rem 0;
}

.plumbing-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--ink-mid);
  font-style: italic;
}

.plumbing-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
}

.plumbing-content .fig-right {
  float: right;
  clear: right;
  margin: 0.25rem 0 1.5rem 2rem;
  width: 220px;
}

.plumbing-content .fig-right img {
  width: 220px;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 0 0.75rem 0;
  border: 1px solid var(--bg-alt);
}

.plumbing-content .fig-right a {
  display: block;
  opacity: 0.9;
  transition: opacity 0.15s;
}

.plumbing-content .fig-right a:hover {
  opacity: 1;
}

.plumbing-content .fig-right-lg {
  width: 300px;
}

.plumbing-content .fig-right-lg img {
  width: 300px;
  max-width: 300px;
}

.plumbing-content .side-by-side {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin: 1rem 0;
}

.plumbing-content .side-by-side-code {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}

.plumbing-content .side-by-side-fig {
  flex: 0 0 280px;
}

.plumbing-content .side-by-side-fig img {
  width: 280px;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0;
  border: 1px solid var(--bg-alt);
}

.plumbing-content .side-by-side-fig a {
  display: block;
}

@media (max-width: 640px) {
  .plumbing-content .fig-right {
    float: none;
    width: 100%;
    margin: 1.5rem 0;
  }
  .plumbing-content .fig-right img,
  .plumbing-content .fig-right-lg img {
    width: 100%;
    max-width: 100%;
  }
  .plumbing-content .side-by-side {
    flex-direction: column;
  }
  .plumbing-content .side-by-side-fig {
    flex: none;
    width: 100%;
  }
  .plumbing-content .side-by-side-fig img {
    width: 100%;
    max-width: 100%;
  }
}

/* ── Code blocks ───────────────────────────────────────────────── */

.plumbing-content code {
  font-family: var(--font-body);
  font-size: 0.875em;
  background: var(--bg-alt);
  padding: 0.15em 0.4em;
  border-radius: 2px;
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.06);
}

.plumbing-content pre {
  margin: 1.5rem 0;
  overflow-x: auto;
}

.plumbing-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  border: none;
  font-size: inherit;
}

.plumbing-content .highlight,
.plumbing-content .codehilite {
  background: var(--bg-alt);
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 3px 3px 0;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.plumbing-content .highlight pre,
.plumbing-content .codehilite pre {
  margin: 0;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Grammar page */
.grammar-content .highlight,
.grammar-content .codehilite {
  background: var(--bg-alt);
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 3px 3px 0;
  overflow-x: auto;
}

.grammar-content .highlight pre,
.grammar-content .codehilite pre {
  margin: 0;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ── Example page ──────────────────────────────────────────────── */

.example-header {
  margin-bottom: 0.75rem;
}

.example-header h1 {
  font-size: var(--step-2);
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.example-description {
  color: var(--ink-mid);
  margin-bottom: 2rem;
  font-size: var(--step-0);
}

.file-block {
  margin-bottom: 2.5rem;
}

.file-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-mid);
  background: var(--bg-alt);
  border-top: 2px solid var(--accent);
  border-left: 3px solid var(--accent);
  border-right: 1px solid rgba(0,0,0,0.08);
  padding: 0.4rem 1rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  border-radius: 0 3px 0 0;
}

.file-block .highlight {
  background: var(--bg-alt);
  border: 1px solid rgba(0,0,0,0.08);
  border-top: none;
  border-left: 3px solid var(--accent);
  border-radius: 0 0 3px 0;
  overflow-x: auto;
  margin: 0;
}

.file-block .highlight pre {
  margin: 0;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
}

.file-block .md-content {
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border: 1px solid rgba(0,0,0,0.08);
  border-top: none;
  border-left: 3px solid var(--accent);
  border-radius: 0 0 3px 0;
}

.file-block .md-content p {
  color: var(--ink-mid);
  max-width: var(--measure);
  margin-bottom: 0.75rem;
}

/* ── Landing page ──────────────────────────────────────────────── */

.landing-wrap {
  margin-top: 2.5rem;
  flex: 1;
}

.landing-content {
  max-width: none;
}

/* Hero: the opening h1 + tagline paragraph */
.landing-content h1 {
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 0.6rem;
  margin-top: 0;
}

/* First paragraph immediately after h1 acts as a tagline */
.landing-content h1 + p {
  font-size: var(--step-1);
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.landing-content h2 {
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 3rem;
  margin-bottom: 0.75rem;
  padding-top: 0.1rem;
  clear: both;
}

/* Thin rule above each h2 to pace the page */
.landing-content h2::before {
  content: '';
  display: block;
  height: 1px;
  background: var(--bg-alt);
  margin-bottom: 2rem;
  width: 3rem;
}

.landing-content h3 {
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--ink);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.landing-content p {
  color: var(--ink-mid);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Navigation link groups: Documentation, Examples, Man pages */
.landing-content h2 + ul,
.landing-content h2 + p + ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.1rem 2rem;
  margin-bottom: 1.5rem;
}

.landing-content h2 + ul li,
.landing-content h2 + p + ul li {
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--bg-alt);
}

.landing-content h2 + ul li a,
.landing-content h2 + p + ul li a {
  color: var(--accent);
  font-weight: 500;
}

.landing-content h2 + ul li a:hover,
.landing-content h2 + p + ul li a:hover {
  color: var(--accent-dim);
}

/* General list fallback */
.landing-content ul, .landing-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.landing-content li {
  color: var(--ink-mid);
  margin-bottom: 0.3rem;
  line-height: 1.6;
}

/* Code blocks on landing page */
.landing-content .highlight,
.landing-content .codehilite {
  background: var(--bg-alt);
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 3px 3px 0;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.landing-content .highlight pre,
.landing-content .codehilite pre {
  margin: 0;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
}

.landing-content code {
  font-family: var(--font-body);
  font-size: 0.875em;
  background: var(--bg-alt);
  padding: 0.15em 0.4em;
  border-radius: 2px;
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.06);
}

.landing-content pre code {
  background: none;
  padding: 0;
  border: none;
}

.landing-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
}

/* Heat debate image: centred with a subtle border */
.landing-content > p > img,
.landing-content > p > a > img {
  border: 1px solid var(--bg-alt);
  max-width: min(100%, 560px);
  margin: 1.5rem auto;
}

.landing-content hr {
  border: none;
  border-top: 1px solid var(--bg-alt);
  margin: 2.5rem 0;
}

/* Floating figures on landing page */
.landing-content .fig-right {
  float: right;
  clear: right;
  margin: 0.25rem 0 1.5rem 2rem;
  width: 220px;
}

.landing-content .fig-right img {
  width: 220px;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 0 0.75rem 0;
  border: 1px solid var(--bg-alt);
}

.landing-content .fig-right a {
  display: block;
  opacity: 0.9;
  transition: opacity 0.15s;
}

.landing-content .fig-right a:hover {
  opacity: 1;
}

.landing-content .fig-right-lg {
  width: 300px;
}

.landing-content .fig-right-lg img {
  width: 300px;
  max-width: 300px;
}

@media (max-width: 640px) {
  .landing-content .fig-right {
    float: none;
    width: 100%;
    margin: 1.5rem 0;
  }
  .landing-content .fig-right img,
  .landing-content .fig-right-lg img {
    width: 100%;
    max-width: 100%;
  }
  .landing-content h2 + ul,
  .landing-content h2 + p + ul {
    grid-template-columns: 1fr;
  }
}

/* ── Header breadcrumb ─────────────────────────────────────────── */

.plumbing-breadcrumb {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  flex-wrap: wrap;
}

.plumbing-breadcrumb a {
  color: var(--ink-mid);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.12s;
}

.plumbing-breadcrumb a:hover {
  color: var(--accent);
  text-decoration: none;
}

.plumbing-breadcrumb .sep {
  margin: 0 0.4em;
  color: var(--bg-alt);
  font-weight: 400;
}

/* ── Footer ────────────────────────────────────────────────────── */

footer {
  margin-top: 3rem;
  padding: clamp(0.75rem, 1.5vw, 1rem) 0;
  border-top: 1px solid var(--bg-alt);
  flex-shrink: 0;
}

/* ── Mobile responsive ─────────────────────────────────────────── */

@media (max-width: 640px) {
  .plumbing-layout {
    flex-direction: column;
    gap: 0;
  }

  .plumbing-sidebar {
    width: 100%;
    position: static;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-alt);
  }

  .section-nav a {
    display: inline-block;
    padding: 0.25rem 0;
    border-left: none;
    padding-left: 0;
    margin-right: 1rem;
  }

  /* TOC collapses to details/summary on mobile */
  .toc-wrap {
    border-top: none;
    padding-top: 0;
  }

  .toc-wrap details {
    border: 1px solid var(--bg-alt);
    border-radius: 3px;
    padding: 0.5rem 0.75rem;
  }

  .toc-wrap details summary {
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
    cursor: pointer;
    list-style: none;
  }

  .toc-wrap details summary::-webkit-details-marker {
    display: none;
  }

  .section-nav {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ── Pygments tango theme ───────────────────────────────────────── */

pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight { background: #f8f8f8; }
.highlight .c { color: #8F5902; font-style: italic } /* Comment */
.highlight .err { color: #A40000; border: 1px solid #EF2929 } /* Error */
.highlight .g { color: #000 } /* Generic */
.highlight .k { color: #204A87; font-weight: bold } /* Keyword */
.highlight .l { color: #000 } /* Literal */
.highlight .n { color: #000 } /* Name */
.highlight .o { color: #CE5C00; font-weight: bold } /* Operator */
.highlight .x { color: #000 } /* Other */
.highlight .p { color: #000; font-weight: bold } /* Punctuation */
.highlight .ch { color: #8F5902; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #8F5902; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #8F5902; font-style: italic } /* Comment.Preproc */
.highlight .cpf { color: #8F5902; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #8F5902; font-style: italic } /* Comment.Single */
.highlight .cs { color: #8F5902; font-style: italic } /* Comment.Special */
.highlight .gd { color: #A40000 } /* Generic.Deleted */
.highlight .ge { color: #000; font-style: italic } /* Generic.Emph */
.highlight .ges { color: #000; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #EF2929 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
.highlight .go { color: #000; font-style: italic } /* Generic.Output */
.highlight .gp { color: #8F5902 } /* Generic.Prompt */
.highlight .gs { color: #000; font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #A40000; font-weight: bold } /* Generic.Traceback */
.highlight .kc { color: #204A87; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #204A87; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #204A87; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #204A87; font-weight: bold } /* Keyword.Pseudo */
.highlight .kr { color: #204A87; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #204A87; font-weight: bold } /* Keyword.Type */
.highlight .ld { color: #000 } /* Literal.Date */
.highlight .m { color: #0000CF; font-weight: bold } /* Literal.Number */
.highlight .s { color: #4E9A06 } /* Literal.String */
.highlight .na { color: #C4A000 } /* Name.Attribute */
.highlight .nb { color: #204A87 } /* Name.Builtin */
.highlight .nc { color: #000 } /* Name.Class */
.highlight .no { color: #000 } /* Name.Constant */
.highlight .nd { color: #5C35CC; font-weight: bold } /* Name.Decorator */
.highlight .ni { color: #CE5C00 } /* Name.Entity */
.highlight .ne { color: #C00; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #000 } /* Name.Function */
.highlight .nl { color: #F57900 } /* Name.Label */
.highlight .nn { color: #000 } /* Name.Namespace */
.highlight .nx { color: #000 } /* Name.Other */
.highlight .py { color: #000 } /* Name.Property */
.highlight .nt { color: #204A87; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #000 } /* Name.Variable */
.highlight .ow { color: #204A87; font-weight: bold } /* Operator.Word */
.highlight .pm { color: #000; font-weight: bold } /* Punctuation.Marker */
.highlight .w { color: #F8F8F8 } /* Text.Whitespace */
.highlight .mb { color: #0000CF; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000CF; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000CF; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000CF; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000CF; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #4E9A06 } /* Literal.String.Affix */
.highlight .sb { color: #4E9A06 } /* Literal.String.Backtick */
.highlight .sc { color: #4E9A06 } /* Literal.String.Char */
.highlight .dl { color: #4E9A06 } /* Literal.String.Delimiter */
.highlight .sd { color: #8F5902; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #4E9A06 } /* Literal.String.Double */
.highlight .se { color: #4E9A06 } /* Literal.String.Escape */
.highlight .sh { color: #4E9A06 } /* Literal.String.Heredoc */
.highlight .si { color: #4E9A06 } /* Literal.String.Interpol */
.highlight .sx { color: #4E9A06 } /* Literal.String.Other */
.highlight .sr { color: #4E9A06 } /* Literal.String.Regex */
.highlight .s1 { color: #4E9A06 } /* Literal.String.Single */
.highlight .ss { color: #4E9A06 } /* Literal.String.Symbol */
.highlight .bp { color: #3465A4 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #000 } /* Name.Function.Magic */
.highlight .vc { color: #000 } /* Name.Variable.Class */
.highlight .vg { color: #000 } /* Name.Variable.Global */
.highlight .vi { color: #000 } /* Name.Variable.Instance */
.highlight .vm { color: #000 } /* Name.Variable.Magic */
.highlight .il { color: #0000CF; font-weight: bold } /* Literal.Number.Integer.Long */
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.codehilite .hll { background-color: #ffffcc }
.codehilite { background: #f8f8f8; }
.codehilite .c { color: #8F5902; font-style: italic } /* Comment */
.codehilite .err { color: #A40000; border: 1px solid #EF2929 } /* Error */
.codehilite .g { color: #000 } /* Generic */
.codehilite .k { color: #204A87; font-weight: bold } /* Keyword */
.codehilite .l { color: #000 } /* Literal */
.codehilite .n { color: #000 } /* Name */
.codehilite .o { color: #CE5C00; font-weight: bold } /* Operator */
.codehilite .x { color: #000 } /* Other */
.codehilite .p { color: #000; font-weight: bold } /* Punctuation */
.codehilite .ch { color: #8F5902; font-style: italic } /* Comment.Hashbang */
.codehilite .cm { color: #8F5902; font-style: italic } /* Comment.Multiline */
.codehilite .cp { color: #8F5902; font-style: italic } /* Comment.Preproc */
.codehilite .cpf { color: #8F5902; font-style: italic } /* Comment.PreprocFile */
.codehilite .c1 { color: #8F5902; font-style: italic } /* Comment.Single */
.codehilite .cs { color: #8F5902; font-style: italic } /* Comment.Special */
.codehilite .gd { color: #A40000 } /* Generic.Deleted */
.codehilite .ge { color: #000; font-style: italic } /* Generic.Emph */
.codehilite .ges { color: #000; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.codehilite .gr { color: #EF2929 } /* Generic.Error */
.codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.codehilite .gi { color: #00A000 } /* Generic.Inserted */
.codehilite .go { color: #000; font-style: italic } /* Generic.Output */
.codehilite .gp { color: #8F5902 } /* Generic.Prompt */
.codehilite .gs { color: #000; font-weight: bold } /* Generic.Strong */
.codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.codehilite .gt { color: #A40000; font-weight: bold } /* Generic.Traceback */
.codehilite .kc { color: #204A87; font-weight: bold } /* Keyword.Constant */
.codehilite .kd { color: #204A87; font-weight: bold } /* Keyword.Declaration */
.codehilite .kn { color: #204A87; font-weight: bold } /* Keyword.Namespace */
.codehilite .kp { color: #204A87; font-weight: bold } /* Keyword.Pseudo */
.codehilite .kr { color: #204A87; font-weight: bold } /* Keyword.Reserved */
.codehilite .kt { color: #204A87; font-weight: bold } /* Keyword.Type */
.codehilite .ld { color: #000 } /* Literal.Date */
.codehilite .m { color: #0000CF; font-weight: bold } /* Literal.Number */
.codehilite .s { color: #4E9A06 } /* Literal.String */
.codehilite .na { color: #C4A000 } /* Name.Attribute */
.codehilite .nb { color: #204A87 } /* Name.Builtin */
.codehilite .nc { color: #000 } /* Name.Class */
.codehilite .no { color: #000 } /* Name.Constant */
.codehilite .nd { color: #5C35CC; font-weight: bold } /* Name.Decorator */
.codehilite .ni { color: #CE5C00 } /* Name.Entity */
.codehilite .ne { color: #C00; font-weight: bold } /* Name.Exception */
.codehilite .nf { color: #000 } /* Name.Function */
.codehilite .nl { color: #F57900 } /* Name.Label */
.codehilite .nn { color: #000 } /* Name.Namespace */
.codehilite .nx { color: #000 } /* Name.Other */
.codehilite .py { color: #000 } /* Name.Property */
.codehilite .nt { color: #204A87; font-weight: bold } /* Name.Tag */
.codehilite .nv { color: #000 } /* Name.Variable */
.codehilite .ow { color: #204A87; font-weight: bold } /* Operator.Word */
.codehilite .pm { color: #000; font-weight: bold } /* Punctuation.Marker */
.codehilite .w { color: #F8F8F8 } /* Text.Whitespace */
.codehilite .mb { color: #0000CF; font-weight: bold } /* Literal.Number.Bin */
.codehilite .mf { color: #0000CF; font-weight: bold } /* Literal.Number.Float */
.codehilite .mh { color: #0000CF; font-weight: bold } /* Literal.Number.Hex */
.codehilite .mi { color: #0000CF; font-weight: bold } /* Literal.Number.Integer */
.codehilite .mo { color: #0000CF; font-weight: bold } /* Literal.Number.Oct */
.codehilite .sa { color: #4E9A06 } /* Literal.String.Affix */
.codehilite .sb { color: #4E9A06 } /* Literal.String.Backtick */
.codehilite .sc { color: #4E9A06 } /* Literal.String.Char */
.codehilite .dl { color: #4E9A06 } /* Literal.String.Delimiter */
.codehilite .sd { color: #8F5902; font-style: italic } /* Literal.String.Doc */
.codehilite .s2 { color: #4E9A06 } /* Literal.String.Double */
.codehilite .se { color: #4E9A06 } /* Literal.String.Escape */
.codehilite .sh { color: #4E9A06 } /* Literal.String.Heredoc */
.codehilite .si { color: #4E9A06 } /* Literal.String.Interpol */
.codehilite .sx { color: #4E9A06 } /* Literal.String.Other */
.codehilite .sr { color: #4E9A06 } /* Literal.String.Regex */
.codehilite .s1 { color: #4E9A06 } /* Literal.String.Single */
.codehilite .ss { color: #4E9A06 } /* Literal.String.Symbol */
.codehilite .bp { color: #3465A4 } /* Name.Builtin.Pseudo */
.codehilite .fm { color: #000 } /* Name.Function.Magic */
.codehilite .vc { color: #000 } /* Name.Variable.Class */
.codehilite .vg { color: #000 } /* Name.Variable.Global */
.codehilite .vi { color: #000 } /* Name.Variable.Instance */
.codehilite .vm { color: #000 } /* Name.Variable.Magic */
.codehilite .il { color: #0000CF; font-weight: bold } /* Literal.Number.Integer.Long */
