/* Classeto v8.38 — calmer light-mode canvas.
   Only page CANVASES are toned down; cards, inputs, colored accents,
   individual site colors, and every dark-mode rule remain unchanged. */

/* Public sites created by teachers/professionals — visitor light mode only.
   The public theme script updates data-theme and the .dark class together. */
html.classeto-public-page[data-theme="light"] .public:not(.dark) {
  --pbg: #eceff1;
  background-color: var(--pbg) !important;
}
html.classeto-public-page[data-theme="light"] body {
  background-color: #eceff1 !important;
}

/* Shared authenticated template: both teacher dashboard and admin panel.
   Keep the white panel/card surfaces to preserve hierarchy and contrast. */
html.classeto-panel-page[data-theme="light"] {
  --bg: #e9edf1;
}
html.classeto-panel-page[data-theme="light"] body,
html.classeto-panel-page[data-theme="light"] .app-shell,
html.classeto-panel-page[data-theme="light"] .main {
  background-color: var(--bg) !important;
}
