﻿body.aps-owl-line-page {
	background: #f4f6fa;
	color: #1a2332;
}

.aps-school-page,
.tutor-school-page {
	--owl-bg: #f4f6fa;
	--owl-surface: #ffffff;
	--owl-text: #1a2332;
	--owl-muted: #64748b;
	--owl-blue: #2563eb;
	--owl-purple: #7c3aed;
	--owl-green: #059669;
	--owl-coral: #f97316;
	--owl-coral-alt: #ec4899;
	--owl-metric-orange: #fb923c;
	--owl-metric-purple: #8b5cf6;
	--owl-metric-slate: #334155;
	--owl-radius-lg: 20px;
	--owl-radius-md: 14px;
	--owl-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
	--owl-shadow-hover: 0 8px 32px rgba(15, 23, 42, 0.12);
	--aps-navy: var(--owl-text);
	--aps-navy-light: var(--owl-blue);
	--aps-white: var(--owl-surface);
	--aps-border: #e2e8f0;
	--aps-text: var(--owl-text);
	--aps-muted: var(--owl-muted);
	--aps-success: #16a34a;
	--aps-danger: #dc2626;
	font-family: Inter, system-ui, sans-serif;
	color: var(--owl-text);
	min-height: 100vh;
	padding: 2rem 1rem;
}

.aps-school-page h1,
.aps-school-page h2,
.aps-school-page h3,
.tutor-school-page h1,
.tutor-school-page h2,
.tutor-school-page h3 {
	color: var(--owl-text);
}

.aps-school-page a:not(.aps-btn):not(.tutor-btn):not(.aps-action-tile):not(.aps-whatsapp-link),
.tutor-school-page a:not(.aps-btn):not(.tutor-btn):not(.aps-action-tile):not(.aps-whatsapp-link) {
	color: var(--owl-blue);
	text-decoration: none;
}

.aps-school-page a:not(.aps-btn):not(.tutor-btn):not(.aps-action-tile):not(.aps-whatsapp-link):hover,
.tutor-school-page a:not(.aps-btn):not(.tutor-btn):not(.aps-action-tile):not(.aps-whatsapp-link):hover {
	color: #1d4ed8;
	text-decoration: underline;
}

.aps-wrap,
.tutor-wrap {
	max-width: 1100px;
	margin: 0 auto;
}

.aps-header,
.tutor-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.aps-dashboard-greeting {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
}

.tutor-header__logout {
	align-self: flex-start;
	flex-shrink: 0;
	white-space: nowrap;
	padding: 0.35rem 0.75rem;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 8px;
}

.aps-dashboard-subtitle {
	margin: 0.25rem 0 0;
	color: var(--owl-muted);
	font-size: 0.95rem;
}

.aps-dashboard-section-title {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--owl-text);
}

.aps-card-glass,
.tutor-school-page .tutor-card,
.tutor-card.aps-card-glass {
	background: var(--owl-surface);
	border: 1px solid var(--aps-border);
	border-radius: var(--owl-radius-lg);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: var(--owl-shadow);
}

.aps-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.aps-metric-card,
.aps-wallet-badge {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 140px;
	padding: 1.25rem 1.5rem;
	border-radius: var(--owl-radius-lg);
	color: #ffffff;
	box-shadow: var(--owl-shadow);
}

.aps-metric-card--orange,
.aps-wallet-badge {
	background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.aps-metric-card--slate {
	background: linear-gradient(135deg, #475569 0%, #334155 100%);
}

.aps-metric-card--purple {
	background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
}

.aps-metric-card__label,
.aps-wallet-badge__label {
	font-size: 0.9rem;
	font-weight: 600;
	opacity: 0.95;
	text-transform: none;
	color: rgba(255, 255, 255, 0.92);
}

.aps-metric-card__body {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 0.75rem;
}

.aps-metric-card__icon-ring,
.aps-wallet-badge__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border: 2px dashed rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	flex-shrink: 0;
}

.aps-metric-card__icon,
.aps-wallet-badge__icon {
	width: 1.35rem;
	height: 1.35rem;
	color: #ffffff;
	margin: 0;
}

.aps-metric-card__value,
.aps-wallet-badge__value {
	font-size: clamp(2rem, 5vw, 2.75rem);
	font-weight: 700;
	line-height: 1;
	color: #ffffff;
}

.aps-metric-card__value--compact {
	font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.aps-metric-card__suffix {
	font-size: 1rem;
	font-weight: 600;
	opacity: 0.9;
}

.aps-wallet-row {
	display: contents;
}

.aps-wallet-meta {
	display: none;
}

.aps-action-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
	max-width: 520px;
}

.aps-action-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	min-height: 110px;
	padding: 1.25rem 1rem;
	border-radius: var(--owl-radius-md);
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
	text-align: center;
	box-shadow: var(--owl-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aps-action-tile:hover,
.aps-action-tile:focus {
	transform: translateY(-2px);
	box-shadow: var(--owl-shadow-hover);
	color: #ffffff;
	text-decoration: none;
}

.aps-action-tile--book {
	background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
}

.aps-action-tile--shop {
	background: linear-gradient(135deg, #f472b6 0%, #db2777 100%);
}

.aps-action-tile__icon {
	width: 1.75rem;
	height: 1.75rem;
}

.aps-form label,
.tutor-school-page .tutor-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: var(--owl-text);
}

.aps-form input[type="text"],
.aps-form input[type="email"],
.aps-form input[type="password"],
.aps-form input[type="date"],
.aps-form input[type="time"],
.aps-form input[type="number"],
.aps-form select,
.aps-form textarea {
	width: 100%;
	max-width: 480px;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--aps-border);
	border-radius: 10px;
	font-size: 1rem;
	background: #f8fafc;
	color: var(--owl-text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.aps-form input::placeholder,
.aps-form textarea::placeholder {
	color: #94a3b8;
}

.aps-form input:focus,
.aps-form select:focus,
.aps-form textarea:focus {
	outline: none;
	border-color: var(--owl-blue);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.aps-form select.aps-field-selected {
	border-color: var(--owl-blue);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.aps-form p {
	margin-bottom: 1rem;
}

.aps-btn,
.tutor-school-page .tutor-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.25rem;
	border-radius: 10px;
	border: 1px solid var(--aps-border);
	background: var(--owl-surface);
	color: var(--owl-text);
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.aps-btn-primary,
.tutor-school-page .tutor-btn-primary {
	background: var(--owl-coral);
	border-color: var(--owl-coral);
	color: #ffffff;
}

.aps-btn-primary:hover,
.aps-btn-primary:focus,
.tutor-school-page .tutor-btn-primary:hover,
.tutor-school-page .tutor-btn-primary:focus {
	background: #ea580c;
	border-color: #ea580c;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: var(--owl-shadow);
}

.aps-btn-secondary {
	background: var(--owl-purple);
	border-color: var(--owl-purple);
	color: #ffffff;
}

.aps-btn-secondary:hover,
.aps-btn-secondary:focus {
	background: #6d28d9;
	border-color: #6d28d9;
	color: #ffffff;
}

.aps-btn:hover,
.aps-btn:focus,
.tutor-school-page .tutor-btn:hover,
.tutor-school-page .tutor-btn:focus {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: var(--owl-text);
}

.aps-table {
	width: 100%;
	border-collapse: collapse;
}

.aps-table th,
.aps-table td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--aps-border);
	color: var(--owl-text);
}

.aps-table th {
	font-weight: 600;
	color: var(--owl-text);
	background: #f8fafc;
}

.aps-alert-block {
	padding: 1rem 1.25rem;
	border-radius: 10px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: var(--aps-danger);
	margin-bottom: 1rem;
}

.aps-success {
	color: var(--aps-success);
	font-weight: 600;
}

.aps-muted {
	color: var(--aps-muted);
}

.aps-bacs-instructions {
	margin-top: 1.5rem;
}

.aps-bacs-instructions code.aps-iban {
	font-size: 1.05rem;
	letter-spacing: 0.05em;
	color: var(--owl-text);
}

.aps-package-catalog .products {
	margin-top: 1rem;
}

.aps-subjects-catalog__intro {
	margin: 0 0 1rem;
}

.aps-subjects-catalog__table-wrap {
	overflow-x: auto;
	margin-bottom: 1rem;
}

.aps-subjects-table td,
.aps-subjects-table th {
	vertical-align: middle;
}

.aps-whatsapp-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box;
	height: 1.65rem !important;
	min-height: 0 !important;
	margin: 0;
	padding: 0 0.8rem !important;
	border: none !important;
	border-radius: 999px !important;
	background: #25d366 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap;
	vertical-align: middle;
	flex-shrink: 0;
	appearance: none;
	-webkit-appearance: none;
	transition: background 0.15s ease, transform 0.15s ease;
}

.aps-whatsapp-link__label {
	display: block;
	line-height: 1;
	transform: translateY(-1px);
}

.aps-whatsapp-link:hover,
.aps-whatsapp-link:focus {
	background: #1ebe57 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	text-decoration: none !important;
	transform: translateY(-1px);
}

.aps-subjects-table__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.aps-teacher-vacation-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 1.65rem;
	padding: 0 0.75rem;
	border-radius: 999px;
	background: rgba(245, 158, 11, 0.18);
	border: 1px solid rgba(245, 158, 11, 0.45);
	color: #b45309;
	font-size: 0.74rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.aps-teacher-vacation-card__intro {
	margin: 0 0 1rem;
}

.aps-teacher-vacation-card__status {
	margin: 0 0 1rem;
	padding: 0.65rem 0.85rem;
	border-radius: 0.65rem;
	background: rgba(138, 180, 248, 0.12);
	border: 1px solid rgba(138, 180, 248, 0.28);
	color: var(--aps-text, #eef4f8);
	font-size: 0.92rem;
}

.aps-teacher-vacation-card__status.is-active {
	background: rgba(245, 158, 11, 0.14);
	border-color: rgba(245, 158, 11, 0.4);
	color: #fcd34d;
}

.aps-teacher-vacation-form {
	display: grid;
	gap: 1rem;
}

.aps-teacher-vacation-form__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.aps-teacher-vacation-form__field {
	display: grid;
	gap: 0.35rem;
	min-width: 11rem;
}

.aps-teacher-vacation-form__field label {
	font-size: 0.85rem;
	font-weight: 600;
}

.aps-teacher-vacation-form__field input[type="date"] {
	min-height: 2.5rem;
	padding: 0.45rem 0.65rem;
	border-radius: 0.5rem;
	border: 1px solid var(--owl-line-border, rgba(138, 180, 248, 0.2));
	background: rgba(255, 255, 255, 0.06);
	color: inherit;
}

.aps-teacher-vacation-form__actions,
.aps-teacher-vacation-form__clear {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.aps-teacher-vacation-form__clear {
	margin-top: 0.75rem;
}

.aps-subjects-catalog__cta {
	margin: 0;
}

.aps-requirements-list {
	margin: 0;
	padding-left: 1.25rem;
	color: var(--aps-muted);
}

.aps-add-student-section {
	padding: 0;
	overflow: hidden;
}

.aps-add-student-disclosure > summary {
	list-style: none;
}

.aps-add-student-disclosure > summary::-webkit-details-marker {
	display: none;
}

.aps-add-student-disclosure__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.9rem 1.25rem;
	margin: 1.25rem 1.5rem;
	border-radius: var(--owl-radius-md, 14px);
	cursor: pointer;
	user-select: none;
	background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
	color: #ffffff;
	box-shadow: 0 4px 16px rgba(14, 165, 233, 0.25);
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.aps-add-student-disclosure__label {
	font-size: 1.05rem;
	font-weight: 600;
	color: #ffffff;
}

.aps-add-student-disclosure__icon {
	flex-shrink: 0;
	width: 0.65rem;
	height: 0.65rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	color: #ffffff;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.aps-add-student-disclosure[open] .aps-add-student-disclosure__icon {
	transform: rotate(-135deg);
}

.aps-add-student-disclosure__panel {
	padding: 0 1.5rem 1.5rem;
	border-top: none;
}

.aps-add-student-disclosure__summary:hover,
.aps-add-student-disclosure__summary:focus-visible {
	background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
	box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}

.aps-add-student-disclosure__summary:hover .aps-add-student-disclosure__label,
.aps-add-student-disclosure__summary:focus-visible .aps-add-student-disclosure__label {
	color: #ffffff;
}

.aps-add-student-disclosure__summary:focus {
	outline: none;
}

.aps-add-student-disclosure__summary:focus-visible {
	outline: 2px solid #0284c7;
	outline-offset: 2px;
}

.aps-admin-wrap {
	--aps-navy: #0a1628;
	--aps-text: #0f172a;
	--aps-muted: #64748b;
	color: var(--aps-text);
}

.aps-admin-wrap .aps-admin-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin: 1.5rem 0;
}

.aps-admin-wrap .aps-admin-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 1.25rem;
}

.aps-admin-wrap a.aps-admin-card--action {
	display: block;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.aps-admin-wrap a.aps-admin-card--action:hover,
.aps-admin-wrap a.aps-admin-card--action:focus {
	border-color: #94a3b8;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
	color: inherit;
}

.aps-admin-wrap a.aps-admin-card--action h2 {
	margin-top: 0;
}

.aps-admin-wrap a.aps-admin-card--action.aps-admin-card--orange {
	background: #f67e3c;
	border-color: #e56d2b;
	color: #fff;
}

.aps-admin-wrap a.aps-admin-card--action.aps-admin-card--orange h2,
.aps-admin-wrap a.aps-admin-card--action.aps-admin-card--orange .description {
	color: #fff;
}

.aps-admin-wrap a.aps-admin-card--action.aps-admin-card--orange .description {
	opacity: 0.92;
}

.aps-admin-wrap a.aps-admin-card--action.aps-admin-card--orange:hover,
.aps-admin-wrap a.aps-admin-card--action.aps-admin-card--orange:focus {
	background: #e56d2b;
	border-color: #d45f1f;
	box-shadow: 0 4px 12px rgba(246, 126, 60, 0.35);
	color: #fff;
}

.aps-family-support-card {
	margin: 1.5rem 0 0;
}

.aps-family-support-card__header {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.aps-family-support-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 999px;
	background: rgba(246, 126, 60, 0.14);
	color: #f67e3c;
	flex-shrink: 0;
}

.aps-family-support-card__title {
	margin: 0 0 0.35rem;
}

.aps-family-support-card__intro {
	margin: 0;
}

.aps-family-support-card__cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	padding-top: 0.25rem;
}

.aps-family-support-card__mail-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border: 1px solid var(--owl-coral, #f67e3c);
	background: var(--owl-coral, #f67e3c);
	color: #fff !important;
}

.aps-family-support-card__mail-btn:hover,
.aps-family-support-card__mail-btn:focus {
	border-color: #ea580c;
	background: #ea580c;
	color: #fff !important;
}

.aps-family-support-card__mail-hint {
	margin: 0;
	font-size: 0.875rem;
}

.aps-admin-wrap .aps-stat {
	font-size: 2rem;
	font-weight: 700;
	margin: 0.5rem 0 0;
	color: #0a1628;
}

.aps-admin-wrap .aps-login-password-wrap,
.aps-admin-wrap .aps-admin-password-field .aps-login-password-wrap {
	position: relative;
	display: inline-block;
	max-width: 100%;
	width: 25em;
}

.aps-admin-wrap .aps-login-password-wrap input.regular-text,
.aps-admin-wrap .aps-admin-password-field .aps-login-password-wrap input.regular-text {
	padding-right: 2.75rem;
	width: 100%;
	box-sizing: border-box;
}

.aps-admin-wrap .aps-login-toggle-pwd {
	position: absolute;
	top: 50%;
	right: 0.5rem;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #f67e3c;
	cursor: pointer;
	padding: 0.15rem;
	line-height: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.aps-admin-wrap .aps-login-toggle-pwd svg {
	stroke: #f67e3c;
}

.aps-admin-wrap .aps-login-toggle-pwd:hover,
.aps-admin-wrap .aps-login-toggle-pwd:focus {
	color: #e56d2b;
	background: transparent;
	outline: none;
}

.aps-admin-wrap .aps-login-toggle-pwd:hover svg,
.aps-admin-wrap .aps-login-toggle-pwd:focus svg {
	stroke: #e56d2b;
}

.aps-teacher-subjects-page .aps-teacher-filters,
.aps-families-students-page .aps-teacher-filters {
	display: flex;
	gap: 0.75rem;
	align-items: flex-end;
	flex-wrap: wrap;
	margin: 1rem 0 1.25rem;
}

.aps-teacher-subjects-page .aps-teacher-filters p,
.aps-families-students-page .aps-teacher-filters p {
	margin: 0;
}

.aps-teacher-subjects-page .aps-teacher-count,
.aps-families-students-page .aps-teacher-count {
	margin: 0 0 1rem;
}

.aps-admin-list-scroll {
	overflow: auto;
	max-height: min(32rem, 65vh);
	margin: 0 0 1rem;
	border: 1px solid #dcdcde;
	border-radius: 4px;
}

.aps-admin-list-scroll .aps-teacher-list-table {
	margin: 0;
	border: 0;
}

.aps-admin-list-scroll .aps-teacher-list-table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #f6f7f7;
	box-shadow: inset 0 -1px 0 #dcdcde;
}

.aps-teacher-summary-row[hidden],
.aps-teacher-edit-row[hidden] {
	display: none;
}

.aps-teacher-list-table .aps-teacher-summary-row td {
	vertical-align: middle;
}

.aps-teacher-subject-badges {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.aps-teacher-subject-badge {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: #e0f2fe;
	color: #0c4a6e;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.4;
}

.aps-teacher-subject-badge--more {
	background: #f1f5f9;
	color: #475569;
}

.aps-teacher-edit-row td {
	background: #f8fafc;
	padding: 1rem 1.25rem !important;
}

.aps-teacher-edit-form {
	max-width: 960px;
}

.aps-teacher-subjects-fieldset {
	margin: 0.75rem 0 1rem;
	border: 1px solid #dcdcde;
	padding: 0.75rem 1rem;
	border-radius: 4px;
}

.aps-teacher-subjects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.35rem 1rem;
	margin-top: 0.5rem;
}

.aps-teacher-subject-option {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.aps-teacher-service-rates-fieldset {
	margin: 0.75rem 0 1rem;
	border: 1px solid #dcdcde;
	padding: 0.75rem 1rem;
	border-radius: 4px;
}

.aps-teacher-service-rates-intro {
	margin: 0 0 0.75rem;
}

.aps-teacher-service-rates-subject {
	margin-bottom: 1rem;
}

.aps-teacher-service-rates-subject.is-hidden {
	display: none;
}

.aps-teacher-service-rates-subject h4 {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
}

.aps-teacher-service-rates-table {
	max-width: 36rem;
	margin-bottom: 0.25rem;
}

.aps-teacher-service-rates-table th,
.aps-teacher-service-rates-table td {
	vertical-align: middle;
}

.aps-teacher-comp-summary {
	display: inline-block;
	line-height: 1.45;
}

.aps-teacher-paid-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.2;
}

.aps-teacher-paid-badge--yes {
	background: rgba(34, 197, 94, 0.15);
	color: #15803d;
}

.aps-teacher-paid-badge--no {
	background: rgba(251, 146, 60, 0.15);
	color: #c2410c;
}

.aps-teacher-paid-panel {
	margin-top: 2rem;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fff;
}

.aps-teacher-paid-panel__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	cursor: pointer;
	user-select: none;
	list-style: none;
}

.aps-teacher-paid-panel__summary::-webkit-details-marker {
	display: none;
}

.aps-teacher-paid-panel__title {
	font-size: 1.05rem;
	font-weight: 600;
	color: #1d2327;
}

.aps-teacher-paid-panel__meta {
	font-size: 0.85rem;
	color: #646970;
}

.aps-teacher-paid-panel__body {
	padding: 0 1rem 1rem;
	border-top: 1px solid #f0f0f1;
}

.aps-teacher-paid-panel__intro {
	margin: 0.75rem 0 0;
}

.aps-teacher-paid-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin: 0.75rem 0;
}

.aps-teacher-paid-toolbar__search {
	margin: 0;
	flex: 1 1 16rem;
}

.aps-teacher-paid-toolbar__search .regular-text {
	width: 100%;
	max-width: 22rem;
}

.aps-teacher-paid-toolbar__count {
	margin: 0;
	font-size: 0.85rem;
	color: #646970;
	min-width: 6rem;
}

.aps-teacher-paid-toolbar__toggle {
	margin: 0;
}

.aps-teacher-paid-table-scroll {
	overflow: auto;
	max-height: min(28rem, 60vh);
	margin: 0.5rem 0 0;
	border: 1px solid #dcdcde;
	border-radius: 4px;
}

.aps-teacher-paid-table {
	min-width: 100%;
	margin: 0;
	border: 0;
	font-size: 0.78rem;
}

.aps-teacher-paid-table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #f6f7f7;
	box-shadow: inset 0 -1px 0 #dcdcde;
	padding: 0.35rem 0.25rem;
	font-size: 0.72rem;
	line-height: 1.2;
	white-space: nowrap;
}

.aps-teacher-paid-table__teacher {
	position: sticky;
	left: 0;
	z-index: 3;
	min-width: 7.5rem;
	max-width: 9.5rem;
	text-align: left;
	vertical-align: middle;
	background: #fff;
	box-shadow: inset -1px 0 0 #dcdcde;
	padding: 0.35rem 0.5rem;
}

.aps-teacher-paid-table thead .aps-teacher-paid-table__teacher {
	z-index: 4;
	background: #f6f7f7;
}

.aps-teacher-paid-table__teacher-name {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 600;
	font-size: 0.78rem;
}

.aps-teacher-paid-table__month {
	min-width: 3.6rem;
	width: 3.6rem;
	text-align: center;
	vertical-align: middle;
	text-transform: lowercase;
}

.aps-teacher-paid-table__cell {
	text-align: center;
	vertical-align: middle;
	padding: 0.2rem 0.15rem;
}

.aps-teacher-paid-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.1rem;
	margin: 0;
	cursor: pointer;
	min-height: 2.2rem;
}

.aps-teacher-paid-cell input[type="checkbox"] {
	margin: 0;
	width: 0.95rem;
	height: 0.95rem;
}

.aps-teacher-paid-cell__amount {
	font-size: 0.68rem;
	font-weight: 600;
	color: #50575e;
	line-height: 1.1;
	white-space: nowrap;
}

.aps-teacher-paid-panel__actions {
	margin: 0.75rem 0 0;
}

.aps-teacher-paid-row[hidden] {
	display: none;
}

.aps-services-catalog-form .regular-text {
	width: 100%;
	max-width: 24rem;
}

.aps-subjects-catalog-table .aps-subject-rename-form,
.aps-subjects-catalog-table .aps-subject-delete-form {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	flex-wrap: wrap;
	margin: 0;
}

.aps-subjects-catalog-table .aps-subject-rename-form input.regular-text {
	min-width: 12rem;
}

.aps-subjects-catalog-table td {
	vertical-align: middle;
}

body.aps-has-pill-dock .aps-plugin-page-root,
body.aps-has-pill-dock .aps-school-page {
	padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.aps-pill-dock {
	position: fixed;
	left: 50%;
	right: auto;
	bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
	z-index: 999999;
	display: block;
	transform: translateX(-50%);
	width: min(calc(100vw - 1.5rem), 22rem);
	max-width: calc(100vw - 1.5rem);
	pointer-events: none;
}

.aps-pill-dock__inner {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 0.2rem;
	padding: 0.35rem;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.06);
	pointer-events: auto;
}

.aps-pill-dock__item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	min-width: 0;
	padding: 0.45rem 0.35rem 0.4rem;
	border-radius: 999px;
	color: #111827 !important;
	text-decoration: none !important;
	transition: background 0.15s ease, color 0.15s ease;
}

.aps-pill-dock__item:hover,
.aps-pill-dock__item:focus {
	background: #f3f4f6;
	color: #111827 !important;
}

.aps-pill-dock__item.is-active {
	background: #eceff3;
}

.aps-pill-dock__icon-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
}

.aps-pill-dock__icon {
	width: 1.35rem;
	height: 1.35rem;
	display: block;
}

.aps-pill-dock__logo {
	width: 1.55rem;
	height: 1.55rem;
	object-fit: contain;
	display: block;
	border-radius: 0.35rem;
}

.aps-pill-dock__logo-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
}

.aps-pill-dock__label {
	display: block;
	max-width: 100%;
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.1;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.aps-pill-dock__badge {
	position: absolute;
	top: -0.15rem;
	right: -0.35rem;
	min-width: 1rem;
	height: 1rem;
	padding: 0 0.2rem;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 1rem;
	text-align: center;
}

@media (max-width: 640px) {
	.aps-action-tiles {
		grid-template-columns: 1fr 1fr;
	}
}

.aps-privacy-policy {
	max-width: 48rem;
	margin: 0 auto;
	padding: 2rem 1.25rem 3rem;
	color: #1f2937;
	line-height: 1.65;
}

.aps-privacy-policy__title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	line-height: 1.2;
}

.aps-privacy-policy__updated {
	margin: 0 0 1.75rem;
	color: #6b7280;
	font-size: 0.95rem;
}

.aps-privacy-policy__body section + section {
	margin-top: 1.75rem;
}

.aps-privacy-policy__body h2 {
	margin: 0 0 0.65rem;
	font-size: 1.1rem;
}

.aps-privacy-policy__body p {
	margin: 0 0 0.85rem;
}

.aps-privacy-policy__body ul {
	margin: 0 0 0.85rem 1.25rem;
	padding: 0;
}

.aps-privacy-policy__body li + li {
	margin-top: 0.35rem;
}
