.m-eao-cabinet-body,
.m-eao-login-body {
	background:
		radial-gradient(900px 500px at 0% 0%, rgba(46, 183, 214, 0.16), transparent 55%),
		linear-gradient(180deg, #eef7fb, #f5f9fb 50%, #eaf3f7);
}

.m-eao-login {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 1.5rem;
}

.m-eao-login__card {
	width: min(420px, 100%);
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--m-eao-line);
	border-radius: 20px;
	padding: 2rem 1.6rem;
	box-shadow: var(--m-eao-shadow);
	animation: m-eao-rise 0.55s ease both;
}

.m-eao-login__logo {
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
	text-decoration: none;
}

.m-eao-login__logo img {
	width: auto;
	height: 64px;
	display: block;
}

.m-eao-login h1 {
	margin: 0 0 0.4rem;
	text-align: center;
	font-size: 1.45rem;
}

.m-eao-login__lead {
	margin: 0 0 1.25rem;
	text-align: center;
	color: var(--m-eao-muted);
	font-size: 0.92rem;
}

.m-eao-login__back {
	margin: 1.25rem 0 0;
	text-align: center;
	font-size: 0.92rem;
}

.m-eao-cabinet {
	display: grid;
	grid-template-columns: 280px 1fr;
	min-height: 100vh;
	align-items: start;
}

.m-eao-cabinet__burger,
.m-eao-cabinet__overlay {
	display: none;
}

.m-eao-cabinet__sidebar {
	position: sticky;
	top: 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 1.4rem 1.1rem;
	height: 100vh;
	max-height: 100vh;
	overflow-y: auto;
	background: linear-gradient(180deg, #16324a, #1b4560 55%, #1a8fb0);
	color: #fff;
	box-sizing: border-box;
}

.m-eao-cabinet__brand {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.25;
}

.m-eao-cabinet__brand:hover {
	text-decoration: none;
	opacity: 0.95;
}

.m-eao-cabinet__brand img {
	width: auto;
	height: 40px;
	max-width: 120px;
	flex: 0 0 auto;
	display: block;
}

.m-eao-cabinet__brand-text {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.m-eao-cabinet__nav {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.m-eao-cabinet__nav a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	padding: 0.65rem 0.8rem;
	border-radius: 10px;
	font-weight: 600;
}

.m-eao-cabinet__nav a:hover {
	background: rgba(255, 255, 255, 0.12);
	text-decoration: none;
}

.m-eao-cabinet__account {
	margin-top: auto;
	display: grid;
	gap: 0.35rem;
	padding: 1rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(4px);
}

.m-eao-cabinet__account-role {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.7;
	font-weight: 700;
}

.m-eao-cabinet__account-org {
	font-size: 0.95rem;
	font-weight: 750;
	line-height: 1.3;
}

.m-eao-cabinet__account-name {
	font-size: 0.9rem;
	opacity: 0.95;
}

.m-eao-cabinet__account-email {
	font-size: 0.8rem;
	opacity: 0.72;
	word-break: break-all;
}

.m-eao-btn--logout {
	margin-top: 0.55rem;
	width: 100%;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #fff;
	border-radius: 999px;
	padding: 0.55rem 0.9rem;
	font-weight: 700;
}

.m-eao-btn--logout:hover {
	background: rgba(255, 255, 255, 0.22);
	text-decoration: none;
	color: #fff;
}

.m-eao-cabinet__main {
	padding: 1.5rem 1.6rem 2.5rem;
}

.m-eao-cabinet__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.m-eao-cabinet__top h1 {
	margin: 0;
	font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.m-eao-link {
	font-weight: 650;
}

.m-eao-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.m-eao-stat {
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--m-eao-line);
	border-radius: 16px;
	padding: 1.1rem 1.2rem;
	box-shadow: var(--m-eao-shadow);
}

.m-eao-stat strong {
	display: block;
	font-size: 1.8rem;
	color: var(--m-eao-accent-deep);
}

.m-eao-stat span {
	color: var(--m-eao-muted);
	font-size: 0.92rem;
}

.m-eao-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 1rem 0 1.5rem;
}

.m-eao-actions--sticky {
	position: sticky;
	bottom: 0.75rem;
	padding: 0.85rem;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--m-eao-line);
	border-radius: 14px;
	backdrop-filter: blur(8px);
	box-shadow: var(--m-eao-shadow);
	z-index: 5;
}

.m-eao-muted {
	color: var(--m-eao-muted);
}

.m-eao-alert {
	padding: 0.85rem 1rem;
	border-radius: 12px;
	margin-bottom: 1rem;
	font-weight: 600;
}

.m-eao-alert--success {
	background: rgba(46, 183, 214, 0.14);
	border: 1px solid rgba(46, 183, 214, 0.35);
	color: var(--m-eao-accent-deep);
}

.m-eao-alert--error {
	background: rgba(192, 57, 43, 0.08);
	border: 1px solid rgba(192, 57, 43, 0.25);
	color: var(--m-eao-danger);
}

.m-eao-form {
	display: grid;
	gap: 1rem;
}

.m-eao-form--panel,
.m-eao-form--wide {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid var(--m-eao-line);
	border-radius: 18px;
	padding: 1.25rem;
	box-shadow: var(--m-eao-shadow);
}

.m-eao-field {
	display: grid;
	gap: 0.4rem;
}

.m-eao-field__label,
.m-eao-field > span:first-child {
	font-weight: 650;
	font-size: 0.94rem;
}

.m-eao-field input[type="text"],
.m-eao-field input[type="email"],
.m-eao-field input[type="password"],
.m-eao-field input[type="date"],
.m-eao-field textarea,
.m-eao-field .m-eao-date {
	width: 100%;
	border: 1px solid var(--m-eao-line);
	border-radius: 10px;
	padding: 0.7rem 0.85rem;
	font: inherit;
	background: #fff;
	color: var(--m-eao-ink);
}

.m-eao-field .m-eao-date {
	max-width: 12rem;
	letter-spacing: 0.02em;
}

.m-eao-field textarea {
	resize: vertical;
	min-height: 84px;
}

.m-eao-field input:focus,
.m-eao-field textarea:focus {
	outline: 2px solid rgba(46, 183, 214, 0.35);
	border-color: var(--m-eao-accent);
}

.m-eao-file {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.65rem;
	padding: 0.55rem 0.7rem;
	border: 1px dashed rgba(46, 183, 214, 0.55);
	border-radius: 12px;
	background: rgba(46, 183, 214, 0.05);
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease;
}

.m-eao-file:hover,
.m-eao-file:focus-within {
	border-color: var(--m-eao-accent);
	background: rgba(46, 183, 214, 0.1);
}

.m-eao-file.is-selected {
	border-style: solid;
	background: rgba(255, 255, 255, 0.9);
}

.m-eao-file__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.m-eao-file__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--m-eao-accent), var(--m-eao-accent-deep));
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	white-space: nowrap;
}

.m-eao-file__name {
	color: var(--m-eao-muted);
	font-size: 0.9rem;
	word-break: break-word;
}

.m-eao-file.is-selected .m-eao-file__name {
	color: var(--m-eao-ink);
	font-weight: 600;
}

.m-eao-hint {
	color: var(--m-eao-muted);
	font-size: 0.85rem;
}

.m-eao-check {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.92rem;
}

.m-eao-check--inline {
	margin-left: 0.75rem;
}

.m-eao-form-section {
	display: grid;
	gap: 1rem;
	padding: 1.1rem 0;
	border-top: 1px solid var(--m-eao-line);
}

.m-eao-form-section:first-child {
	border-top: 0;
	padding-top: 0;
}

.m-eao-form-section h2 {
	margin: 0;
	font-size: 1.15rem;
	color: var(--m-eao-accent-deep);
}

.m-eao-section-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 0.5rem;
}

.m-eao-section-nav a {
	padding: 0.4rem 0.7rem;
	border-radius: 999px;
	background: var(--m-eao-accent-soft);
	color: var(--m-eao-accent-deep);
	font-size: 0.85rem;
	font-weight: 650;
	text-decoration: none;
}

.m-eao-section-nav a:hover {
	background: rgba(46, 183, 214, 0.24);
}

.m-eao-readonly {
	padding: 0.7rem 0.85rem;
	border-radius: 10px;
	background: #f7fbfd;
	border: 1px solid var(--m-eao-line);
}

.m-eao-readonly--pre {
	white-space: pre-wrap;
}

.m-eao-file-current {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.4rem;
}

.m-eao-table-wrap {
	overflow-x: auto;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid var(--m-eao-line);
	border-radius: 16px;
	box-shadow: var(--m-eao-shadow);
}

.m-eao-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.m-eao-table th,
.m-eao-table td {
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--m-eao-line);
	text-align: left;
	vertical-align: top;
}

.m-eao-table th {
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--m-eao-muted);
	background: rgba(46, 183, 214, 0.06);
}

.m-eao-table tr:last-child td {
	border-bottom: 0;
}

.m-eao-table__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	white-space: nowrap;
}

.m-eao-danger-zone {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px dashed rgba(192, 57, 43, 0.35);
}

@media (max-width: 860px) {
	.m-eao-cabinet {
		grid-template-columns: 1fr;
	}

	.m-eao-cabinet__burger {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		position: fixed;
		top: 0.9rem;
		left: 0.9rem;
		z-index: 60;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 12px;
		background: linear-gradient(135deg, #16324a, #1a8fb0);
		box-shadow: 0 8px 20px rgba(22, 50, 74, 0.25);
		cursor: pointer;
	}

	.m-eao-cabinet__burger span {
		display: block;
		width: 18px;
		height: 2px;
		margin-inline: auto;
		background: #fff;
		border-radius: 2px;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.m-eao-cabinet.is-nav-open .m-eao-cabinet__burger span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.m-eao-cabinet.is-nav-open .m-eao-cabinet__burger span:nth-child(2) {
		opacity: 0;
	}

	.m-eao-cabinet.is-nav-open .m-eao-cabinet__burger span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.m-eao-cabinet__overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 40;
		background: rgba(12, 28, 40, 0.45);
	}

	.m-eao-cabinet__overlay[hidden] {
		display: none;
	}

	.m-eao-cabinet__sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 50;
		width: min(300px, 86vw);
		height: 100vh;
		max-height: 100vh;
		transform: translateX(-105%);
		transition: transform 0.25s ease;
		overflow-y: auto;
		box-shadow: 12px 0 30px rgba(0, 0, 0, 0.18);
	}

	.m-eao-cabinet.is-nav-open .m-eao-cabinet__sidebar {
		transform: translateX(0);
	}

	.m-eao-cabinet__main {
		padding-top: 4.2rem;
	}

	body.m-eao-nav-lock {
		overflow: hidden;
	}
}