/* The reader's Appearance choices (netcyc_appearance_controller.js), as classes on <html>: text size (Small 14px,
   Large 20px; Standard 16px is the default), Wide (no cap on the page's width), Light or Dark (Automatic follows the
   system), and the hidden contents column (its dropdown beside the title instead) and Appearance column (its dropdown
   in the header instead). */

.nc-pref-text-small { --nc-text-size: 0.875rem; }
.nc-pref-text-large { --nc-text-size: 1.25rem; }
.nc-pref-width-wide { --nc-page-width: none; }
.nc-pref-color-light { color-scheme: light; }
.nc-pref-color-dark { color-scheme: dark; }

.nc-pref-toc-hidden .nc-column-start { display: none; }
.nc-pref-toc-hidden .nc-toc-menu { display: block; }
.nc-pref-appearance-hidden .nc-column-end { display: none; }
.nc-pref-appearance-hidden .nc-appearance-menu { visibility: visible; }

@media (min-width: 70rem) {
  .nc-pref-toc-hidden .nc-page { grid-template-areas: "main" "footer"; grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 87.5rem) {
  .nc-pref-toc-hidden .nc-page { grid-template-areas: "main end" "footer footer"; grid-template-columns: minmax(0, 1fr) var(--nc-column); }
  .nc-pref-appearance-hidden .nc-page { grid-template-areas: "start main" "footer footer"; grid-template-columns: var(--nc-column) minmax(0, 1fr); }
  .nc-pref-toc-hidden.nc-pref-appearance-hidden .nc-page { grid-template-areas: "main" "footer"; grid-template-columns: minmax(0, 1fr); }
}
