/*
Theme Name:        Pew
Theme URI:         https://example.com/pew
Author:            Pew
Author URI:        https://example.com
Description:       Front-end for the Pew pastoral SMS platform. Renders the Pew app (members, groups, templates, automations, attendance, compose) backed by the Pew Core plugin's REST API, plus capability-gated member profile and directory templates. Requires the Pew Core plugin.
Version:           1.0.1
Requires at least: 6.4
Tested up to:      6.6
Requires PHP:      8.0
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       pew
*/

/* The dashboard's design tokens, fonts, and component styles live in the
   self-contained, no-build files assets/app/pew-dashboard.css and
   assets/app/pew-dashboard.js. The rules below are only the base layer for the
   WordPress shell and the server-rendered (single/archive/404) templates.
   Shared design tokens live in assets/css/tokens.css. */

html,
body {
	margin: 0;
	padding: 0;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: #F5EFE0;
}

/* Animation keyframes used by the app (defined here as well so they exist
   before the app's runtime injection, preventing any first-paint flash). */
@keyframes pewFadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes pewModalIn {
	from { opacity: 0; transform: scale(0.96) translateY(8px); }
	to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes pewBarGrow {
	from { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
	to   { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
}

/* Full-bleed app mount. */
#pew-root {
	min-height: 100vh;
}

/* No-JS fallback shown inside the app mount before/without the bundle. */
.pew-nojs {
	max-width: 30rem;
	margin: 12vh auto;
	padding: 0 1.5rem;
	font-family: 'Geist', system-ui, sans-serif;
	color: #3A332C;
	text-align: center;
}
