/*
Theme Name: Worksheet Studio
Theme URI: https://work-sheet.net/
Author: Worksheet Studio
Author URI: https://work-sheet.net/
Description: Worksheet Studio is a complete printable-worksheet creation application delivered as a single WordPress theme. Teachers, parents, homeschoolers and tutors choose a worksheet type, set the grade and difficulty, generate a classroom-ready sheet with a matching answer key, and download or print it. Worksheet generation is deterministic and runs in the browser: no AI, no API keys and no third-party services are required.
Version: 0.3.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: worksheet-studio
Tags: education, application, one-column, custom-colors, translation-ready, accessibility-ready
*/

/*
 * This file exists to declare the theme to WordPress and to carry the minimum
 * styling needed before the application bundle loads. The application's own design
 * system ships in the compiled stylesheet under app/dist/ - do not add component
 * styles here.
 */

:root {
  --wsm-boot-bg: #f7f8fa;
  --wsm-boot-fg: #1f2430;
  --wsm-boot-muted: #5b6472;
  --wsm-boot-accent: #2563eb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --wsm-boot-bg: #14161b;
    --wsm-boot-fg: #e8eaef;
    --wsm-boot-muted: #9aa2b1;
  }
}

html {
  -webkit-text-size-adjust: 100%;
}

body.wsm-app {
  margin: 0;
  background: var(--wsm-boot-bg);
  color: var(--wsm-boot-fg);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

/* Shown until the application bundle mounts, and if scripting is unavailable. */
.wsm-boot {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.wsm-boot__inner {
  max-width: 34rem;
}

.wsm-boot__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.wsm-boot__text {
  margin: 0;
  color: var(--wsm-boot-muted);
}

.wsm-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: #ffffff;
  color: var(--wsm-boot-accent);
  z-index: 1000;
}

.wsm-skip-link:focus {
  left: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
