/* Rectoly for LaTeX's guide (/latex/guide/), after guide.css (lib/guide-latex.js). Its three systems are the switch's
   choices: iPhone · iPad ("ios"), Android and the computer version ("desktop": Windows, Mac and Linux). guide.css already
   handles "android"; these are the other two, and the guide's marks. Version: LATEX_GUIDE_CSS_VERSION in lib/site.js. */

html[data-g-platform="ios"] [data-platform]:not([data-platform~="ios"]),
html[data-g-platform="desktop"] [data-platform]:not([data-platform~="desktop"]) { display: none; }
html[data-g-platform="ios"] .v-p,
html[data-g-platform="desktop"] .v-p { display: none; }
/* A note for one system of a choice ({ipad}, {mac} …) still says which, whatever the reader chose. */
html[data-g-platform] .v-tag.v-p.v-sub { display: inline-block; }

html[data-g-platform="ios"] .g-na[data-na-platform="ios"],
html[data-g-platform="desktop"] .g-na[data-na-platform="desktop"] { display: block; }
html[data-g-platform="ios"] [data-na-platforms~="ios"],
html[data-g-platform="desktop"] [data-na-platforms~="desktop"] { opacity: 0.4; }

/* Price marks: Pro and Compile+ as guide.css marks what is bought. */
.g-plan-pro, .g-plan-plus { color: var(--warm); border-color: rgba(229,161,66,0.35); }

/* The version a feature needs: a chip under the title, a mark in a heading or a line. */
.g-chip.g-since { color: var(--accent-bright); border-color: var(--accent-glow); }
.g-since-mark {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 4px 8px 3px;
  margin: 0 2px;
  border-radius: 6px;
  border: 1px solid var(--accent-glow);
  color: var(--accent-bright);
  vertical-align: 2px;
  white-space: nowrap;
}
.g-toc .g-since-mark { font-size: 10.5px; padding: 3px 6px 2px; }
