/*
Theme Name: Alvea Sistema
Description: A custom block theme scaffolded by Studio Code.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alvea
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

/* WordPress inserts a margin-block-start equal to the block gap (24px unless
   theme.json sets styles.spacing.blockGap) between the template's top-level
   sections (header part, main, footer part) — a gap that exists even when no
   markup asks for it. Zero it so sections butt edge-to-edge and own their
   vertical rhythm via padding; this does not affect block gaps inside nested
   layouts. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* With that gap gone, main carries its own vertical padding so templates this
   theme does not author (WooCommerce shop, product, cart…) still clear the
   header and footer. A descendant selector, not a child one: WooCommerce wraps
   the single-product main in an extra group. Templates built from full-bleed
   sections opt out with is-flush and let the sections own the rhythm. */
.wp-site-blocks main {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70);
}
.wp-site-blocks main.is-flush {
	padding-block: 0;
}

/* === login screen === */
.login-screen {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr;
	gap: 0;
	min-height: 100vh;
	width: 100vw;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	margin-block: 0 !important;
}

.login-screen > * {
	align-self: stretch;
}

	.login-visual {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: clamp(2rem, 5vw, 4rem);
		background-color: #0f1222;
		background-image: url('/wp-content/uploads/2026/10/nova-tec.png');
		background-size: cover;
		background-position: center;
		overflow: hidden;
	}
	.login-visual .login-note {
		text-align: center;
	}

.login-visual * {
	max-width: 100%;
}

.login-visual .login-brand {
	color: #ffffff;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	margin: 0 0 1.5rem;
}

.login-visual .login-tagline {
	color: #ffffff;
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin: 0 0 1.25rem;
	max-width: 14em;
}

.login-visual .login-note {
	color: #ffffff;
	font-size: clamp(0.95rem, 1.6vw, 1.25rem);
	font-weight: 500;
	line-height: 1.35;
	margin: 0;
	max-width: 16em;
	text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.login-visual .login-note strong {
	font-weight: 700;
}

.login-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--wp--preset--color--background);
	padding: clamp(2rem, 6vw, 4.5rem);
}

.login-card {
	width: 100%;
	max-width: 420px;
}

.login-eyebrow {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
}

.login-title {
	color: var(--wp--preset--color--text);
	font-size: clamp(1.4rem, 2.6vw, 1.7rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.03em;
	margin: 0;
}

.login-sub {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--body);
	margin: 0;
}

.login-divider {
	width: 3rem !important;
	max-width: 3rem !important;
	margin: 1.25rem auto 0;
	border: 0;
	border-top: 1px solid #e3e5ea;
}

.login-contact {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--caption);
	line-height: 1.6;
	margin: 0.75rem auto 0;
	text-align: center;
}

.login-contact strong {
	color: var(--wp--preset--color--text);
	font-weight: 600;
}

.login-card > .wp-block-group:first-child {
	gap: 0.25rem !important;
}

.login-card > *,
.login-form,
.login-field,
.login-form > *,
.login-pass-wrap {
	width: 100%;
}

.login-form {
	gap: 1.25rem !important;
}

.login-field {
	gap: 0.5rem;
	width: 100%;
}

.login-label {
	color: var(--wp--preset--color--text);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	margin: 0;
}

.login-input {
	background-color: transparent;
	border: 0;
	border-bottom: 2px solid var(--wp--preset--color--line);
	border-radius: 0;
	padding: 0.9rem 0;
	color: var(--wp--preset--color--text);
	font-size: var(--wp--preset--font-size--body);
	margin: 0;
	width: 100%;
	min-height: 3.25rem;
	box-sizing: border-box;
	line-height: 1.5;
}

.login-input-pass {
	color: var(--wp--preset--color--text-secondary);
	letter-spacing: 0.15em;
}

.login-pass-wrap {
	position: relative;
	display: block;
	width: 100%;
}

.login-pass-wrap .login-input {
	padding-right: 2.25rem;
}

.login-eye-btn {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: 0;
	padding: 0;
	line-height: 0;
	cursor: pointer;
	color: var(--wp--preset--color--text-secondary);
}

.login-eye-btn:hover {
	color: var(--wp--preset--color--text);
}

.login-eye {
	color: inherit;
}

/* real login form */
.login-form-real {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
}

.login-form-code {
	display: none;
}

input.login-input {
	background-color: transparent;
	border: 0;
	border-bottom: 2px solid var(--wp--preset--color--line);
	border-radius: 0;
	padding: 0.9rem 0;
	color: var(--wp--preset--color--text);
	font-size: var(--wp--preset--font-size--body);
	font-family: inherit;
	margin: 0;
	width: 100%;
	min-height: 3.25rem;
	box-sizing: border-box;
	line-height: 1.5;
}

input.login-input:focus {
	outline: none;
	border-bottom-color: var(--wp--preset--color--primary);
}

input.login-input::placeholder {
	color: var(--wp--preset--color--text-secondary);
	opacity: 1;
}

.login-submit {
	width: 100%;
	border-radius: 999px;
	background-color: #1f5eff;
	border: 0;
	transition: background-color 200ms ease;
}

.login-submit:hover {
	background-color: #1848c9;
}

@media (prefers-reduced-motion: reduce) {
	.login-submit {
		transition: none;
	}
}

.login-error {
	background-color: #fdeceb;
	color: #c0392b;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 500;
	padding: 0.7rem 0.95rem;
	border-radius: 12px;
	margin: 0;
}

.login-forgot {
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 500;
	margin: 0.25rem 0 0;
	cursor: pointer;
	text-align: left;
}

.login-help {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--caption);
	line-height: 1.5;
	margin: 0;
	text-align: center;
}

.login-help strong {
	font-weight: 600;
	color: var(--wp--preset--color--text);
}

.login-form .wp-block-buttons {
	width: 100%;
	margin: 0.75rem 0 0;
}

.login-form .wp-element-button {
	width: 100%;
	border-radius: 999px;
	background-color: #1f5eff;
	transition: background-color 200ms ease;
}

.login-form .wp-element-button:hover {
	background-color: #1848c9;
}

@media (prefers-reduced-motion: reduce) {
	.login-form .wp-element-button {
		transition: none;
	}
}

@media (max-width: 820px) {
	.login-screen {
		grid-template-columns: 1fr;
	}
	.login-visual {
		min-height: 280px;
		align-items: flex-end;
	}
}

/* === app shell (sidebar + dashboard) === */
.sb {
	position: fixed !important;
	top: 0;
	left: 0;
	height: 100vh;
	width: 232px;
	padding: 1.5rem 0 1.25rem;
	background-color: #1f5eff;
	border-right: 1px solid var(--wp--preset--color--line);
	box-sizing: border-box;
	height: 100vh;
	overflow-y: hidden;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	transition: width 200ms ease;
}

/* menu rola por dentro; o rodapé (contato/Sair) fica preso ao fim da tela */
.sb-top {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: none;
}
.sb-top::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.sb * {
	box-sizing: border-box;
}

main.dash-main {
	margin-left: 232px;
	min-height: 100vh;
	background-color: #fbfcfe;
	transition: margin-left 200ms ease;
}

/* collapsed rail */
.sb.is-collapsed {
	width: 76px;
	padding-left: 0.9rem;
	padding-right: 0.9rem;
}

body.sb-collapsed .sb {
	width: 76px;
	padding-left: 0.9rem;
	padding-right: 0.9rem;
}

body.sb-collapsed main.dash-main {
	margin-left: 76px;
}

.sb.is-collapsed .sb-brand-name,
.sb.is-collapsed .sb-role,
.sb.is-collapsed .sb-item > span,
.sb.is-collapsed .sb-logout > span,
.sb.is-collapsed .sb-contact,
body.sb-collapsed .sb-brand-name,
body.sb-collapsed .sb-role,
body.sb-collapsed .sb-item > span,
body.sb-collapsed .sb-logout > span,
body.sb-collapsed .sb-contact {
	display: none;
}

.sb.is-collapsed .sb-item,
body.sb-collapsed .sb-item {
	justify-content: center;
	padding: 0.55rem;
	margin-left: 0;
	margin-right: 0;
}

.sb.is-collapsed .sb-brand,
body.sb-collapsed .sb-brand {
	padding-left: 0;
	padding-right: 0;
	border-bottom-color: transparent;
}

.sb.is-collapsed .sb-nav,
body.sb-collapsed .sb-nav {
	padding-left: 0;
	padding-right: 0;
}

.sb.is-collapsed .sb-bottom,
body.sb-collapsed .sb-bottom {
	padding-left: 0;
	padding-right: 0;
}

.sb-toggle {
	position: absolute;
	top: 1rem;
	right: 0.8rem;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.8);
	cursor: pointer;
	padding: 0;
}

.sb-toggle:hover {
	color: #ffffff;
}

.sb.is-collapsed .sb-toggle,
body.sb-collapsed .sb-toggle {
	transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
	.sb { transition: none; }
	main.dash-main { transition: none; }
}

/* brand row */
.sb-brand {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.7rem;
	margin: 0;
	padding: 0.9rem 1.1rem 1.1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.sb-logo {
	width: 46px;
	height: 46px;
	object-fit: contain;
	border-radius: 8px;
	background: transparent;
	padding: 0;
	flex: 0 0 auto;
}

.sb-brand-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.18rem;
}

.sb-role {
	font-size: 0.7rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	line-height: 1.3;
}

.sb-brand-name {
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #ffffff;
	margin: 0;
}

/* nav */
.sb-nav {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.3rem;
	margin: 0;
	padding: 0.5rem 0 0;
}

.sb-item {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.94rem;
	font-weight: 500;
	margin: 0 0.6rem;
	width: auto;
	padding: 0.6rem 0.85rem;
	border-radius: 9px;
	cursor: pointer;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
}

.sb-item:hover {
	background-color: rgba(160, 170, 190, 0.26);
	color: #ffffff;
	margin-left: 0;
	margin-right: 0;
	border-radius: 0;
}

.sb-item.is-active {
	position: relative;
	background-color: rgba(126, 190, 255, 0.22);
	color: #ffffff;
	border-radius: 0;
	margin-left: 0;
	margin-right: 0;
	padding-left: 1.45rem;
	padding-right: 1.45rem;
}

.sb-item.is-active::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 3px;
	background-color: #7cc0ff;
}

.sb-item-icon {
	flex: 0 0 auto;
}

/* bottom row */
.sb-bottom {
	margin-top: auto;
	padding: 1.1rem 1.1rem 0.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	width: 100%;
	display: flex;
	flex-direction: column;
}

.sb-contact {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	margin: 0 -1.1rem;
	padding: 0 1.1rem 0.9rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.sb-contact-school {
	font-size: 0.78rem;
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 0.45rem;
}

.sb-contact-label {
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
}

.sb-contact-line {
	font-size: 0.7rem;
	color: rgba(255, 255, 255, 0.92);
	margin: 0;
	line-height: 1.5;
}

.sb-contact-phone {
	font-weight: 600;
	color: #ffffff;
}

.sb-logout-row {
	margin-top: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
}

.sb-logout {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: #ffffff;
	margin: 0;
	padding: 0.5rem 0.75rem;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
}

.sb-logout:hover {
	color: rgba(255, 255, 255, 0.8);
}

.sb-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex: 0 0 auto;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	padding: 0;
}

.sb-theme-toggle:hover {
	background: transparent;
	color: #ffffff;
	opacity: 0.8;
}

/* light sidebar theme */
.sb.is-light {
	background-color: #ffffff;
}

.sb.is-light .sb-brand,
.sb.is-light .sb-contact,
.sb.is-light .sb-bottom {
	border-color: var(--wp--preset--color--line);
}

.sb.is-light .sb-role,
.sb.is-light .sb-contact-label {
	color: #6b7080;
}

.sb.is-light .sb-brand-name,
.sb.is-light .sb-contact-school,
.sb.is-light .sb-contact-line,
.sb.is-light .sb-contact-phone {
	color: #0f1222;
}

.sb.is-light .sb-item {
	color: #5b6070;
}

.sb.is-light .sb-item:hover {
	background-color: #eef1f7;
	color: #0f1222;
}

.sb.is-light .sb-item.is-active {
	background-color: rgba(79, 140, 255, 0.14);
	color: #1f5eff;
}

.sb.is-light .sb-item.is-active::after {
	background-color: #1f5eff;
}

.sb.is-light .sb-toggle,
.sb.is-light .sb-theme-toggle {
	background: transparent;
	color: #0f1222;
}

.sb.is-light .sb-theme-toggle:hover {
	background: transparent;
	color: #0f1222;
	opacity: 0.7;
}

.sb.is-light .sb-logout {
	color: #0f1222;
}

.sb.is-light .sb-logout:hover {
	color: #1f5eff;
}

@media (prefers-reduced-motion: reduce) {
	.sb-theme-toggle {
		transition: none;
	}
}

.sb.is-collapsed .sb-theme-toggle,
body.sb-collapsed .sb-theme-toggle {
	display: none;
}

.sb-logout-icon {
	flex: 0 0 auto;
}

@media (max-width: 820px) {
	main.dash-main {
		margin-left: 200px;
	}
}


/* === dashboard content === */
.dash-shell {
	padding: clamp(2rem, 4vw, 3rem);
	width: 100%;
}

.dash-main .dash-shell {
	max-width: 1240px;
}

/* head */
.dash-head {
	gap: 1rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

/* gemini notice bar */
.gemini-note {
	margin: 0 0 2.5rem;
	padding: 1.1rem 1.4rem;
	border-radius: 22px;
	background-color: #e3f0ff;
}

.gemini-note > p {
	margin: 0;
	width: 100%;
	font-size: var(--wp--preset--font-size--caption);
	color: #0f1222;
	line-height: 1.5;
}

.gemini-link {
	color: #1c6ef2;
	font-weight: normal;
}
.dash-head {
	display: none !important;
}
/* Início — Gestor: cards de totais */
.alpa-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin: 0 0 2rem;
}
.alpa-stat {
	background: #ffffff;
	border: 1px solid #e9edf5;
	border-radius: 12px;
	padding: 1.4rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
	gap: 1rem;
}
.alpa-stat-mark {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: #e9f0ff;
	flex: none;
}
.alpa-stat-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
}
.alpa-stat-label {
	font-size: 0.85rem;
	font-weight: 500;
	color: #6b7080;
}
.alpa-stat-num {
	font-size: 1.7rem;
	font-weight: 700;
	color: #0b1220;
	line-height: 1;
}
.alpa-progress {
	height: 8px;
	border-radius: 999px;
	background: #e9f0ff;
	overflow: hidden;
	margin: 0 0 0.5rem;
}
.alpa-progress-bar {
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, #cfe0ff, #1f5eff);
	transition: width 2.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.alpa-progress-bar.is-full {
	width: 100%;
}
.alpa-progress-msg {
	font-size: 0.8rem;
	font-weight: 500;
	color: #6b7080;
	margin: 0 0 1.5rem;
	text-align: left;
}
/* Início — calendário + card Horário */
.alpa-layout {
	display: flex;
	gap: 1.5rem;
	align-items: stretch;
	margin: 0 0 2rem;
}
.alpa-layout {
	display: flex;
	gap: 1.5rem;
	align-items: stretch;
	margin: 0 0 2rem;
}
.alpa-cal,
.alpa-horario {
	background: #ffffff;
	border: 1px solid #e9edf5;
	border-radius: 10px;
	overflow: hidden;
}
.alpa-cal {
	flex: 1.35;
}
.alpa-horario {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.alpa-cal-head,
.alpa-hor-head {
	font-size: 1rem;
	font-weight: 600;
	color: #0b1220;
	padding: 0.9rem 1rem;
	border-bottom: 1px solid #e9edf5;
}
.alpa-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0.25rem;
	padding: 0.75rem;
}
.alpa-cal-dow {
	font-size: 0.7rem;
	font-weight: 600;
	color: #7b8494;
	text-transform: uppercase;
	text-align: center;
	padding: 0.3rem 0;
}
.alpa-cal-cell {
	text-align: center;
	font-size: 0.88rem;
	color: #0b1220;
	padding: 0.35rem 0;
	border-radius: 8px;
}
.alpa-cal-cell.is-blank {
	visibility: hidden;
}
.alpa-cal-cell.is-today {
	box-sizing: border-box;
	padding: 0;
	line-height: 1;
	background: #e7efff;
	color: #1f5eff;
	font-weight: 700;
	border-radius: 50%;
	width: 1.9em;
	height: 1.9em;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}
.alpa-hor-rows {
	display: flex;
	flex-direction: column;
}
.alpa-hor-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.6rem 1rem;
	font-size: 0.85rem;
}
.alpa-hor-row + .alpa-hor-row {
	border-top: 1px solid #e9edf5;
}
.alpa-hor-day {
	color: #7b8494;
}
.alpa-hor-sub {
	font-weight: 600;
	color: #0b1220;
}
@media (max-width: 760px) {
	.alpa-cards {
		grid-template-columns: 1fr;
	}
	.alpa-layout {
		flex-direction: column;
	}
}
.dash-hello {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--text);
	margin: 0;
}

.dash-date {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--body);
	margin: 0.25rem 0 0;
}

.dash-profile {
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	margin: 0.15rem 0 0;
}

.dash-head .wp-block-buttons {
	margin: 0;
}

.dash-head .wp-element-button {
	border-radius: 999px;
}

/* stat cards */
.dash-cards {
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.stat-card {
	padding: 1.5rem;
	border-radius: 16px;
	color: #ffffff;
	min-height: 9.5rem;
	justify-content: space-between;
}

.stat-label {
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	letter-spacing: 0.04em;
	margin: 0;
	opacity: 0.9;
}

.stat-value {
	font-size: clamp(1.9rem, 3vw, 2.4rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	margin: 0.15rem 0 0;
	line-height: 1.05;
}

.stat-trend {
	font-size: var(--wp--preset--font-size--caption);
	margin: 0.5rem 0 0;
	opacity: 0.85;
}

.stat-card-blue {
	background: linear-gradient(135deg, #4f8cff, #7aa8ff);
}

.stat-card-coral {
	background: linear-gradient(135deg, #ff6f61, #ff948a);
}

.stat-card-violet {
	background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.stat-card-ink {
	background: linear-gradient(135deg, #0f1222, #30364a);
}

/* section label */
.dash-quick-label {
	margin-bottom: 1rem;
}

.dash-sec-title,
.panel-title {
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--text);
	margin: 0;
}

/* quick cards */
.dash-quick {
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.quick-card {
	padding: 1.5rem;
	border-radius: 16px;
	border: 1px solid var(--wp--preset--color--line);
	background-color: #ffffff;
	min-height: 8rem;
	justify-content: flex-end;
	cursor: pointer;
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.quick-card:hover {
	transform: translateY(-3px);
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 8px 24px rgba(79, 140, 255, 0.12);
}

.quick-title {
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--wp--preset--color--text);
	margin: 0 0 0.25rem;
}

.quick-sub {
	font-size: var(--wp--preset--font-size--caption);
	color: var(--wp--preset--color--text-secondary);
	margin: 0;
}

.quick-turmas::before,
.quick-alunos::before,
.quick-notas::before,
.quick-pessoas::before {
	content: "";
	display: block;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 12px;
	margin-bottom: 1rem;
}

.quick-turmas::before { background: #e8f0ff; }
.quick-alunos::before { background: #ffece9; }
.quick-notas::before { background: #eeeaff; }
.quick-pessoas::before { background: #eef0f4; }

/* lower panels */
.dash-lower {
	gap: 1.5rem;
	align-items: stretch;
}

.panel {
	flex: 1 1 0;
	padding: 1.5rem;
	border-radius: 16px;
	border: 1px solid var(--wp--preset--color--line);
	background-color: #ffffff;
}

.panel-title {
	margin-bottom: 1rem;
}

.panel-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.panel-list li {
	margin: 0;
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.panel-list li:last-child {
	border-bottom: 0;
}

.panel-list p {
	font-size: var(--wp--preset--font-size--body);
	color: var(--wp--preset--color--text);
	margin: 0;
}

@media (max-width: 820px) {
	.dash-lower {
		flex-direction: column;
	}
}

/* === registrar aulas (form + list) === */
.aula-form-wrap {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin: 0 1rem 0 1.5rem;
	align-self: stretch;
	width: auto;
	max-width: none;
}

.aula-panel {
	padding: 1.75rem;
}

.aula-intro {
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.9rem;
	margin: 0.25rem 0 1.25rem;
}

.aula-saved {
	background-color: #e8f4ff;
	color: #0b5fb0;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 600;
	padding: 0.7rem 0.95rem;
	border-radius: 12px;
	margin: 0 0 1.25rem;
}

.aula-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
}

.aula-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem 1.5rem;
	width: 100%;
}

.aula-field {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	width: 100%;
}

.aula-field > span {
	color: var(--wp--preset--color--text);
	font-size: 0.8rem;
	font-weight: 500;
}

.aula-field input,
.aula-field select,
.aula-field textarea {
	width: 100%;
	background-color: transparent;
	border: 0;
	border-bottom: 2px solid var(--wp--preset--color--line);
	border-radius: 0;
	padding: 0.7rem 0;
	color: var(--wp--preset--color--text);
	font-size: 0.9rem;
	font-family: inherit;
	margin: 0;
	line-height: 1.5;
	transition: border-color 200ms ease;
}

.aula-field input:focus,
.aula-field select:focus,
.aula-field textarea:focus {
	outline: none;
	border-bottom-color: var(--wp--preset--color--primary);
}

.aula-field input::placeholder,
.aula-field textarea::placeholder {
	color: var(--wp--preset--color--text-secondary);
	opacity: 1;
}

.aula-field select {
	cursor: pointer;
}

.aula-field-full {
	grid-column: 1 / -1;
}

.aula-submit {
	align-self: flex-start;
	border-radius: 999px !important;
	background-color: #1f5eff !important;
	border-color: #1f5eff !important;
	color: #ffffff !important;
}

.aula-list-panel {
	align-self: stretch;
}

.aula-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.aula-item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.aula-item:last-child {
	border-bottom: 0;
}

.aula-item-date {
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 600;
	color: var(--wp--preset--color--text);
}

.aula-badge {
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
}

.aula-badge.is-done {
	background-color: #e3efff;
	color: #1f5eff;
}

.aula-badge.is-draft {
	background-color: #eceff3;
	color: #6b7280;
}

.aula-item-bim {
	font-size: var(--wp--preset--font-size--caption);
	color: var(--wp--preset--color--text-secondary);
}

.aula-item-topic {
	font-size: var(--wp--preset--font-size--body);
	font-weight: 600;
	color: var(--wp--preset--color--text);
	width: 100%;
}

.aula-item-content {
	font-size: var(--wp--preset--font-size--caption);
	color: var(--wp--preset--color--text-secondary);
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.aula-field input,
	.aula-field select,
	.aula-field textarea {
		transition: none;
	}
}

@media (max-width: 720px) {
	.aula-grid {
		grid-template-columns: 1fr;
	}
}

:root { --sbw: 232px; }
body.sb-collapsed { --sbw: 76px; }

/* Barra branca — faixa fixa no topo, colada à largura da barra lateral */
.dash-calbar {
	background: #ffffff;
	border-bottom: 1px solid #e9edf5;
	padding: 1.1rem 1.5rem;
	margin: 0;
	position: fixed;
	top: 0;
	left: var(--sbw);
	right: 0;
	z-index: 20;
}

.wp-site-blocks main.dash-main {
	padding-top: 4.25rem;
}

.dash-calbar .dash-sec-title {
	margin: 0;
	font-size: 1rem;
}

/* aproximar a nota Gemini da barra branca */
.dash-shell {
	padding-top: 1.25rem;
}

/* tela de registrar aulas: remove a nota Gemini, o cabeçalho e o shell, aproximando o botão do topo */
.is-registrar-aulas .gemini-note,
.is-registrar-aulas .dash-head,
.is-registrar-aulas .dash-shell {
	display: none;
}

.is-registrar-aulas main.dash-main {
	padding-top: 3.6rem;
}

.is-registrar-aulas .dash-shell {
	padding: 0 1rem 2rem;
}

.is-registrar-aulas .aula-form-wrap {
	margin-top: 0;
}

/* Tela cheia de aplicativo (Notas, Justificativa) */
.is-app-full .gemini-note,
.is-app-full .dash-head,
.is-app-full .dash-shell {
	display: none;
}
.is-app-full main.dash-main {
	padding-top: 3.5rem;
}
.is-planos .aula-panel {
	margin-right: 1.5rem;
	margin-left: 1.5rem;
}
.is-planos .aula-cards-title {
	margin-left: 1.5rem;
}

/* Assistente de Planos em 2 etapas */
.plano-step[hidden] {
	display: none !important;
}
.plano-steps {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
}
.plano-step-ind {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #8a93a6;
	font-size: 13px;
}
.plano-step-ind b {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #e9edf5;
	color: #8a93a6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 600;
}
.plano-step-ind.is-active {
	color: #0f1222;
	font-weight: 600;
}
.plano-step-ind.is-active b {
	background: #1f5eff;
	color: #fff;
}
.plano-step-line {
	flex: 1;
	height: 2px;
	max-width: 80px;
	background: #e9edf5;
	border-radius: 2px;
}
.aula-note {
	font-size: 12px;
	color: #8a93a6;
	margin-top: -0.2rem;
}
.plano-nav {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	margin-top: 0.25rem;
}
.plano-btn-ghost {
	background: #fff;
	color: #1f5eff;
	border: 1px solid #cdd7ee;
	border-radius: 999px;
	padding: 0.72rem 1.3rem;
	font-size: 13px;
	font-family: inherit;
	cursor: pointer;
	line-height: 1;
	transition: border-color 0.15s, color 0.15s;
}
.plano-btn-ghost:hover {
	border-color: #1f5eff;
}
#plano-next {
	margin-top: 1.5rem;
}
.plano-nav {
	margin-top: 1.25rem;
}

/* Barra de seleção de Notas (Turmas / Disciplina / Bimestre) */
.notas-bar {
	display: flex;
	gap: 1rem 2.4rem;
	flex-wrap: wrap;
	align-items: flex-end;
	background: #ffffff;
	border: 1px solid #eaf0fb;
	border-radius: 10px;
	padding: 1rem 1.25rem;
	margin: 1.5rem 1rem 1.2rem 1.5rem;
}
.notas-bar-field {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-size: 0.72rem;
	font-weight: 600;
	color: #5f6b7d;
}
.notas-bar-field select {
	background: transparent;
	border: 0;
	border-bottom: 1px solid #c3ccdb;
	border-radius: 0;
	color: #0b1220;
	font-size: 0.95rem;
	padding: 0.2rem 1.6rem 0.25rem 0;
	min-width: 152px;
	cursor: pointer;
}
.notas-bar-field select:hover {
	border-bottom-color: #1f5eff;
}
.notas-empty {
	margin: 0 1rem 0 1.5rem;
	padding: 2.5rem 1rem;
	background: #ffffff;
	border: 1px dashed #d7deea;
	border-radius: 10px;
	text-align: center;
	color: #7b8494;
	font-size: 0.95rem;
}
.notas-empty small {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.78rem;
}

.notas-heading {
	margin: 0 0 0.9rem 1.5rem;
	font-size: 1rem;
	font-weight: 700;
	color: #0b1220;
}
.notas-saved {
	margin: 0 1rem 0.9rem 1.5rem;
	padding: 0.6rem 0.9rem;
	background: #e8f4ff;
	color: #0b5fb0;
	border-radius: 8px;
	border: 0;
	box-shadow: none;
	font-size: 0.85rem;
}
.notas-form {
	margin: 0 1rem 1rem 1.5rem;
	max-width: 760px;
}
.notas-table-wrap {
	background: #ffffff;
	border: 1px solid #e9edf5;
	border-radius: 10px;
	overflow: hidden;
}
.notas-table {
	width: 100%;
	border-collapse: collapse;
}
.notas-table th,
.notas-table td {
	text-align: left;
	padding: 0.6rem 0.4rem;
	font-size: 0.9rem;
}
.notas-table thead th {
	font-size: 0.72rem;
	letter-spacing: 0.03em;
	color: #7b8494;
	border-bottom: 1px solid #e9edf5;
	font-weight: 700;
}
.notas-table td {
	border-bottom: 1px solid #f1f3f8;
}
.notas-table tr:last-child td {
	border-bottom: 0;
}
.col-aluno { width: 30%; }
.col-at { width: auto; }
.col-qua { width: auto; }
.col-media { width: auto; }
.notas-aluno {
	font-weight: 500;
	color: #0b1220;
	padding-left: 0.9rem;
	padding-right: 1.4rem;
	min-width: 160px;
	white-space: nowrap;
}
.notas-input {
	width: 58px;
	border: 1px solid transparent;
	border-bottom: 1px solid #c3ccdb;
	border-radius: 0;
	background: transparent;
	padding: 0.35rem 0.2rem 0.3rem;
	font-size: 0.9rem;
	color: #0b1220;
	text-align: center;
}
.notas-input:focus {
	outline: none;
	border-bottom: 2px solid #1f5eff;
}
.notas-table-wrap {
	margin: 0.5rem 1rem 0 1.5rem;
	border: 1px solid #e9edf5;
	border-radius: 10px;
	overflow: hidden;
	background: #ffffff;
}
.notas-table-scroll {
	overflow-x: auto;
}
.notas-table { width: 100%; border-collapse: collapse; }
.notas-form {
	max-width: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}
.notas-heading,
.notas-bar {
	max-width: none;
}
.notas-qua {
	border-bottom-color: #7d8db0;
}
.notas-media {
	font-size: 0.95rem;
	font-weight: 700;
	color: #1f5eff;
	text-align: center;
	background: #e7efff;
}
.notas-calc {
	font-weight: 700;
	color: #1f5eff;
	text-align: center;
	background: #f3f7ff;
	white-space: nowrap;
	font-size: 0.8rem;
}
.notas-table thead th.col-at2,
.notas-table thead th.col-sim {
	width: 52px;
}
.notas-table thead th.col-calc {
	color: #1f5eff;
}

/* Barra descritiva · Aspectos quantitativos (Notas finais) */
.notas-criterio {
	background: #f0f5ff;
	border: 1px solid #cfe0ff;
	border-left: 4px solid #1f5eff;
	border-radius: 10px;
	padding: 0.75rem 1rem;
	margin: 0.25rem 0 1.25rem;
}
.notas-criterio strong {
	color: #1f5eff;
	font-weight: 700;
	font-size: 0.95rem;
}
.notas-criterio p {
	margin: 0.25rem 0 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: #3c4659;
}

/* Notas finais — visão de encerramento */
.notas-final-table th,
.notas-final-table td {
	text-align: center;
}
.notas-final-table td.notas-aluno {
	text-align: left;
}
.notas-azul-th {
	color: #1f5eff !important;
}
.notas-azul {
	font-weight: 700;
	color: #1f5eff;
	background: #e7efff;
	white-space: nowrap;
}
.notas-final-val {
	font-weight: 700;
	white-space: nowrap;
}
.notas-final-table thead th.col-at2 {
	width: 96px;
}
.notas-situa {
	font-weight: 700;
	white-space: nowrap;
	padding: 0.5rem 0.75rem;
}
.notas-situa.is-aprovado {
	color: #0a8a3c;
	background: #e3f6ea;
	border-radius: 999px;
}
.notas-situa.is-reprovado {
	color: #c0392b;
	background: #fdecea;
	border-radius: 999px;
}

/* Modo visualização — secretária (Notas sem edição) */
.notas-readonly-note {
	background: #fff8e6;
	border: 1px solid #f2d98a;
	border-left: 4px solid #e6a817;
	border-radius: 10px;
	padding: 0.6rem 1rem;
	margin: 0.25rem 0 1.25rem;
	font-size: 0.85rem;
	color: #7a5d08;
}
.notas-ro {
	text-align: center;
	padding: 0.5rem 0.6rem;
	color: #2a3550;
	font-weight: 600;
	white-space: nowrap;
}

/* Boletins (secretária) */
.boletim-table .col-at {
	min-width: 92px;
}
.boletim-cell {
	text-align: center;
	font-weight: 700;
	white-space: nowrap;
}
.boletim-cell.is-ok {
	color: #0a8a3c;
}
.boletim-cell.is-bad {
	color: #c0392b;
	background: #fdecea;
}
.boletim-cell.is-empty {
	color: #9aa4bd;
	font-weight: 400;
}
.boletim-legenda {
	white-space: nowrap;
	font-size: 0.8rem;
	margin: 0 0 1rem;
	color: #0f1222;
}
.boletim-ok {
	color: #0a8a3c;
	font-weight: 600;
}
.boletim-bad {
	color: #c0392b;
	font-weight: 600;
}

/* Boletim individual por aluno (impressão retrato) */
.is-boletins .dash-shell {
	display: none;
}
.boletim-bar {
	margin: 0 1.5rem 0.9rem;
}
.boletim-toolbar {
	display: flex;
	justify-content: flex-start;
	gap: 0.6rem;
	margin: 0 1.5rem 0.7rem;
}
.boletim-print-btn {
	padding: 0.55rem 1.2rem;
	border: 0;
	border-radius: 8px;
	background: #e7efff;
	color: #39507a;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.6;
	cursor: pointer;
}
.boletim-print-btn:hover {
	background: #d6e4ff;
}
.boletim-card {
	max-width: none;
	margin: 0 1.5rem 2rem;
	padding: 1.6rem 1.8rem 1.4rem;
	background: #ffffff;
	border: 1px solid #e8ecf4;
	border-radius: 12px;
	color: #0f1222;
}
.boletim-cab {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-bottom: 0.9rem;
	margin-bottom: 0.8rem;
	border-bottom: 1px solid #e0e6f0;
}
.boletim-logo {
	width: 54px;
	height: 54px;
	object-fit: contain;
}
.boletim-escola {
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.25;
	color: #0f1222;
}
.boletim-escola-linha {
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.35;
	color: #0f1222;
	margin-top: 0.12rem;
}
.boletim-escola-linha strong {
	font-weight: 700;
}
.boletim-tipo {
	font-size: 0.95rem;
	font-weight: 600;
	color: #1f5eff;
	margin-top: 0.15rem;
}
.boletim-ano {
	font-size: 0.82rem;
	color: #6b7080;
	margin-top: 0.1rem;
}
.boletim-titulo {
	font-size: 1.02rem;
	font-weight: 700;
	color: #0f1222;
	margin: 0 0 0.9rem;
	text-align: center;
}
.boletim-dados {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 1.1rem;
}
.boletim-dado {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	gap: 0.35rem;
}
.boletim-dado-label {
	font-size: 0.8rem;
	font-weight: 700;
	color: #0f1222;
}
.boletim-dado-val {
	font-size: 0.8rem;
	font-weight: 400;
	color: #0f1222;
}
.boletim-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.78rem;
	margin-bottom: 1rem;
}
.boletim-table th,
.boletim-table td {
	border: 1px solid #cdd6e4;
	padding: 0.42rem 0.3rem;
	text-align: center;
}
.boletim-table thead th {
	background: #eef4ff;
	font-weight: 700;
	color: #1f5eff;
}
.boletim-th-num {
	width: 34px;
}
.boletim-th-disc {
	text-align: left !important;
}
.boletim-td-disc {
	text-align: left !important;
	font-weight: 600;
}
.boletim-td-num {
	white-space: nowrap;
}
.boletim-final {
	font-weight: 700;
	background: #f5f8ff;
}
.boletim-situacao {
	font-weight: 700;
}
.boletim-situacao.is-aprovado {
	color: #0a8a3c;
}
.boletim-situacao.is-reprovado {
	color: #c0392b;
}
.boletim-situacao.is-vazio {
	color: #9aa4bd;
	font-weight: 400;
}
.boletim-ass-bimestres {
	margin: 15rem 0 1.4rem;
}
.boletim-ass-bim {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	font-size: 0.78rem;
	color: #0f1222;
	padding: 0.5rem 0;
}
.boletim-ass-bim-label {
	white-space: nowrap;
}
.boletim-ass-bim-line {
	flex: 1;
	min-width: 120px;
	border-bottom: 1px solid #6b7080;
}
.boletim-ass-bim-datal {
	white-space: nowrap;
}
.boletim-ass-bim-linedata {
	flex: 0 0 130px;
	min-width: 130px;
}
@media print {
	.boletim-ass-bim {
		color: #000000 !important;
	}
	.boletim-ass-bim-line {
		border-color: #000000 !important;
	}
}
.boletim-assinaturas {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 1.6rem;
	padding-top: 1.4rem;
}
.boletim-ass {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	flex: 1;
}
.boletim-ass-linha {
	width: 100%;
	border-top: 1px solid #0f1222;
}
.boletim-ass-label {
	font-size: 0.78rem;
	color: #6b7080;
}
@media print {
	@page boletim {
		size: portrait;
		margin: 1.2cm;
	}
	.boletim-bar,
	.boletim-toolbar {
		display: none !important;
	}
	body * {
		visibility: hidden !important;
	}
	.boletim-print-root,
	.boletim-print-root * {
		visibility: visible !important;
	}
	.boletim-print-root {
		position: absolute !important;
		left: 0 !important;
		top: 0 !important;
		width: 100% !important;
	}
	.boletim-card {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		background: #ffffff !important;
		page: boletim;
	}
	.boletim-print-page {
		break-after: page;
	}
	.boletim-print-page:last-child {
		break-after: auto;
	}
	.boletim-dado-label,
	.boletim-dado-val,
	.boletim-legenda,
	.boletim-ass-bim,
	.boletim-ass-label {
		font-size: 11px;
	}
	.boletim-table {
		font-size: 10.5px;
	}
	.boletim-table th,
	.boletim-table td {
		color: #000000 !important;
		border-color: #000000 !important;
		background: #ffffff !important;
		padding: 0.25rem 0.22rem;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	.boletim-table thead th,
	.boletim-table td {
		white-space: nowrap;
	}
	.boletim-td-disc,
	.boletim-th-disc {
		white-space: normal;
	}
	.boletim-titulo {
		font-size: 14px;
		margin-bottom: 0.55rem;
	}
	.boletim-escola {
		font-size: 13px;
	}
	.boletim-escola-linha {
		font-size: 10px;
	}
	.boletim-tipo {
		font-size: 11px;
	}
	.boletim-ano {
		font-size: 10px;
	}
	.boletim-cab {
		border-bottom-color: #000000 !important;
		padding-bottom: 0.5rem;
		margin-bottom: 0.5rem;
	}
	.boletim-tipo,
	.boletim-td-disc,
	.boletim-final {
		color: #000000 !important;
	}
	.boletim-titulo,
	.boletim-situacao-final,
	.boletim-legenda {
		color: #000000 !important;
	}
	.boletim-ass-bim {
		padding: 0.3rem 0;
	}
	.boletim-ass-bimestres {
		margin: 11rem 0 1rem;
	}
	.boletim-assinaturas {
		margin-top: 1rem;
		padding-top: 1rem;
	}
}

/* Planos — visualização da secretária */
.plano-ro-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.25rem;
}
.plano-ro-toolbar .panel-title {
	margin: 0;
}
.plano-ro-toolbar .diario-print {
	margin: 0;
}
.ro-meta {
	color: #5b6780;
	font-size: 0.82rem;
	font-style: italic;
	margin-bottom: 2px;
}

/* Planos — secretária (modelo aulas registradas + impressão retrato) */
.plano-ro-bar {
	margin: 24px 24px 0 24px;
	padding: 18px 24px;
	background: #ffffff;
	border: 1px solid #e8eaf0;
	border-radius: 14px;
}
.plano-ro-bar .panel-title {
	margin: 0 0 4px;
}
.plano-ro-bar .aula-intro {
	margin: 0;
}
.plano-ro-list {
	margin: 14px 24px 24px 24px;
}
.plano-ro-item {
	background: #ffffff;
	border: 1px solid #e9edf5;
	border-radius: 10px;
	overflow: hidden;
}
.plano-ro-item + .plano-ro-item {
	margin-top: 0.8rem;
}
.plano-ro-head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.8rem 1rem;
	cursor: pointer;
	transition: background 0.15s ease;
}
.plano-ro-head:hover {
	background: #f6f9ff;
}
.plano-ro-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
}
.plano-ro-mon {
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	color: #7b8494;
	line-height: 1;
}
.plano-ro-day {
	font-size: 1.15rem;
	font-weight: 700;
	color: #0f1222;
	line-height: 1.1;
}
.plano-ro-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.plano-ro-title {
	font-weight: 700;
	color: #0f1222;
	font-size: 0.98rem;
}
.plano-ro-sub {
	font-size: 0.8rem;
	color: #5b6780;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.plano-print-btn {
	margin-left: auto;
	padding: 0.4rem 0.9rem;
	border: none;
	border-radius: 7px;
	background: #e7efff;
	color: #1f5eff;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}
.plano-print-btn:hover {
	background: #d6e4ff;
}
.plano-ro-chev {
	flex: 0 0 auto;
	color: #9aa4b8;
	transition: transform 0.18s ease;
}
.plano-ro-item.is-open .plano-ro-chev {
	transform: rotate(180deg);
}
.plano-ro-body {
	display: none;
	border-top: 1px solid #eef1f7;
	padding: 0.4rem 0;
}
.plano-ro-item.is-open .plano-ro-body {
	display: block;
}
.plano-ro-printhead {
	padding: 0.9rem 1.1rem 0.2rem;
}
.plano-ro-school {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: #7b8494;
	font-weight: 600;
	text-transform: uppercase;
}
.plano-ro-doctitle {
	font-size: 1rem;
	font-weight: 700;
	color: #0f1222;
	margin-top: 2px;
}
.plano-ro-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 0.3rem;
}
.plano-ro-table td {
	padding: 0.55rem 1.1rem;
	vertical-align: top;
	border-bottom: 1px solid #eef1f7;
	font-size: 0.9rem;
	color: #2a3550;
}
.plano-ro-table tr:last-child td {
	border-bottom: none;
}
.plano-ro-label {
	width: 180px;
	font-weight: 600;
	color: #1f5eff;
}
@media print {
	.plano-ro-item.is-printing,
	.plano-ro-item.is-printing * {
		visibility: visible !important;
	}
	.plano-ro-item.is-printing {
		position: absolute !important;
		left: 0 !important;
		top: 0 !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		page: plano;
		break-inside: avoid;
	}
	.plano-ro-item.is-printing .plano-ro-head {
		display: none !important;
	}
	.plano-ro-item.is-printing .plano-ro-body {
		display: block !important;
	}
	.plano-ro-table td {
		color: #000000 !important;
		border-color: #000000 !important;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	.plano-ro-label {
		color: #000000 !important;
	}
}
@page plano {
	margin: 1.4cm;
	size: portrait;
}

/* Cadastros do Gestor */
.cadastro-empty {
	margin: 0 1rem 1rem 1.5rem;
	background: #f6f9ff;
	border: 1px dashed #c7d6f7;
	border-radius: 10px;
	padding: 1.4rem;
}
.cadastro-empty-title {
	margin: 0 0 6px;
	font-weight: 700;
	color: #2a3550;
}
.cadastro-empty-note {
	margin: 2px 0 0;
	color: #5b6780;
	font-size: 0.9rem;
}
.cadastro-empty-note b {
	color: #1f5eff;
}

/* CRUD dos cadastros do Gestor */
.cadastro-ok,
.cadastro-err {
	margin: 0 1.5rem 1rem;
	padding: 0.8rem 1rem;
	border-radius: 9px;
	font-weight: 600;
}
.cadastro-ok {
	background: #e8f4ff;
	color: #0b5fb0;
	border: 0;
	box-shadow: none;
}
.cadastro-err {
	background: #fdecea;
	color: #b42318;
	border: 1px solid #f5c6c1;
}

/* Espaça a notificação da barra branca (calbar) nas telas de app (ex.: Tramitação). */
.is-app-full .cadastro-ok,
.is-app-full .cadastro-err {
	margin-top: 1.25rem;
}
.cadastro-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}
.cad-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.cad-field > span {
	font-size: 0.85rem;
	font-weight: 600;
	color: #2a3550;
}
.cad-field input,
.cad-field select {
	width: 100%;
	box-sizing: border-box;
	padding: 0.55rem 0.1rem;
	border: 0;
	border-bottom: 1px solid #cfd7e6;
	border-radius: 0;
	font-size: 0.95rem;
	color: #0f1222;
	background: transparent;
	transition: border-color 150ms ease;
}
.cad-field input:focus,
.cad-field select:focus {
	outline: none;
	border-bottom-color: #1f5eff;
	box-shadow: none;
}
.cad-req {
	color: #d93025;
}
.cad-checks {
	display: block;
	padding-top: 0.6rem;
}
.cad-check {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 1.25rem 0.5rem 0;
	font-size: 0.9rem;
	color: #0f1222;
	cursor: pointer;
}
.cad-check input[type="checkbox"] {
	accent-color: #1f5eff;
	width: 15px;
	height: 15px;
	cursor: pointer;
}
.cad-checks-empty {
	font-size: 0.85rem;
	color: #8b96ab;
}
.cadastro-note {
	margin: 0.9rem 0 0;
	font-size: 0.85rem;
	color: #5b6780;
	font-style: italic;
}
.cadastro-save {
	margin-top: 1.1rem;
	padding: 0.6rem 1.2rem;
	border: none;
	border-radius: 8px;
	background: #1f5eff;
	color: #ffffff;
	font-weight: 600;
	cursor: pointer;
}
.cadastro-save:hover {
	background: #1448cc;
}
.cadastro-cancel {
	margin-left: 0.75rem;
	color: #5b6780;
	font-size: 0.88rem;
}
.cadastro-list-wrap {
	margin: 1.25rem 1.5rem 2rem;
}
.cadastro-list-title {
	font-size: 1rem;
	color: #2a3550;
	margin: 0 0 0.7rem;
}
.cadastro-table {
	background: #ffffff;
	border: 1px solid #e9edf5;
	border-radius: 12px;
	overflow: hidden;
}
.cthead,
.ctrow {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.cthead {
	background: #f4f8ff;
	font-weight: 700;
	color: #1f5eff;
	font-size: 0.82rem;
}
.cthead .cth {
	padding: 0.7rem 0.9rem;
}
.ctrow {
	border-top: 1px solid #eef1f7;
	align-items: center;
}
.ctd {
	padding: 0.65rem 0.9rem;
	font-size: 0.88rem;
	color: #2a3550;
	overflow-wrap: anywhere;
}
.cad-edit {
	color: #1f5eff;
	font-weight: 600;
	font-size: 0.85rem;
	margin-right: 0.5rem;
}
.cad-del {
	display: inline;
}
.cad-delbtn {
	border: none;
	background: none;
	color: #d93025;
	font-weight: 600;
	font-size: 0.85rem;
	cursor: pointer;
	padding: 0;
}

/* telas de cadastro do Gestor: aproxima o formulário da barra branca e
   evita que ele encoste na barra lateral (esq) e na borda (dir) */
.is-cadastro .dash-head,
.is-cadastro .gemini-note,
.is-cadastro .dash-shell {
	display: none;
}
.is-cadastro .panel.aula-panel {
	margin-left: 2rem;
	margin-right: 2rem;
}
.is-cadastro .cadastro-list-wrap,
.is-cadastro .cadastro-ok,
.is-cadastro .cadastro-err {
	margin-left: 2rem;
	margin-right: 2rem;
}
.notas-table thead th.col-media {
	color: #1f5eff;
	background: #e7efff;
}
.notas-aspectos {
	margin: 0;
	background: #ffffff;
	border: 0;
	border-bottom: 1px solid #eaf0fb;
	border-radius: 0;
	padding: 1rem 1.25rem;
}
.notas-aspectos-title {
	margin: 0 0 0.4rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #1f5eff;
}
.notas-aspectos-desc {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: #5f6b7d;
}
.diario-tabs {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.5rem 1rem 0 1.5rem;
}
.diario-tab {
	padding: 0.55rem 1.2rem;
	border: none;
	border-radius: 8px;
	background: #e7efff;
	color: #39507a;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
}
.diario-tab.is-active {
	background: #d6e4ff;
	color: #000000;
	font-weight: 700;
}
.diario-print {
	margin-left: 1rem;
	padding: 0.55rem 1.2rem;
	border: none;
	border-radius: 8px;
	background: #e7efff;
	color: #39507a;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.6;
	cursor: pointer;
}
.diario-print:hover {
	background: #d6e4ff;
}
@media print {
	@page diario {
		margin: 1.2cm;
		size: landscape;
	}
	html,
	body {
		background: #ffffff !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	/* Só a planilha do diário; oculta todo o resto da tela (barra, widget, chat). */
	body * {
		visibility: hidden !important;
	}
	.diario-plan,
	.diario-plan * {
		visibility: visible !important;
	}
	.diario-plan {
		position: absolute !important;
		left: 0 !important;
		top: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
		max-width: none !important;
		page: diario;
	}
	.diario-plan-table th,
	.diario-plan-table td {
		color: #000000 !important;
		border-color: #000000 !important;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}
.diario-bar {
	margin-top: 0.75rem;
}
.diario-plan {
	margin: 0.75rem 1rem 0 1.5rem;
	background: #ffffff;
	color: #000000;
}
.diario-plan-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.84rem;
	background: #ffffff;
	color: #000000;
}
.diario-plan-table th,
.diario-plan-table td {
	border: 1px solid #000000;
	padding: 0.45rem 0.6rem;
	text-align: left;
	vertical-align: top;
	background: #ffffff;
}
.diario-plan-head td {
	padding: 0.5rem 0.75rem;
}
.diario-plan-head .col-label {
	font-weight: 700;
	white-space: nowrap;
	width: 1%;
}
.diario-plan-table thead th {
	font-weight: 700;
	text-align: center;
}
.diario-plan-table th.col-aluno,
.diario-plan-table td.col-aluno {
	min-width: 210px;
}
.diario-plan-table th.col-data,
.diario-plan-table td.cell-mark {
	min-width: 44px;
	text-align: center;
}
.diario-total-aulas {
	margin-top: 0.75rem;
	font-size: 0.9rem;
	color: #000000;
}
.diario-cab {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem;
	border: 1px solid #000000;
	border-bottom: 2px solid #000000;
	background: #ffffff;
	color: #000000;
	padding: 0.75rem 1rem;
}
.diario-cab-nome {
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin-bottom: 0.3rem;
	color: #000000;
}
.diario-cab-linha {
	font-size: 0.8rem;
	line-height: 1.45;
	color: #000000;
}
.diario-cab-lab {
	font-weight: 600;
}
.diario-cab-logo {
	order: -1;
}
.diario-cab-logo img {
	display: block;
	max-width: 52px;
	max-height: 52px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.diario-assinaturas {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem 4rem;
	margin: 4rem 0 0;
	padding: 0 0.5rem 0.35rem;
	border: 1px solid #000000;
	border-top: none;
	background: #ffffff;
}
.diario-assin {
	text-align: center;
}
.diario-assin-linha {
	border-top: 1px solid #000000;
	margin: 0 0 0.5rem;
}
.diario-assin-label {
	font-size: 0.8rem;
	font-weight: 600;
	color: #000000;
	line-height: 1.35;
}
.notas-submit-row {
	margin-top: 1rem;
	margin-left: 1.5rem;
	text-align: left;
}.notas-save {
	background: #1f5eff;
	color: #ffffff;
	border: 0;
	border-radius: 8px;
	padding: 0.6rem 1.4rem;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
}
.notas-save:hover {
	background: #1749d6;
}

/* Justificativa — painel do gestor */
.just-panel { margin: 0 1rem 0 1.5rem; }
.just-title { margin: 0 0 1rem; }
.just-empty {
	padding: 2.5rem 1rem;
	background: #ffffff;
	border: 1px dashed #d7deea;
	border-radius: 10px;
	text-align: center;
	color: #7b8494;
}
.just-cards { max-width: 760px; }
.just-card {
	background: #ffffff;
	border: 1px solid #e9edf5;
	border-radius: 10px;
	padding: 0.9rem 1rem;
	margin-bottom: 0.8rem;
}
.just-card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.just-who { display: flex; flex-direction: column; }
.just-aluno { font-size: 1rem; font-weight: 700; color: #0b1220; }
.just-meta { font-size: 0.75rem; color: #7b8494; }
.just-badge { font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 20px; white-space: nowrap; }
.just-badge.pendente { background: #fdf1e3; color: #b56a1c; }
.just-badge.aprovado { background: #e3f0ff; color: #1f5eff; }
.just-badge.reprovado { background: #fde8e8; color: #c62828; }
.just-motivo { margin: 0.6rem 0 0; font-size: 0.92rem; color: #333d4f; }
.just-grid { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.6rem; }
.just-field { font-size: 0.8rem; color: #5f6b7d; }
.just-field strong { color: #0b1220; }
.just-actions { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
.just-btn {
	border: 1px solid;
	border-radius: 6px;
	font-size: 0.78rem;
	font-weight: 600;
	padding: 0.4rem 1rem;
	cursor: pointer;
}
.just-btn.aprovar { background: #1f5eff; border-color: #1f5eff; color: #ffffff; }
.just-btn.aprovar:hover { background: #1749d6; }
.just-btn.reprovar { background: #ffffff; border-color: #e8b3b3; color: #c62828; }
.just-btn.reprovar:hover { background: #fde8e8; }

/* Presença justificada — caixa preta e bloqueada */
.aula-freq-dot.is-locked {
	background: #0b1220;
	border-color: #0b1220;
	cursor: not-allowed;
}
.aula-freq-dot.is-locked::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 6px;
	height: 6px;
	background: #ffffff;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}
.aula-freq-row.is-justified .aula-freq-state { color: #0b1220; }
.aula-freq-row.is-justified .aula-freq-name { font-weight: 600; }
.aula-justify-locked {
	font-size: 0.7rem;
	font-weight: 600;
	color: #6b7686;
	background: #eef1f6;
	padding: 0.2rem 0.6rem;
	border-radius: 14px;
}

/* Seção Frequência */
.aula-freq {
	margin-top: 0.75rem;
}

.aula-freq-title {
	margin: 0;
	padding-top: 1.1rem;
	border-top: 2px solid var(--wp--preset--color--line);
	font-size: 1rem;
	font-weight: 700;
	color: var(--wp--preset--color--text);
}

.aula-freq-intro {
	margin: 0.15rem 0 0.4rem;
	font-size: 0.8rem;
	color: var(--wp--preset--color--text-secondary);
}

.aula-freq-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.aula-freq-row {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.aula-freq-check {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.aula-freq-check input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.aula-freq-dot {
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 4px;
	border: 2px solid #c3cbd8;
	background: #ffffff;
	display: inline-block;
	transition: background-color 0.12s ease, border-color 0.12s ease;
}

.aula-freq-check input:checked + .aula-freq-dot {
	background: #1f5eff;
	border-color: #1f5eff;
}

.aula-freq-dot {
	position: relative;
}

.aula-freq-check input:checked + .aula-freq-dot::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 4px;
	height: 7px;
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	transform: translate(-50%, -62%) rotate(45deg);
}
.aula-freq-name {
	flex: 1;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--wp--preset--color--text);
}

.aula-freq-state {
	font-size: 0.78rem;
	font-weight: 600;
	color: #1e7c46;
}

.aula-freq-row.is-missed .aula-freq-name {
	color: var(--wp--preset--color--text-secondary);
}

.aula-freq-row.is-missed .aula-freq-state {
	color: #d24545;
}

/* Nota legal da frequência */
.aula-freq-note {
	background-color: #eef1f6;
	border-left: 3px solid #c3ccdb;
	border-radius: 8px;
	padding: 0.7rem 0.9rem;
	margin: 0.3rem 0 1rem;
	font-size: 0.78rem;
	line-height: 1.5;
	color: #5c6678;
}

.aula-freq-note p {
	margin: 0 0 0.35rem;
}

.aula-freq-note p:last-child {
	margin-bottom: 0;
}

/* Botão Justificar + painel cinza-claro */
.aula-justify-btn {
	background: #ffffff;
	border: 1px solid #cdd5e2;
	border-radius: 6px;
	color: #5f6b7d;
	font-size: 0.72rem;
	font-weight: 500;
	padding: 0.25rem 0.7rem;
	cursor: pointer;
	margin-left: auto;
	flex: 0 0 auto;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.aula-justify-btn:hover {
	background: #f1f4f9;
	color: #1f5eff;
	border-color: #9aa8c2;
}

.aula-justify {
	background-color: #f6f8fb;
	border: 1px solid #edf0f6;
	border-radius: 10px;
	list-style: none;
	margin: 0 0 0.4rem;
	padding: 0.8rem;
}

.aula-justify-inner {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.aula-justify-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}

.aula-justify-save {
	align-self: flex-end;
	background: #1f5eff;
	border: 0;
	border-radius: 6px;
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 600;
	padding: 0.45rem 1rem;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.aula-justify-save:hover {
	background: #1749d6;
}

.aula-turma-label {
	margin: 0 0 0.9rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #1f5eff;
}

/* Ação — botão "+ Registrar aulas" à direita, logo abaixo da barra branca */
.aula-actions {
	margin: 0.6rem 0 0.6rem;
	padding: 0 1rem;
	text-align: right;
}

.aula-add-btn {
	background-color: #1f5eff;
	border: 0;
	border-radius: 6px;
	color: #ffffff;
	font-size: 0.9rem;
	font-weight: 400;
	padding: 0.55rem 1.3rem;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.aula-add-btn:hover {
	background-color: #1248d0;
}
.aula-cards-title {
	margin: 2rem 1.5rem 0.9rem 1.5rem;
}

.aula-cards {
	display: block;
	margin: 0 1rem 0 1.5rem;
	background: #ffffff;
	border: 1px solid #e9edf5;
	border-radius: 10px;
	overflow: hidden;
}

.aula-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.9rem 1rem;
}

.aula-row + .aula-row {
	border-top: 1px solid #e9edf5;
}

.aula-row-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
}

.aula-date-mon {
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	color: #7b8494;
	line-height: 1;
}

.aula-date-day {
	font-size: 1.4rem;
	font-weight: 700;
	color: #0b1220;
	line-height: 1.1;
	margin-top: 0.15rem;
}

.aula-row-main {
	flex: 1;
	min-width: 0;
}

.aula-row-head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.aula-row-content {
	margin: 0.2rem 0 0;
	font-size: 0.8rem;
	color: #8a93a4;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.aula-row-actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.aula-delete-form {
	display: inline-flex;
	margin: 0;
}

.aula-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background: #ffffff;
	color: #9aa3b2;
	border: 0;
	border-radius: 6px;
	text-decoration: none;
	cursor: pointer;
	padding: 0;
	transition: color 0.15s ease;
}

.aula-icon:hover {
	color: #5f6b7d;
}

.aula-card-topic {
	font-size: 1rem;
	font-weight: 600;
	color: #0b1220;
}

.aula-row-bim {
	font-size: 0.85rem;
	color: #6b7280;
}

/* Arquivos — boletim em Paisagem (notas por bimestre da turma) */
body.print-landscape .boletim-card {
	max-width: none;
	width: 100%;
}
.boletim-arquivo-pick {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.7rem 1.5rem 1rem;
	flex-wrap: wrap;
}
.bap-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #39507a;
}
.bap-btn {
	background: #eaf2ff !important;
	border: none !important;
	color: #1f5eff !important;
}
.bap-btn:hover {
	background: #dcebff !important;
	color: #1448cc !important;
}
.arquivo-titulo {
	font-size: 1.05rem;
	font-weight: 700;
	text-align: center;
	margin: 0.6rem 0;
	color: #0f1222;
}
.arquivo-table th,
.arquivo-table td {
	text-align: center;
}
.arquivo-table .arquivo-th-aluno,
.arquivo-table .boletim-td-disc {
	text-align: left;
}
.arquivo-table.nota-det {
	font-size: 0.62rem;
	border-collapse: collapse;
	width: 100%;
}
.arquivo-table.nota-det th,
.arquivo-table.nota-det td {
	white-space: nowrap;
	padding: 0.14rem 0.2rem;
	border: 1px solid #d8dfec;
}
.arquivo-table.nota-det .arquivo-th-aluno,
.arquivo-table.nota-det .boletim-td-disc {
	text-align: left;
	max-width: 160px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.arquivo-g1 th {
	background: #eef3ff;
	color: #3a5bbf;
	font-size: 0.6rem;
	text-transform: uppercase;
}
.arquivo-g1 th[colspan] {
	letter-spacing: 0.02em;
}
.arquivo-g2 th {
	background: #f7faff;
	font-weight: 600;
	color: #4a5a7a;
}
@media print {
	body.print-landscape .arquivo-table.nota-det {
		font-size: 7px;
	}
	body.print-landscape .arquivo-table.nota-det th,
	body.print-landscape .arquivo-table.nota-det td {
		padding: 0.1rem 0.14rem;
	}
}
.anual-table {
	font-size: 0.7rem;
}
.anual-table th,
.anual-table td {
	white-space: nowrap;
	text-align: center;
	padding: 0.15rem 0.25rem;
}
.anual-table .boletim-td-disc,
.anual-table .arquivo-th-aluno {
	text-align: left;
	white-space: normal;
	min-width: 120px;
}
.anual-table .anual-bim-h {
	color: #1f5eff;
}
.anual-table thead tr:nth-child(2) th {
	color: #5f6b7d;
	font-weight: 600;
}
@media print {
	body.print-landscape .anual-table {
		font-size: 9px;
	}
	body.print-landscape .anual-table th,
	body.print-landscape .anual-table td {
		padding: 0.12rem 0.2rem;
	}
}

/* Tramitação — secretária: solicitar ajuste de notas baixas */
.tram-create {
	margin: 12px 2rem 0;
}
.tram-form {
	display: block;
	margin-top: 0.3rem;
}
.tram-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.25rem;
	margin-bottom: 0.25rem;
}
.tram-field {
	margin: 0;
}
.tram-prof-field {
	grid-column: 1 / -1;
}
.tram-obs-label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 0.5rem;
}
.tram-obs-label > span {
	font-size: 0.85rem;
	font-weight: 600;
	color: #2a3550;
}
.tram-obs-label textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.35rem 0.1rem;
	border: 0;
	border-bottom: 1px solid #cfd7e6;
	border-radius: 0;
	font-size: 0.95rem;
	color: #0f1222;
	background: transparent;
	resize: vertical;
	line-height: 1.4;
	transition: border-color 150ms ease;
}
.tram-obs-label textarea:focus {
	outline: none;
	border-bottom-color: #1f5eff;

}
.tram-submit-row {
	margin-top: 1.1rem;
	text-align: left;
}
.tram-list-title {
	margin: 1.6rem 2rem 0.7rem;
}
.tram-list {
	margin: 0 2rem 2rem;
}
.tram-card {
	background: #ffffff;
	border: 1px solid #e9edf5;
	border-radius: 10px;
	padding: 0.9rem 1rem;
	margin-bottom: 0.8rem;
}
.tram-card-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}
.tram-who {
	display: flex;
	flex-direction: column;
}
.tram-aluno {
	font-size: 1rem;
	font-weight: 700;
	color: #0b1220;
}
.tram-meta {
	font-size: 0.78rem;
	color: #7b8494;
}
.tram-badge {
	font-size: 0.72rem;
	font-weight: 600;
	padding: 0.2rem 0.6rem;
	border-radius: 20px;
	white-space: nowrap;
}
.tram-badge.pendente {
	background: #fdf1e3;
	color: #b56a1c;
}
.tram-badge.andamento {
	background: #e3f0ff;
	color: #1f5eff;
}
.tram-badge.atualizada {
	background: #e6f4eb;
	color: #1e7c46;
}
.tram-badge.concluida {
	background: #e8f4ff;
	color: #0b5fb0;
}
.tram-obs {
	margin: 0.6rem 0 0;
	font-size: 0.9rem;
	color: #333d4f;
}
.tram-statusform {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 0.7rem;
}
.tram-statusform select {
	padding: 0.35rem 0.1rem;
	border: 0;
	border-bottom: 1px solid #cfd7e6;
	border-radius: 0;
	font-size: 0.85rem;
	color: #0f1222;
	background: transparent;
	transition: border-color 150ms ease;
}
.tram-statusform select:focus {
	outline: none;
	border-bottom-color: #1f5eff;
}
.tram-save {
	background: #1f5eff;
	border: 0;
	border-radius: 6px;
	color: #ffffff;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.45rem 0.9rem;
	cursor: pointer;
}
.tram-save:hover {
	background: #1749d6;
}
.tram-actions {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-top: 0.8rem;
}
.tram-editbtn {
	background: #eaf2ff;
	color: #1f5eff;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.45rem 0.9rem;
	text-decoration: none;
}
.tram-editbtn:hover {
	background: #dce9ff;
}
.tram-delform {
	display: inline;
	margin: 0;
}
.tram-delbtn {
	background: #fdecec;
	color: #c22;
	border: 0;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.45rem 0.9rem;
	cursor: pointer;
}
.tram-delbtn:hover {
	background: #f7d5d5;
}
.tram-cancel {
	margin-left: 0.6rem;
	color: #7b8494;
	font-size: 0.85rem;
	text-decoration: none;
}
.tram-cancel:hover {
	color: #1f5eff;
}
.sb-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	margin-left: auto;
	border-radius: 50%;
	background: #ff3b3b;
	color: #ffffff;
	font-size: 0.66rem;
	font-weight: 700;
	line-height: 1;
	flex: 0 0 auto;
}
@media print {
	body.print-landscape .arquivo-card .boletim-table {
		font-size: 10px;
	}
	body.print-landscape .arquivo-table th,
	body.print-landscape .arquivo-table td {
		white-space: nowrap;
		padding: 0.2rem 0.3rem;
	}
	body.print-landscape .arquivo-table .arquivo-th-aluno,
	body.print-landscape .arquivo-table .boletim-td-disc {
		white-space: normal;
		min-width: 140px;
		text-align: left;
	}
	body.print-landscape .arquivo-assinaturas {
		margin-top: 3rem;
	}
	body.print-landscape .arquivo-titulo {
		font-size: 13px;
		color: #000000;
	}
}

