:root {
	--erph-primary: #14213d;
	--erph-primary-deep: #0b1327;
	--erph-accent: #f6b73c;
	--erph-ink: #172033;
	--erph-muted: #697386;
	--erph-line: #e6e9ef;
	--erph-soft: #f5f7fa;
	--erph-white: #ffffff;
	--erph-success: #158765;
	--erph-danger: #d65050;
	--erph-warning: #d88b13;
	--erph-sidebar: 272px;
	--erph-page-gutter: clamp(20px, 2.25vw, 36px);
	--erph-radius: 20px;
	--erph-shadow: 0 18px 50px rgba(21, 33, 61, 0.08);
	--erph-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
	background: var(--erph-soft);
}

body.bwk-erph-shell,
body.bwk-erph-shell * {
	box-sizing: border-box;
}

body.bwk-erph-shell {
	min-width: 320px;
	margin: 0;
	background: var(--erph-soft);
	color: var(--erph-ink);
	font-family: var(--erph-font);
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

body.bwk-erph-shell button,
body.bwk-erph-shell input,
body.bwk-erph-shell select,
body.bwk-erph-shell textarea {
	font: inherit;
}

body.bwk-erph-shell a {
	color: inherit;
	text-decoration: none;
}

body.bwk-erph-shell img {
	max-width: 100%;
	height: auto;
}

.bwk-erph-app {
	min-height: 100vh;
	isolation: isolate;
}

.bwk-erph-app h1,
.bwk-erph-app h2,
.bwk-erph-app h3,
.bwk-erph-app p {
	margin-top: 0;
}

.screen-reader-text {
	position: absolute !important;
	overflow: hidden;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.erph-eyebrow {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--erph-warning);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.erph-brand-mark {
	display: inline-grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 14px;
	background: var(--erph-accent);
	color: var(--erph-primary-deep);
	font-family: Georgia, serif;
	font-size: 30px;
	font-style: italic;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 9px 25px rgba(246, 183, 60, 0.25);
}

.erph-login {
	display: grid;
	min-height: 100vh;
	grid-template-columns: minmax(0, 1.12fr) minmax(460px, 0.88fr);
	background: var(--erph-white);
}

.erph-login__visual {
	position: relative;
	display: flex;
	overflow: hidden;
	min-height: 720px;
	padding: clamp(36px, 6vw, 84px);
	flex-direction: column;
	justify-content: space-between;
	background:
		radial-gradient(circle at 75% 15%, rgba(246, 183, 60, 0.18), transparent 23%),
		linear-gradient(145deg, #172746 0%, #0c1730 58%, #0a1123 100%);
	color: var(--erph-white);
}

.erph-login__visual::before {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 64px 64px;
	content: "";
	mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.erph-login__brand,
.erph-login__statement,
.erph-login__preview {
	position: relative;
	z-index: 1;
}

.erph-login__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.erph-login__statement {
	max-width: 660px;
	padding: 10vh 0;
}

.erph-login__statement h1 {
	max-width: 620px;
	margin-bottom: 22px;
	font-size: clamp(46px, 5.8vw, 78px);
	line-height: 0.98;
	letter-spacing: -0.055em;
}

.erph-login__statement p {
	max-width: 500px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 19px;
}

.erph-login__preview {
	display: grid;
	max-width: 430px;
	padding: 20px 22px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	grid-template-columns: 1fr auto;
	align-items: center;
	background: rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(18px);
}

.erph-login__preview div {
	display: flex;
	margin-bottom: 8px;
	gap: 5px;
	grid-column: 1 / -1;
}

.erph-login__preview div span {
	width: 26px;
	height: 4px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.17);
}

.erph-login__preview div span:first-child {
	width: 72px;
	background: var(--erph-accent);
}

.erph-login__preview strong {
	font-size: 13px;
}

.erph-login__preview b {
	color: var(--erph-accent);
	font-size: 30px;
}

.erph-login__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
}

.erph-login__orb--one {
	right: -10%;
	bottom: 18%;
	width: 310px;
	height: 310px;
	border: 1px solid rgba(246, 183, 60, 0.18);
}

.erph-login__orb--two {
	right: 16%;
	bottom: -8%;
	width: 470px;
	height: 470px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.erph-login__panel {
	display: grid;
	padding: clamp(30px, 6vw, 90px);
	place-items: center;
	background:
		linear-gradient(135deg, rgba(245, 247, 250, 0.85), rgba(255, 255, 255, 0.98)),
		var(--erph-white);
}

.erph-login__card {
	width: min(100%, 440px);
}

.erph-login__card h2 {
	margin-bottom: 12px;
	font-size: clamp(34px, 4vw, 48px);
	line-height: 1.05;
	letter-spacing: -0.045em;
}

.erph-login__card > p {
	margin-bottom: 32px;
	color: var(--erph-muted);
}

.erph-login__mobile-brand {
	display: none;
	margin-bottom: 42px;
	align-items: center;
	gap: 12px;
	font-size: 18px;
	font-weight: 800;
}

.erph-form {
	display: grid;
	gap: 18px;
}

.erph-field {
	display: grid;
	min-width: 0;
	gap: 7px;
}

.erph-field > span {
	color: #3e485b;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.01em;
}

.erph-field input,
.erph-field select,
.erph-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--erph-line);
	border-radius: 12px;
	outline: none;
	background: var(--erph-white);
	color: var(--erph-ink);
	box-shadow: 0 1px 0 rgba(20, 33, 61, 0.02);
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.erph-field textarea {
	min-height: 108px;
	resize: vertical;
	line-height: 1.55;
}

.erph-field input:focus,
.erph-field select:focus,
.erph-field textarea:focus {
	border-color: color-mix(in srgb, var(--erph-primary) 65%, white);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--erph-primary) 9%, transparent);
}

.erph-field input:disabled,
.erph-field select:disabled,
.erph-field textarea:disabled {
	opacity: 1;
	border-color: #ebedf1;
	background: #f8f9fb;
	color: #354052;
	cursor: default;
	-webkit-text-fill-color: #354052;
}

.erph-check {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--erph-muted);
	font-size: 13px;
}

.erph-check input {
	width: 16px;
	height: 16px;
	accent-color: var(--erph-primary);
}

.erph-button {
	display: inline-flex;
	min-height: 46px;
	padding: 11px 18px;
	border: 1px solid transparent;
	border-radius: 12px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	font-weight: 750;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.erph-button:hover {
	transform: translateY(-1px);
}

.erph-button--primary {
	background: var(--erph-primary);
	color: var(--erph-white) !important;
	box-shadow: 0 10px 28px color-mix(in srgb, var(--erph-primary) 22%, transparent);
}

.erph-button--primary:hover {
	background: color-mix(in srgb, var(--erph-primary) 88%, black);
}

.erph-button--ghost {
	border-color: var(--erph-line);
	background: var(--erph-white);
	color: var(--erph-ink) !important;
}

.erph-button--success {
	background: var(--erph-success);
	color: var(--erph-white) !important;
}

.erph-button--danger {
	border-color: #f0caca;
	background: #fff7f7;
	color: #ae3838 !important;
}

.erph-button--wide {
	width: 100%;
}

.erph-button--small {
	min-height: 38px;
	padding: 9px 13px;
	border-radius: 10px;
	font-size: 12px;
}

.erph-login__forgot {
	display: block;
	margin-top: 22px;
	color: var(--erph-muted) !important;
	font-size: 13px;
	text-align: center;
}

.erph-layout {
	min-height: 100vh;
}

.erph-sidebar {
	position: fixed;
	z-index: 40;
	inset: 0 auto 0 0;
	display: flex;
	width: var(--erph-sidebar);
	padding: 26px 20px 20px;
	flex-direction: column;
	justify-content: space-between;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 28%),
		var(--erph-primary-deep);
	color: var(--erph-white);
}

.erph-sidebar::after {
	position: absolute;
	right: -140px;
	bottom: -130px;
	width: 310px;
	height: 310px;
	border: 1px solid rgba(246, 183, 60, 0.09);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.erph-sidebar__top,
.erph-sidebar__bottom {
	position: relative;
	z-index: 1;
}

.erph-logo {
	display: flex;
	padding: 0 8px;
	align-items: center;
	gap: 12px;
}

.erph-logo > span:last-child {
	display: grid;
}

.erph-logo strong {
	font-size: 17px;
	letter-spacing: -0.02em;
}

.erph-logo small,
.erph-profile small,
.erph-school-pill small {
	overflow: hidden;
	color: rgba(255, 255, 255, 0.48);
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.erph-school-pill {
	display: flex;
	margin: 32px 0 20px;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	align-items: center;
	gap: 11px;
	background: rgba(255, 255, 255, 0.045);
}

.erph-school-pill__mark {
	display: grid;
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	place-items: center;
	border-radius: 10px;
	background: var(--erph-accent);
	color: var(--erph-primary-deep);
	font-weight: 900;
}

.erph-school-pill > span:last-child {
	display: grid;
	min-width: 0;
}

.erph-school-pill strong {
	overflow: hidden;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.erph-nav {
	display: grid;
	gap: 6px;
}

.erph-nav__item {
	position: relative;
	display: flex;
	min-height: 47px;
	padding: 0 14px;
	border-radius: 12px;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.62) !important;
	font-size: 13px;
	font-weight: 700;
	transition: background 0.2s, color 0.2s;
}

.erph-nav__item:hover,
.erph-nav__item.is-active {
	background: rgba(255, 255, 255, 0.08);
	color: var(--erph-white) !important;
}

.erph-nav__item.is-active::after {
	position: absolute;
	right: -20px;
	width: 3px;
	height: 23px;
	border-radius: 99px 0 0 99px;
	background: var(--erph-accent);
	content: "";
}

.erph-icon {
	position: relative;
	display: inline-block;
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
}

.erph-icon::before,
.erph-icon::after {
	position: absolute;
	border: 1.8px solid currentColor;
	content: "";
}

.erph-icon--grid::before {
	inset: 2px;
	border-radius: 4px;
}

.erph-icon--grid::after {
	top: 2px;
	bottom: 2px;
	left: 8px;
	width: 0;
	border-width: 0 0 0 1.8px;
	box-shadow: -6px 7px 0 -0.9px currentColor, 6px 7px 0 -0.9px currentColor;
}

.erph-icon--book::before {
	inset: 2px 3px;
	border-radius: 2px 5px 5px 2px;
}

.erph-icon--book::after {
	top: 5px;
	bottom: 5px;
	left: 8px;
	border-width: 0 0 0 1.8px;
}

.erph-icon--check::before {
	inset: 2px;
	border-radius: 50%;
}

.erph-icon--check::after {
	top: 6px;
	left: 6px;
	width: 6px;
	height: 3px;
	border-width: 0 0 2px 2px;
	transform: rotate(-45deg);
}

.erph-icon--settings::before {
	inset: 1px;
	border-radius: 5px;
}

.erph-icon--settings::after {
	inset: 6px;
	border-radius: 50%;
}

.erph-icon--folder::before {
	inset: 5px 1px 2px;
	border-radius: 3px;
}

.erph-icon--folder::after {
	top: 2px;
	left: 3px;
	width: 7px;
	height: 5px;
	border-width: 1.8px 1.8px 0;
	border-radius: 3px 3px 0 0;
}

.erph-icon--users::before {
	top: 2px;
	left: 6px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
}

.erph-icon--users::after {
	right: 2px;
	bottom: 2px;
	left: 2px;
	height: 7px;
	border-radius: 8px 8px 3px 3px;
}

.erph-icon--card::before {
	inset: 3px 1px;
	border-radius: 4px;
}

.erph-icon--card::after {
	top: 7px;
	right: 2px;
	left: 2px;
	height: 0;
	border-width: 2px 0 0;
}

.erph-icon--guide::before {
	inset: 2px 3px;
	border-radius: 3px;
}

.erph-icon--guide::after {
	top: 6px;
	right: 6px;
	bottom: 6px;
	width: 0;
	border-width: 0 0 0 2px;
	box-shadow: -4px -3px 0 -1px currentColor, -4px 1px 0 -1px currentColor, -4px 5px 0 -1px currentColor;
}

.erph-sidebar__bottom {
	display: grid;
	gap: 12px;
}

.erph-profile {
	display: flex;
	padding: 9px;
	align-items: center;
	gap: 10px;
}

.erph-profile > span {
	display: grid;
	min-width: 0;
}

.erph-profile strong {
	overflow: hidden;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.erph-avatar {
	width: 40px !important;
	height: 40px !important;
	border-radius: 12px !important;
	object-fit: cover;
}

.erph-signout {
	display: block;
	padding: 10px;
	color: rgba(255, 255, 255, 0.45) !important;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

.erph-workspace {
	width: calc(100% - var(--erph-sidebar));
	min-width: 0;
	margin-left: var(--erph-sidebar);
}

.erph-topbar {
	position: sticky;
	z-index: 20;
	top: 0;
	display: flex;
	height: 76px;
	padding: 0 var(--erph-page-gutter);
	border-bottom: 1px solid rgba(230, 233, 239, 0.85);
	align-items: center;
	gap: 18px;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(18px);
}

.erph-menu-button {
	display: none;
	width: 42px;
	height: 42px;
	padding: 10px;
	border: 1px solid var(--erph-line);
	border-radius: 11px;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	background: var(--erph-white);
}

.erph-menu-button span:not(.screen-reader-text) {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 99px;
	background: var(--erph-ink);
}

.erph-topbar__school {
	display: grid;
}

.erph-topbar__school strong {
	font-size: 13px;
}

.erph-topbar__school span {
	color: var(--erph-muted);
	font-size: 11px;
}

.erph-school-switcher {
	margin-left: auto;
}

.erph-school-switcher select {
	max-width: 230px;
	height: 40px;
	padding: 0 34px 0 12px;
	border: 1px solid var(--erph-line);
	border-radius: 10px;
	background: var(--erph-white);
	color: var(--erph-ink);
	font-size: 12px;
	font-weight: 700;
}

.erph-topbar__user {
	margin-left: auto;
}

.erph-school-switcher + .erph-topbar__user {
	margin-left: 0;
}

.erph-main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: var(--erph-page-gutter);
	padding-bottom: 80px;
}

.erph-page-heading {
	display: flex;
	margin-bottom: 30px;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.erph-page-heading--compact {
	align-items: flex-start;
}

.erph-page-heading h1 {
	margin-bottom: 8px;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.05;
	letter-spacing: -0.045em;
}

.erph-page-heading p {
	max-width: 700px;
	margin-bottom: 0;
	color: var(--erph-muted);
}

.erph-back-link {
	display: inline-block;
	margin-bottom: 18px;
	color: var(--erph-muted) !important;
	font-size: 12px;
	font-weight: 750;
}

.erph-heading-count {
	display: flex;
	min-width: 150px;
	padding: 15px 18px;
	border: 1px solid var(--erph-line);
	border-radius: 14px;
	align-items: center;
	gap: 10px;
	background: var(--erph-white);
}

.erph-heading-count strong {
	font-size: 28px;
	line-height: 1;
}

.erph-heading-count span {
	max-width: 65px;
	color: var(--erph-muted);
	font-size: 10px;
	line-height: 1.2;
	text-transform: uppercase;
}

.erph-metrics {
	display: grid;
	margin-bottom: 28px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.erph-metric {
	position: relative;
	display: flex;
	overflow: hidden;
	min-height: 152px;
	padding: 22px;
	border: 1px solid var(--erph-line);
	border-radius: var(--erph-radius);
	flex-direction: column;
	justify-content: space-between;
	background: var(--erph-white);
	box-shadow: 0 8px 30px rgba(20, 33, 61, 0.035);
}

.erph-metric > span,
.erph-metric > div > span {
	color: var(--erph-muted);
	font-size: 11px;
	font-weight: 750;
	text-transform: uppercase;
}

.erph-metric strong {
	font-size: 40px;
	line-height: 1;
	letter-spacing: -0.04em;
}

.erph-metric small {
	color: var(--erph-muted);
	font-size: 10px;
}

.erph-metric--dark {
	border-color: transparent;
	background:
		radial-gradient(circle at 90% 15%, rgba(246, 183, 60, 0.23), transparent 28%),
		var(--erph-primary);
	color: var(--erph-white);
}

.erph-metric--dark > span,
.erph-metric--dark small {
	color: rgba(255, 255, 255, 0.58);
}

.erph-metric--progress {
	flex-direction: row;
	align-items: center;
}

.erph-metric--progress > div {
	display: grid;
	gap: 18px;
}

.erph-metric--progress svg {
	width: 80px;
	height: 80px;
	transform: rotate(-90deg);
}

.erph-metric--progress circle {
	fill: none;
	stroke: #edf0f4;
	stroke-width: 4;
}

.erph-metric--progress circle:last-child {
	stroke: var(--erph-accent);
	stroke-linecap: round;
	stroke-dasharray: calc(var(--progress) * 1.005) 101;
}

.erph-panel {
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid var(--erph-line);
	border-radius: var(--erph-radius);
	background: var(--erph-white);
	box-shadow: var(--erph-shadow);
}

.erph-panel--flush {
	padding: 0;
}

.erph-panel__header {
	display: flex;
	margin-bottom: 22px;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
}

.erph-panel__header h2 {
	margin-bottom: 0;
	font-size: 21px;
	letter-spacing: -0.025em;
}

.erph-panel__header a {
	color: var(--erph-muted) !important;
	font-size: 12px;
	font-weight: 750;
}

.erph-table-wrap {
	overflow-x: auto;
}

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

.erph-table th,
.erph-table td {
	padding: 15px 12px;
	border-bottom: 1px solid var(--erph-line);
	text-align: left;
	vertical-align: middle;
}

.erph-table th {
	color: var(--erph-muted);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.erph-table td {
	font-size: 12px;
}

.erph-table td strong,
.erph-table td small {
	display: block;
}

.erph-table td small {
	margin-top: 3px;
	color: var(--erph-muted);
	font-size: 10px;
}

.erph-table tbody tr:last-child td {
	border-bottom: 0;
}

.erph-row-link {
	display: grid;
	width: 34px;
	height: 34px;
	border: 1px solid var(--erph-line);
	border-radius: 10px;
	place-items: center;
}

.erph-status {
	display: inline-flex;
	padding: 6px 9px;
	border-radius: 99px;
	align-items: center;
	gap: 5px;
	font-size: 9px;
	font-weight: 850;
	letter-spacing: 0.035em;
	text-transform: uppercase;
	white-space: nowrap;
}

.erph-status::before {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}

.erph-status--draft {
	background: #f0f2f5;
	color: #687386;
}

.erph-status--submitted {
	background: #fff4db;
	color: #ad7010;
}

.erph-status--changes_requested {
	background: #fff0f0;
	color: #bd4444;
}

.erph-status--verified {
	background: #e7f7f1;
	color: #147959;
}

.erph-empty {
	padding: 52px 20px;
	text-align: center;
}

.erph-empty > span {
	display: grid;
	width: 58px;
	height: 58px;
	margin: 0 auto 18px;
	border-radius: 18px;
	place-items: center;
	background: var(--erph-soft);
	color: var(--erph-primary);
	font-size: 25px;
}

.erph-empty h3,
.erph-empty h1 {
	margin-bottom: 8px;
}

.erph-empty p {
	margin: 0;
	color: var(--erph-muted);
}

.erph-filter-tabs {
	display: flex;
	overflow-x: auto;
	margin-bottom: 16px;
	padding: 5px;
	border: 1px solid var(--erph-line);
	border-radius: 13px;
	gap: 3px;
	background: var(--erph-white);
	scrollbar-width: none;
}

.erph-filter-tabs a {
	padding: 9px 14px;
	border-radius: 9px;
	color: var(--erph-muted) !important;
	font-size: 11px;
	font-weight: 750;
	white-space: nowrap;
}

.erph-filter-tabs a.is-active {
	background: var(--erph-primary);
	color: var(--erph-white) !important;
}

.erph-card-list {
	display: grid;
}

.erph-rph-card {
	display: grid;
	padding: 20px 24px;
	border-bottom: 1px solid var(--erph-line);
	grid-template-columns: 54px minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
}

.erph-rph-card:last-child {
	border-bottom: 0;
}

.erph-rph-card__date {
	display: grid;
	width: 54px;
	height: 58px;
	border-radius: 14px;
	place-content: center;
	background: var(--erph-soft);
	text-align: center;
}

.erph-rph-card__date strong {
	font-size: 20px;
	line-height: 1;
}

.erph-rph-card__date span {
	margin-top: 4px;
	color: var(--erph-muted);
	font-size: 9px;
	font-weight: 800;
	text-transform: uppercase;
}

.erph-rph-card__body {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.erph-rph-card__body h3 {
	overflow: hidden;
	margin: 7px 0 3px;
	font-size: 16px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.erph-rph-card__body p {
	margin: 0;
	color: var(--erph-muted);
	font-size: 11px;
}

.erph-rph-card__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
}

.erph-rph-card__meta span {
	padding: 6px 8px;
	border-radius: 8px;
	background: var(--erph-soft);
	color: var(--erph-muted);
	font-size: 9px;
	font-weight: 700;
}

.erph-rph-card__actions,
.erph-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.erph-editor {
	display: grid;
	gap: 20px;
}

.erph-form-section {
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid var(--erph-line);
	border-radius: var(--erph-radius);
	background: var(--erph-white);
	box-shadow: var(--erph-shadow);
}

.erph-form-section__heading {
	display: flex;
	margin-bottom: 28px;
	align-items: flex-start;
	gap: 14px;
}

.erph-form-section__heading > span {
	display: grid;
	width: 37px;
	height: 37px;
	flex: 0 0 37px;
	place-items: center;
	border-radius: 11px;
	background: var(--erph-primary);
	color: var(--erph-white);
	font-size: 10px;
	font-weight: 850;
}

.erph-form-section__heading h2 {
	margin-bottom: 4px;
	font-size: 20px;
	letter-spacing: -0.025em;
}

.erph-form-section__heading p {
	margin: 0;
	color: var(--erph-muted);
	font-size: 12px;
}

.erph-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.erph-field--wide {
	grid-column: 1 / -1;
}

.erph-editor__actions {
	position: sticky;
	z-index: 10;
	bottom: 18px;
	display: flex;
	width: fit-content;
	margin-left: auto;
	padding: 8px;
	border: 1px solid var(--erph-line);
	border-radius: 15px;
	gap: 8px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 18px 45px rgba(20, 33, 61, 0.15);
	backdrop-filter: blur(15px);
}

.erph-print-action {
	display: flex;
	justify-content: flex-end;
}

.erph-review-history {
	margin-top: 22px;
}

.erph-timeline {
	display: grid;
	gap: 18px;
}

.erph-timeline article {
	position: relative;
	display: flex;
	padding-left: 6px;
	gap: 14px;
}

.erph-timeline article:not(:last-child)::before {
	position: absolute;
	top: 16px;
	bottom: -20px;
	left: 10px;
	width: 1px;
	background: var(--erph-line);
	content: "";
}

.erph-timeline__dot {
	position: relative;
	z-index: 1;
	width: 10px;
	height: 10px;
	margin-top: 4px;
	flex: 0 0 10px;
	border: 3px solid var(--erph-white);
	border-radius: 50%;
	outline: 1px solid var(--erph-line);
	background: var(--erph-warning);
}

.erph-timeline__dot--verified {
	background: var(--erph-success);
}

.erph-timeline__dot--changes_requested {
	background: var(--erph-danger);
}

.erph-timeline article > div {
	display: grid;
}

.erph-timeline small {
	color: var(--erph-muted);
	font-size: 10px;
}

.erph-timeline p {
	margin: 7px 0 0;
	color: #465166;
	font-size: 12px;
}

.erph-review-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.erph-review-card {
	padding: 22px;
	border: 1px solid var(--erph-line);
	border-radius: var(--erph-radius);
	background: var(--erph-white);
	box-shadow: var(--erph-shadow);
}

.erph-review-card__top {
	display: flex;
	margin-bottom: 16px;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.erph-review-card__top small {
	color: var(--erph-muted);
	font-size: 9px;
}

.erph-review-card h2 {
	margin-bottom: 5px;
	font-size: 19px;
	letter-spacing: -0.025em;
}

.erph-review-card > p {
	color: var(--erph-muted);
	font-size: 11px;
}

.erph-review-card__teacher {
	display: flex;
	margin: 18px 0;
	padding: 12px;
	border-radius: 13px;
	align-items: center;
	gap: 10px;
	background: var(--erph-soft);
}

.erph-review-card__teacher > span {
	display: grid;
}

.erph-review-card__teacher strong {
	font-size: 12px;
}

.erph-review-card__teacher small {
	color: var(--erph-muted);
	font-size: 9px;
}

.erph-inline-link {
	display: inline-block;
	margin-bottom: 18px;
	color: var(--erph-primary) !important;
	font-size: 11px;
	font-weight: 800;
}

.erph-actions--split {
	margin-top: 12px;
	justify-content: space-between;
}

.erph-settings-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.erph-resource-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.erph-resource-card {
	display: flex;
	min-height: 220px;
	padding: 22px;
	border: 1px solid var(--erph-line);
	border-radius: var(--erph-radius);
	flex-direction: column;
	align-items: flex-start;
	background: var(--erph-white);
	box-shadow: var(--erph-shadow);
}

.erph-resource-card__type {
	display: inline-flex;
	margin-bottom: 26px;
	padding: 6px 9px;
	border-radius: 8px;
	background: #e9eef8;
	color: #3f5f9c;
	font-size: 9px;
	font-weight: 850;
	letter-spacing: 0.06em;
}

.erph-resource-card__type.is-dskp {
	background: #e7f7f1;
	color: #147959;
}

.erph-resource-card__type.is-rpt {
	background: #fff4db;
	color: #ad7010;
}

.erph-resource-card__type.is-textbook {
	background: #f3eefe;
	color: #7550ad;
}

.erph-resource-card h2 {
	margin-bottom: 4px;
	font-size: 18px;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.erph-resource-card p,
.erph-resource-card small {
	color: var(--erph-muted);
	font-size: 10px;
}

.erph-resource-card small {
	display: block;
	margin: 12px 0 18px;
}

.erph-resource-card .erph-button {
	width: 100%;
	margin-top: auto;
}

.erph-plan-badge {
	padding: 8px 12px;
	border-radius: 99px;
	background: var(--erph-primary);
	color: var(--erph-white);
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
}

.erph-count-pill {
	display: grid;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	place-items: center;
	background: var(--erph-soft);
	font-size: 11px;
	font-weight: 800;
}

.erph-inline-form {
	display: grid;
	margin-bottom: 20px;
	padding: 16px;
	border: 1px solid var(--erph-line);
	border-radius: 15px;
	gap: 12px;
	background: #fbfcfd;
}

.erph-inline-form--row {
	grid-template-columns: minmax(0, 1fr) 120px auto;
	align-items: end;
}

.erph-inline-form__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.erph-role-options {
	display: grid;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	gap: 8px;
}

.erph-role-options legend {
	margin-bottom: 7px;
	color: var(--erph-text);
	font-size: 10px;
	font-weight: 800;
}

.erph-role-options label {
	display: flex;
	padding: 10px 11px;
	border: 1px solid var(--erph-line);
	border-radius: 10px;
	align-items: flex-start;
	gap: 9px;
	background: var(--erph-white);
	cursor: pointer;
}

.erph-role-options input {
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	accent-color: var(--erph-primary);
}

.erph-role-options label > span {
	display: grid;
	gap: 2px;
	font-size: 10px;
}

.erph-role-options label small {
	color: var(--erph-muted);
	font-size: 9px;
}

.erph-role-options--compact {
	grid-template-columns: 1fr;
}

.erph-role-options--compact label {
	padding: 7px 8px;
	align-items: center;
}

.erph-mini-list,
.erph-week-list {
	display: grid;
	max-height: 310px;
	overflow-y: auto;
	gap: 8px;
}

.erph-mini-list > div {
	display: grid;
	padding: 9px;
	border-radius: 11px;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
}

.erph-mini-list > div:nth-child(odd) {
	background: var(--erph-soft);
}

.erph-mini-list > div > span {
	display: grid;
	min-width: 0;
}

.erph-mini-list strong,
.erph-mini-list small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.erph-mini-list strong {
	font-size: 11px;
}

.erph-mini-list small {
	color: var(--erph-muted);
	font-size: 9px;
}

.erph-mini-list em {
	color: var(--erph-muted);
	font-size: 9px;
	font-style: normal;
	font-weight: 750;
	text-transform: uppercase;
}

.erph-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.erph-tag-list > span {
	display: inline-flex;
	padding: 8px 10px;
	border: 1px solid var(--erph-line);
	border-radius: 10px;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	font-weight: 700;
}

.erph-tag-list small {
	padding: 2px 5px;
	border-radius: 5px;
	background: var(--erph-soft);
	color: var(--erph-muted);
	font-size: 8px;
}

.erph-week-list > div {
	display: flex;
	padding: 10px 2px;
	border-bottom: 1px solid var(--erph-line);
	justify-content: space-between;
	gap: 15px;
	font-size: 10px;
}

.erph-week-list span {
	color: var(--erph-muted);
}

.erph-notice {
	padding: 13px 15px;
	border: 1px solid #cddfea;
	border-radius: 12px;
	margin-bottom: 20px;
	background: #f3f9fc;
	color: #315d76;
	font-size: 12px;
	font-weight: 650;
	transition: opacity 0.3s, transform 0.3s;
}

.erph-notice--success {
	border-color: #bfe4d6;
	background: #effaf6;
	color: #176749;
}

.erph-notice--error {
	border-color: #edc8c8;
	background: #fff5f5;
	color: #a53c3c;
}

.erph-notice.is-hiding {
	opacity: 0;
	transform: translateY(-8px);
}

.erph-state {
	display: grid;
	min-height: 100vh;
	padding: 24px;
	place-items: center;
	background:
		radial-gradient(circle at 20% 20%, rgba(246, 183, 60, 0.13), transparent 24%),
		var(--erph-primary-deep);
}

.erph-state__card {
	width: min(100%, 560px);
	padding: clamp(32px, 6vw, 58px);
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.07);
	color: var(--erph-white);
	text-align: center;
	backdrop-filter: blur(20px);
}

.erph-state__icon {
	display: grid;
	width: 60px;
	height: 60px;
	margin: 0 auto 24px;
	border-radius: 18px;
	place-items: center;
	background: var(--erph-accent);
	color: var(--erph-primary-deep);
	font-size: 26px;
	font-weight: 900;
}

.erph-state__card h1 {
	font-size: 36px;
	letter-spacing: -0.04em;
}

.erph-state__card p {
	color: rgba(255, 255, 255, 0.62);
}

.erph-state__card .erph-actions {
	margin-top: 26px;
	justify-content: center;
}

.erph-state__card .erph-button--ghost {
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.08);
	color: var(--erph-white) !important;
}

.erph-access {
	display: grid;
	min-height: 100vh;
	grid-template-columns: minmax(380px, 0.85fr) minmax(560px, 1.15fr);
	background: var(--erph-white);
}

.erph-access__brand {
	position: relative;
	display: flex;
	overflow: hidden;
	min-height: 100vh;
	padding: clamp(38px, 6vw, 82px);
	flex-direction: column;
	justify-content: space-between;
	gap: 60px;
	background:
		radial-gradient(circle at 85% 12%, rgba(246, 183, 60, 0.22), transparent 25%),
		linear-gradient(145deg, #172746, #091328 72%);
	color: var(--erph-white);
}

.erph-access__brand::after {
	position: absolute;
	right: -120px;
	bottom: -180px;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.025), 0 0 0 110px rgba(255, 255, 255, 0.02);
	content: "";
}

.erph-access__logo,
.erph-access__brand > div,
.erph-access__benefits,
.erph-access__security {
	position: relative;
	z-index: 1;
}

.erph-access__logo {
	display: flex;
	width: fit-content;
	align-items: center;
	gap: 13px;
}

.erph-access__logo > span:last-child {
	display: grid;
}

.erph-access__logo strong {
	font-size: 18px;
	letter-spacing: -0.02em;
}

.erph-access__logo small {
	color: rgba(255, 255, 255, 0.52);
	font-size: 10px;
}

.erph-access__brand h1 {
	max-width: 580px;
	margin-bottom: 20px;
	color: var(--erph-white);
	font-size: clamp(42px, 5vw, 68px);
	line-height: 1;
	letter-spacing: -0.055em;
}

.erph-access__brand p {
	max-width: 500px;
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.64);
	font-size: 17px;
}

.erph-access__benefits {
	display: grid;
	max-width: 520px;
	margin: 0;
	padding: 0;
	gap: 10px;
	list-style: none;
}

.erph-access__benefits li {
	display: flex;
	padding: 13px 15px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	align-items: center;
	gap: 13px;
	background: rgba(255, 255, 255, 0.045);
	color: rgba(255, 255, 255, 0.78);
	font-size: 12px;
	font-weight: 700;
	backdrop-filter: blur(12px);
}

.erph-access__benefits span {
	color: var(--erph-accent);
	font-size: 9px;
	font-weight: 900;
}

.erph-access__panel {
	display: grid;
	min-height: 100vh;
	padding: clamp(24px, 5vw, 74px);
	place-items: center;
	background:
		radial-gradient(circle at 80% 12%, rgba(246, 183, 60, 0.09), transparent 24%),
		#f7f8fb;
}

.erph-access__card {
	width: min(100%, 680px);
	padding: clamp(28px, 5vw, 52px);
	border: 1px solid var(--erph-line);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 28px 80px rgba(20, 33, 61, 0.11);
}

.erph-access__card > h2 {
	margin-bottom: 10px;
	font-size: clamp(32px, 4vw, 46px);
	line-height: 1.03;
	letter-spacing: -0.045em;
}

.erph-access__card > p {
	color: var(--erph-muted);
}

.erph-access__school {
	display: grid;
	margin-bottom: 30px;
	padding: 13px;
	border: 1px solid var(--erph-line);
	border-radius: 15px;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	background: var(--erph-soft);
}

.erph-access__school > span {
	display: grid;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	place-items: center;
	background: var(--erph-primary);
	color: var(--erph-white);
	font-weight: 900;
}

.erph-access__school div {
	display: grid;
}

.erph-access__school small {
	color: var(--erph-muted);
	font-size: 9px;
	font-weight: 750;
	text-transform: uppercase;
}

.erph-access__school strong {
	overflow: hidden;
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.erph-access__school em {
	padding: 6px 8px;
	border-radius: 8px;
	background: #fff4da;
	color: #9a650e;
	font-size: 9px;
	font-style: normal;
	font-weight: 800;
}

.erph-access__form {
	display: grid;
	margin-top: 25px;
	gap: 15px;
}

.erph-payment-summary {
	display: grid;
	padding: 14px;
	border: 1px solid #dce5f0;
	border-radius: 13px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	background: #f5f8fc;
}

.erph-payment-summary > span {
	display: grid;
	gap: 2px;
}

.erph-payment-summary small {
	color: var(--erph-muted);
	font-size: 9px;
	font-weight: 750;
	text-transform: uppercase;
}

.erph-payment-summary strong {
	color: var(--erph-primary);
	font-size: 13px;
}

.erph-access__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.erph-access__footer {
	margin: 22px 0 0 !important;
	color: var(--erph-muted);
	font-size: 11px;
	text-align: center;
}

.erph-access__footer a,
.erph-access__text-link {
	color: var(--erph-primary) !important;
	font-weight: 800;
}

.erph-access__text-link {
	display: inline-block;
	margin-top: 18px;
}

.erph-access__state {
	text-align: center;
}

.erph-access__state-icon {
	display: grid;
	width: 64px;
	height: 64px;
	margin: 0 auto 24px;
	border-radius: 20px;
	place-items: center;
	background: #e7f7f1;
	color: var(--erph-success);
	font-size: 25px;
	font-weight: 900;
}

.erph-access__state-icon.is-warning {
	background: #fff2db;
	color: var(--erph-warning);
}

.erph-access__state h2 {
	font-size: 38px;
	letter-spacing: -0.045em;
}

.erph-access__state p {
	margin-bottom: 25px;
	color: var(--erph-muted);
}

.erph-access__security {
	display: flex;
	max-width: 480px;
	padding: 17px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	align-items: center;
	gap: 13px;
	background: rgba(255, 255, 255, 0.05);
}

.erph-access__security > span {
	display: grid;
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	border-radius: 11px;
	place-items: center;
	background: var(--erph-accent);
	color: var(--erph-primary-deep);
	font-weight: 900;
}

.erph-access__security p {
	display: grid;
	margin: 0;
}

.erph-access__security strong {
	color: var(--erph-white);
	font-size: 12px;
}

.erph-access__security small {
	color: rgba(255, 255, 255, 0.5);
	font-size: 10px;
}

.erph-users-grid {
	display: grid;
	margin-bottom: 20px;
	grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
	gap: 20px;
	align-items: start;
}

.erph-invite-panel > p {
	margin: -8px 0 24px;
	color: var(--erph-muted);
	font-size: 12px;
}

.erph-share-card {
	position: relative;
	display: grid;
	overflow: hidden;
	margin-bottom: 20px;
	padding: 24px;
	border: 1px solid rgba(246, 183, 60, 0.36);
	border-radius: 20px;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 17px;
	background:
		radial-gradient(circle at 92% 15%, rgba(246, 183, 60, 0.18), transparent 24%),
		var(--erph-white);
	box-shadow: var(--erph-shadow);
}

.erph-share-card__icon {
	display: grid;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	place-items: center;
	background: var(--erph-primary);
	color: var(--erph-white);
	font-size: 21px;
}

.erph-share-card h2 {
	margin-bottom: 5px;
	font-size: 22px;
}

.erph-share-card p {
	margin-bottom: 14px;
	color: var(--erph-muted);
	font-size: 11px;
}

.erph-copy-field {
	display: flex;
	gap: 8px;
}

.erph-copy-field input {
	width: 100%;
	min-width: 0;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--erph-line);
	border-radius: 10px;
	background: var(--erph-soft);
	color: var(--erph-muted);
	font-size: 10px;
}

.erph-share-card__actions {
	display: flex;
	margin-top: 10px;
	flex-wrap: wrap;
	gap: 8px;
}

.erph-button--whatsapp {
	background: #16a36a;
	color: var(--erph-white) !important;
}

.erph-invitation-list {
	display: grid;
	gap: 2px;
}

.erph-invitation-list article {
	display: grid;
	padding: 13px 2px;
	border-bottom: 1px solid var(--erph-line);
	grid-template-columns: minmax(130px, 1fr) auto minmax(120px, auto) auto;
	align-items: center;
	gap: 10px;
}

.erph-invitation-list article:last-child {
	border-bottom: 0;
}

.erph-invitation-list article > div {
	display: grid;
}

.erph-invitation-list strong {
	font-size: 11px;
}

.erph-invitation-list small,
.erph-invitation-list time {
	color: var(--erph-muted);
	font-size: 9px;
}

.erph-link-status,
.erph-role-badge,
.erph-billing-badge {
	padding: 5px 8px;
	border-radius: 99px;
	background: #eaf8f3;
	color: var(--erph-success);
	font-size: 8px;
	font-style: normal;
	font-weight: 850;
	text-transform: uppercase;
}

.erph-billing-badge {
	background: #edf3ff;
	color: #315a9d;
	white-space: nowrap;
}

.erph-billing-badge.is-expired {
	background: #fff0f0;
	color: var(--erph-danger);
}

.erph-link-status.is-expired,
.erph-link-status.is-full,
.erph-link-status.is-revoked {
	background: #fff0f0;
	color: var(--erph-danger);
}

.erph-text-button {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--erph-danger);
	font-size: 9px;
	font-weight: 800;
	cursor: pointer;
}

.erph-empty--compact {
	padding: 38px 10px;
}

.erph-member-panel {
	margin-top: 20px;
}

.erph-member-list {
	display: grid;
	gap: 8px;
}

.erph-member-card {
	display: grid;
	padding: 14px;
	border: 1px solid var(--erph-line);
	border-radius: 14px;
	grid-template-columns: minmax(190px, 1fr) minmax(220px, 1fr) auto auto minmax(130px, auto);
	align-items: center;
	gap: 16px;
	background: var(--erph-white);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.erph-member-card:hover {
	border-color: #cfd6e1;
	box-shadow: 0 10px 28px rgba(20, 33, 61, 0.06);
}

.erph-member-card__identity {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 11px;
}

.erph-member-card__identity > span,
.erph-member-card__credentials span {
	display: grid;
	min-width: 0;
}

.erph-member-card__identity strong,
.erph-member-card__identity small,
.erph-member-card__credentials strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.erph-member-card__identity strong,
.erph-member-card__credentials strong {
	font-size: 11px;
}

.erph-member-card__identity small,
.erph-member-card__credentials small,
.erph-member-card__action > small {
	color: var(--erph-muted);
	font-size: 9px;
}

.erph-member-card__credentials {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.erph-member-card__action {
	display: flex;
	text-align: right;
	align-items: flex-end;
	flex-direction: column;
	gap: 5px;
}

.erph-member-card.is-inactive {
	background: #fafbfc;
	opacity: 0.72;
}

.erph-member-card details {
	position: relative;
}

.erph-member-card summary {
	color: var(--erph-primary);
	font-size: 10px;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.erph-member-card summary::-webkit-details-marker {
	display: none;
}

.erph-member-card details form {
	position: absolute;
	z-index: 10;
	top: calc(100% + 10px);
	right: 0;
	display: grid;
	width: 250px;
	padding: 13px;
	border: 1px solid var(--erph-line);
	border-radius: 13px;
	gap: 9px;
	background: var(--erph-white);
	box-shadow: 0 18px 45px rgba(20, 33, 61, 0.16);
}

.erph-member-card details select {
	width: 100%;
	height: 38px;
	border: 1px solid var(--erph-line);
	border-radius: 9px;
	background: var(--erph-white);
	font-size: 10px;
}

.erph-quick-start-banner {
	display: flex;
	margin: -6px 0 18px;
	padding: 12px 14px;
	border: 1px solid #dfe6f1;
	border-radius: 15px;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	background: linear-gradient(100deg, #f8fafc, #fffaf0);
}

.erph-quick-start-banner > div {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 11px;
}

.erph-quick-start-banner > div > span {
	display: grid;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 10px;
	place-items: center;
	background: var(--erph-primary);
	color: var(--erph-white);
	font-weight: 900;
}

.erph-quick-start-banner p {
	display: grid;
	margin: 0;
}

.erph-quick-start-banner strong {
	font-size: 11px;
}

.erph-quick-start-banner small {
	color: var(--erph-muted);
	font-size: 9px;
}

.erph-flow-map {
	display: grid;
	margin-bottom: 20px;
	grid-template-columns: repeat(9, auto);
	align-items: center;
	justify-content: stretch;
	gap: 8px;
}

.erph-flow-map article {
	display: grid;
	min-width: 0;
	min-height: 104px;
	padding: 14px;
	border: 1px solid var(--erph-line);
	border-radius: 15px;
	align-content: start;
	gap: 2px;
	background: var(--erph-white);
	box-shadow: 0 10px 28px rgba(21, 33, 61, 0.04);
}

.erph-flow-map article > span {
	margin-bottom: 7px;
	color: var(--erph-warning);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.1em;
}

.erph-flow-map strong {
	font-size: 11px;
}

.erph-flow-map small {
	color: var(--erph-muted);
	font-size: 9px;
}

.erph-flow-map > b {
	color: #a8b1c1;
	font-size: 14px;
	text-align: center;
}

.erph-setup-panel {
	margin-bottom: 20px;
}

.erph-setup-checklist {
	display: grid;
	gap: 8px;
}

.erph-setup-checklist article {
	display: grid;
	padding: 13px;
	border: 1px solid var(--erph-line);
	border-radius: 13px;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
}

.erph-setup-checklist article > span {
	display: grid;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	place-items: center;
	background: #fff5df;
	color: #9b6610;
	font-size: 11px;
	font-weight: 900;
}

.erph-setup-checklist article.is-complete > span {
	background: #eaf8f3;
	color: var(--erph-success);
}

.erph-setup-checklist h3 {
	margin: 0 0 2px;
	font-size: 12px;
}

.erph-setup-checklist p {
	margin: 0;
	color: var(--erph-muted);
	font-size: 9px;
}

.erph-role-guide-grid {
	display: grid;
	margin-bottom: 20px;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	gap: 18px;
}

.erph-role-guide-grid > article {
	display: flex;
	flex-direction: column;
}

.erph-role-guide-grid h2 {
	margin-bottom: 16px;
}

.erph-role-guide-grid ol {
	display: grid;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	gap: 11px;
}

.erph-role-guide-grid li {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	align-items: start;
	gap: 10px;
}

.erph-role-guide-grid li > span {
	display: grid;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	place-items: center;
	background: var(--erph-soft);
	color: var(--erph-primary);
	font-size: 9px;
	font-weight: 900;
}

.erph-role-guide-grid li > div {
	display: grid;
}

.erph-role-guide-grid li strong {
	font-size: 11px;
}

.erph-role-guide-grid li small {
	color: var(--erph-muted);
	font-size: 9px;
}

.erph-role-guide-grid .erph-button {
	margin-top: auto;
	align-self: flex-start;
}

.erph-flow-note {
	display: flex;
	padding-top: 18px;
	padding-bottom: 18px;
	align-items: center;
	gap: 12px;
}

.erph-flow-note strong {
	color: var(--erph-warning);
	font-size: 11px;
}

.erph-flow-note p {
	margin: 0;
	color: var(--erph-muted);
	font-size: 10px;
}

.erph-user-role-metrics {
	display: grid;
	margin-bottom: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.erph-user-role-metrics article {
	display: grid;
	min-height: 82px;
	padding: 15px;
	border: 1px solid var(--erph-line);
	border-radius: 14px;
	align-content: space-between;
	background: var(--erph-white);
}

.erph-user-role-metrics span {
	color: var(--erph-muted);
	font-size: 9px;
	font-weight: 750;
	text-transform: uppercase;
}

.erph-user-role-metrics strong {
	font-size: 21px;
}

.erph-billing {
	min-height: 100vh;
	padding: var(--erph-page-gutter);
	background:
		radial-gradient(circle at 86% 8%, rgba(246, 183, 60, 0.12), transparent 22%),
		#f4f6fa;
}

.erph-billing__header {
	display: flex;
	width: 100%;
	max-width: none;
	margin: 0 0 28px;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.erph-billing__header .erph-access__logo {
	color: var(--erph-primary) !important;
}

.erph-billing__header .erph-access__logo small {
	color: var(--erph-muted);
}

.erph-billing__header > div {
	display: flex;
	gap: 8px;
}

.erph-billing__hero {
	display: flex;
	overflow: hidden;
	width: 100%;
	max-width: none;
	margin: 0 0 20px;
	padding: clamp(26px, 5vw, 48px);
	border-radius: 26px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background:
		radial-gradient(circle at 88% 14%, rgba(246, 183, 60, 0.24), transparent 28%),
		linear-gradient(140deg, #172746, #0b152b);
	color: var(--erph-white);
	box-shadow: 0 24px 60px rgba(15, 28, 52, 0.16);
}

.erph-billing__hero h1 {
	margin: 7px 0 10px;
	color: var(--erph-white);
	font-size: clamp(34px, 5vw, 54px);
	letter-spacing: -0.05em;
}

.erph-billing__hero p {
	max-width: 680px;
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
}

.erph-billing__shield {
	display: grid;
	width: 72px;
	height: 72px;
	flex: 0 0 72px;
	border-radius: 22px;
	place-items: center;
	background: var(--erph-accent);
	color: var(--erph-primary-deep);
	font-size: 30px;
	font-weight: 900;
}

.erph-billing > .erph-notice {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.erph-school-subscription-summary {
	margin: 18px 0;
}

.erph-school-subscription-summary h2 {
	margin-bottom: 16px;
	font-size: 24px;
}

.erph-subscription-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.erph-subscription-facts > span {
	display: grid;
	padding: 12px;
	border-radius: 11px;
	gap: 3px;
	background: var(--erph-soft);
}

.erph-subscription-facts small {
	color: var(--erph-muted);
	font-size: 8px;
	font-weight: 750;
	text-transform: uppercase;
}

.erph-subscription-facts strong {
	font-size: 11px;
}

.erph-plan-grid {
	display: grid;
	margin: 18px 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.erph-plan-card {
	position: relative;
	display: flex;
	padding: 24px;
	border: 1px solid var(--erph-line);
	border-radius: 20px;
	flex-direction: column;
	background: var(--erph-white);
	box-shadow: 0 16px 42px rgba(21, 33, 61, 0.06);
}

.erph-plan-card.is-current {
	border-color: var(--erph-accent);
	box-shadow: 0 18px 45px rgba(246, 183, 60, 0.13);
}

.erph-plan-card > em {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 5px 8px;
	border-radius: 999px;
	background: #fff5df;
	color: #9b6610;
	font-size: 8px;
	font-style: normal;
	font-weight: 850;
	text-transform: uppercase;
}

.erph-plan-card h2 {
	margin-bottom: 15px;
	font-size: 20px;
}

.erph-plan-card ul {
	display: grid;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	gap: 8px;
}

.erph-plan-card li {
	position: relative;
	padding-left: 18px;
	color: var(--erph-muted);
	font-size: 10px;
}

.erph-plan-card li::before {
	position: absolute;
	top: 1px;
	left: 0;
	color: var(--erph-success);
	content: "✓";
	font-weight: 900;
}

.erph-plan-card__cycles {
	display: grid;
	margin-top: auto;
	gap: 8px;
}

.erph-plan-card__cycles form {
	display: flex;
	padding: 10px;
	border: 1px solid var(--erph-line);
	border-radius: 11px;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.erph-plan-card__cycles form > span {
	display: grid;
}

.erph-plan-card__cycles strong {
	font-size: 12px;
}

.erph-plan-card__cycles small {
	color: var(--erph-muted);
	font-size: 8px;
}

.erph-subscription-history {
	margin-top: 18px;
}

.erph-pagination {
	display: flex;
	margin-top: 20px;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
}

.erph-pagination a {
	display: grid;
	width: 34px;
	height: 34px;
	border: 1px solid var(--erph-line);
	border-radius: 9px;
	place-items: center;
	background: var(--erph-white);
	font-size: 10px;
	font-weight: 800;
}

.erph-pagination a.is-active {
	border-color: var(--erph-primary);
	background: var(--erph-primary);
	color: var(--erph-white);
}

.erph-mobile-nav,
.erph-overlay {
	display: none;
}

@media (max-width: 1180px) {
	.erph-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.erph-flow-map {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.erph-flow-map > b {
		display: none;
	}

	.erph-plan-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.erph-review-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.erph-resource-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.erph-users-grid {
		grid-template-columns: 1fr;
	}

	.erph-member-card {
		grid-template-columns: minmax(190px, 1fr) minmax(220px, 1fr) auto auto;
	}

	.erph-member-card__action {
		grid-column: 1 / -1;
		text-align: left;
	}
}

@media (max-width: 900px) {
	:root {
		--erph-sidebar: 268px;
	}

	.erph-login {
		grid-template-columns: 1fr;
	}

	.erph-login__visual {
		display: none;
	}

	.erph-access {
		grid-template-columns: 1fr;
	}

	.erph-access__brand {
		min-height: auto;
		padding: 32px;
		gap: 34px;
	}

	.erph-access__brand h1 {
		max-width: 700px;
		font-size: 44px;
	}

	.erph-access__benefits {
		display: none;
	}

	.erph-access__panel {
		min-height: auto;
		padding: 36px 20px;
	}

	.erph-login__panel {
		min-height: 100vh;
		padding: 30px 22px;
	}

	.erph-login__mobile-brand {
		display: flex;
	}

	.erph-layout {
		display: block;
	}

	.erph-sidebar {
		transform: translateX(-105%);
		box-shadow: 25px 0 60px rgba(0, 0, 0, 0.18);
		transition: transform 0.25s ease;
	}

	.erph-layout.is-menu-open .erph-sidebar {
		transform: translateX(0);
	}

	.erph-workspace {
		width: 100%;
		margin-left: 0;
	}

	.erph-menu-button {
		display: flex;
	}

	.erph-overlay {
		position: fixed;
		z-index: 35;
		inset: 0;
		background: rgba(5, 11, 24, 0.48);
		backdrop-filter: blur(3px);
	}

	.erph-layout.is-menu-open .erph-overlay {
		display: block;
	}

	body.erph-no-scroll {
		overflow: hidden;
	}

	.erph-settings-grid {
		grid-template-columns: 1fr;
	}

	.erph-member-card {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.erph-member-card__credentials {
		grid-column: 1 / -1;
	}

	.erph-member-card__action {
		grid-column: 1 / -1;
	}

	.erph-subscription-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 700px) {
	.erph-topbar {
		height: 68px;
		padding: 0 16px;
	}

	.erph-topbar__school span,
	.erph-school-switcher {
		display: none;
	}

	.erph-main {
		padding: 24px 15px 105px;
	}

	.erph-page-heading {
		margin-bottom: 22px;
		align-items: flex-start;
		flex-direction: column;
	}

	.erph-page-heading .erph-button {
		width: 100%;
	}

	.erph-page-heading h1 {
		font-size: 33px;
	}

	.erph-heading-count {
		width: 100%;
	}

	.erph-metrics {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.erph-metric {
		min-height: 132px;
		padding: 17px;
		border-radius: 16px;
	}

	.erph-metric strong {
		font-size: 34px;
	}

	.erph-metric--progress {
		grid-column: 1 / -1;
	}

	.erph-panel,
	.erph-form-section {
		border-radius: 17px;
		box-shadow: 0 10px 35px rgba(21, 33, 61, 0.06);
	}

	.erph-table th:nth-child(2),
	.erph-table td:nth-child(2) {
		display: none;
	}

	.erph-rph-card {
		padding: 16px;
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 13px;
	}

	.erph-rph-card__date {
		width: 48px;
		height: 53px;
	}

	.erph-rph-card__body {
		display: block;
	}

	.erph-rph-card__meta {
		margin-top: 9px;
		justify-content: flex-start;
	}

	.erph-rph-card__actions {
		grid-column: 1 / -1;
		justify-content: flex-end;
	}

	.erph-form-grid {
		grid-template-columns: 1fr;
	}

	.erph-field--wide {
		grid-column: auto;
	}

	.erph-form-section {
		padding: 20px 16px;
	}

	.erph-form-section__heading {
		margin-bottom: 22px;
	}

	.erph-editor__actions {
		right: 12px;
		bottom: 78px;
		width: calc(100% - 24px);
	}

	.erph-editor__actions .erph-button {
		flex: 1;
	}

	.erph-review-grid {
		grid-template-columns: 1fr;
	}

	.erph-resource-grid {
		grid-template-columns: 1fr;
	}

	.erph-inline-form--row {
		grid-template-columns: 1fr;
	}

	.erph-actions--split {
		align-items: stretch;
		flex-direction: column;
	}

	.erph-access__brand {
		padding: 26px 20px;
	}

	.erph-access__brand > div:not(.erph-access__security) {
		display: none;
	}

	.erph-access__security {
		display: none;
	}

	.erph-access__panel {
		padding: 18px 12px 28px;
	}

	.erph-access__card {
		padding: 26px 18px;
		border-radius: 21px;
	}

	.erph-access__columns {
		grid-template-columns: 1fr;
	}

	.erph-payment-summary {
		grid-template-columns: 1fr;
	}

	.erph-access__school {
		grid-template-columns: 42px minmax(0, 1fr);
	}

	.erph-access__school em {
		display: none;
	}

	.erph-share-card {
		padding: 18px;
		grid-template-columns: 1fr;
	}

	.erph-copy-field,
	.erph-share-card__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.erph-copy-field .erph-button,
	.erph-share-card__actions .erph-button,
	.erph-share-card__actions form {
		width: 100%;
	}

	.erph-invitation-list article {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.erph-invitation-list time {
		grid-column: 1;
	}

	.erph-member-card {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 13px;
	}

	.erph-member-card__identity {
		grid-column: 1 / -1;
	}

	.erph-member-card__credentials {
		grid-template-columns: 1fr;
	}

	.erph-quick-start-banner {
		align-items: stretch;
		flex-direction: column;
	}

	.erph-quick-start-banner .erph-button {
		width: 100%;
	}

	.erph-flow-map {
		grid-template-columns: 1fr;
	}

	.erph-setup-checklist article {
		grid-template-columns: 36px minmax(0, 1fr);
	}

	.erph-setup-checklist article .erph-button {
		grid-column: 2;
		width: 100%;
	}

	.erph-role-guide-grid,
	.erph-user-role-metrics,
	.erph-plan-grid {
		grid-template-columns: 1fr;
	}

	.erph-flow-note {
		align-items: flex-start;
		flex-direction: column;
	}

	.erph-billing {
		padding: 18px 12px 30px;
	}

	.erph-billing__header {
		margin-bottom: 16px;
		align-items: flex-start;
		flex-direction: column;
	}

	.erph-billing__header > div,
	.erph-billing__header .erph-button {
		width: 100%;
	}

	.erph-billing__hero {
		padding: 28px 20px;
		border-radius: 20px;
	}

	.erph-billing__hero h1 {
		font-size: 36px;
	}

	.erph-billing__shield {
		display: none;
	}

	.erph-subscription-facts {
		grid-template-columns: 1fr;
	}

	.erph-plan-card {
		padding: 20px 17px;
	}

	.erph-plan-card__cycles form {
		align-items: stretch;
		flex-direction: column;
	}

	.erph-member-card details form {
		position: fixed;
		right: 14px;
		bottom: 88px;
		left: 14px;
		top: auto;
		width: auto;
	}

	.erph-mobile-nav {
		position: fixed;
		z-index: 30;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom));
		left: 10px;
		display: grid;
		min-height: 66px;
		padding: 8px;
		border: 1px solid rgba(255, 255, 255, 0.08);
		border-radius: 20px;
		grid-auto-columns: 1fr;
		grid-auto-flow: column;
		background: rgba(10, 17, 35, 0.94);
		box-shadow: 0 18px 45px rgba(7, 15, 31, 0.28);
		backdrop-filter: blur(18px);
	}

	.erph-mobile-nav a {
		display: grid;
		min-width: 0;
		padding: 7px 4px;
		border-radius: 14px;
		place-items: center;
		gap: 3px;
		color: rgba(255, 255, 255, 0.5) !important;
	}

	.erph-mobile-nav a.is-active {
		background: rgba(255, 255, 255, 0.09);
		color: var(--erph-white) !important;
	}

	.erph-mobile-nav .erph-icon {
		width: 17px;
		height: 17px;
	}

	.erph-mobile-nav small {
		overflow: hidden;
		width: 100%;
		font-size: 8px;
		font-weight: 750;
		text-align: center;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (max-width: 430px) {
	.erph-metrics {
		grid-template-columns: 1fr;
	}

	.erph-metric--progress {
		grid-column: auto;
	}

	.erph-login__card h2 {
		font-size: 36px;
	}

	.erph-topbar__school strong {
		max-width: 170px;
		overflow: hidden;
		display: block;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

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

@media print {
	@page {
		margin: 14mm;
		size: A4;
	}

	body.bwk-erph-shell {
		background: #fff;
		color: #111;
		font-size: 11pt;
	}

	.erph-sidebar,
	.erph-topbar,
	.erph-mobile-nav,
	.erph-overlay,
	.erph-notice,
	.erph-page-heading .erph-back-link,
	.erph-page-heading .erph-button,
	.erph-editor__actions,
	.erph-print-action {
		display: none !important;
	}

	.erph-layout,
	.erph-workspace {
		display: block;
		min-height: auto;
		margin: 0;
	}

	.erph-main {
		width: 100%;
		max-width: none;
		padding: 0;
	}

	.erph-page-heading {
		margin-bottom: 12mm;
	}

	.erph-page-heading h1 {
		font-size: 25pt;
	}

	.erph-form-section,
	.erph-panel {
		break-inside: avoid;
		margin-bottom: 6mm;
		padding: 7mm;
		border: 1px solid #bbb;
		box-shadow: none;
	}

	.erph-field input:disabled,
	.erph-field select:disabled,
	.erph-field textarea:disabled {
		border: 0;
		background: transparent;
		color: #111;
		-webkit-text-fill-color: #111;
	}

	.erph-review-history {
		break-before: page;
	}
}
