/**
 * Edit-server page for the PocketMine monitoring shell.
 * Scope: .mp-edit only, so nothing leaks into other /servera/ pages.
 * Классы: mp-edit-*. Каркас: assets/mp/shell.php.
 */

.mp-edit {
	--mp-edit-green: var(--game-bg-target, #2c9830);
	--mp-edit-green-dark: #247a27;
	--mp-edit-green-soft: #eef7ef;
	--mp-edit-ink: #1a211d;
	--mp-edit-text: #3d4741;
	--mp-edit-muted: #6c7a72;
	--mp-edit-line: #e3e9e5;
	--mp-edit-line-strong: #cfd9d2;
	--mp-edit-card: #fff;
	--mp-edit-danger: #a53a30;
	--mp-edit-danger-soft: #fdf3f2;
	--mp-edit-radius: 14px;
	max-width: 940px;
	margin: 0 auto;
	padding: 0 0 28px;
	color: var(--mp-edit-text);
	font-size: 14px;
	line-height: 1.5;
}

.mp-edit *,
.mp-edit *::before,
.mp-edit *::after {
	box-sizing: border-box;
}

.mp-edit img {
	max-width: 100%;
}

.mp-edit [hidden] {
	display: none !important;
}

.mp-edit-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Хлебные крошки ---------- */
.mp-edit-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 7px;
	margin: 2px 0 12px;
	font-size: 12.5px;
	color: var(--mp-edit-muted);
}

.mp-edit-crumbs a {
	color: inherit;
	text-decoration: none;
}

.mp-edit-crumbs a:hover {
	color: var(--mp-edit-green);
	text-decoration: underline;
}

.mp-edit-crumbs__sep {
	opacity: .5;
}

.mp-edit-crumbs__cur {
	color: #3f4a44;
}

/* ---------- Шапка страницы ---------- */
.mp-edit-head {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 16px;
	padding: 22px 24px;
	border: 1px solid var(--mp-edit-line);
	border-radius: 16px;
	background:
		radial-gradient(120% 150% at 100% 0, rgba(44, 152, 48, .10) 0, rgba(44, 152, 48, 0) 55%),
		#fff;
	box-shadow: 0 1px 2px rgba(20, 35, 26, .04);
	overflow: hidden;
}

.mp-edit-head::after {
	content: "";
	position: absolute;
	right: -46px;
	bottom: -66px;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: rgba(44, 152, 48, .05);
	pointer-events: none;
}

.mp-edit-head__text {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.mp-edit-head h1 {
	margin: 0 0 4px;
	font-size: 27px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--mp-edit-ink);
	text-transform: none;
}

.mp-edit-head__name {
	margin: 0 0 8px;
	color: #2f3b34;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.mp-edit-head__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-top: 4px;
	font-size: 12.5px;
	color: #4c5a52;
}

.mp-edit-head__meta > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.mp-edit-head__meta i {
	color: var(--mp-edit-green);
	font-size: 11.5px;
}

.mp-edit-head__promo {
	color: #8a5a06;
	font-weight: 600;
}

.mp-edit-head__promo i {
	color: #c58a12;
}

.mp-edit-head__actions {
	position: relative;
	z-index: 1;
	display: flex;
	flex: none;
	flex-wrap: wrap;
	gap: 8px;
}

/* ---------- Плашки статуса ---------- */
.mp-edit-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 24px;
	padding: 0 9px;
	border-radius: 7px;
	background: #f1f4f2;
	color: #52615a;
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.mp-edit-pill__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	flex: 0 0 auto;
}

.mp-edit-pill.is-ok {
	background: #e9f7ea;
	color: #1c6b22;
}

.mp-edit-pill.is-wait {
	background: #fff4e0;
	color: #96600a;
}

.mp-edit-pill.is-neutral {
	background: #f1f4f2;
	color: #52615a;
}

/* ---------- Кнопки ---------- */
.mp-edit .mp-edit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	max-width: 100%;
	max-height: none;
	height: 44px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 10px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	opacity: 1;
	box-shadow: none;
	transition: background .18s, border-color .18s, color .18s, transform .12s, box-shadow .18s;
}

.mp-edit .mp-edit-btn:hover {
	opacity: 1;
}

.mp-edit-btn:focus-visible {
	outline: 2px solid rgba(44, 152, 48, .45);
	outline-offset: 2px;
}

.mp-edit-btn i {
	margin: 0;
	font-size: 12px;
}

.mp-edit .mp-edit-btn--primary {
	background: var(--mp-edit-green);
	border-color: var(--mp-edit-green);
	color: #fff;
	box-shadow: 0 1px 2px rgba(20, 60, 25, .18), inset 0 -2px 0 rgba(0, 0, 0, .12);
}

.mp-edit .mp-edit-btn--primary:hover {
	background: var(--mp-edit-green-dark);
	border-color: var(--mp-edit-green-dark);
	color: #fff;
}

.mp-edit .mp-edit-btn--primary:active {
	transform: translateY(1px);
}

.mp-edit .mp-edit-btn--ghost {
	background: #fff;
	border-color: var(--mp-edit-line-strong);
	color: #37433b;
}

.mp-edit .mp-edit-btn--ghost:hover {
	border-color: var(--mp-edit-green);
	background: #fbfefb;
	color: var(--mp-edit-green);
}

.mp-edit .mp-edit-btn--danger {
	background: var(--mp-edit-danger-soft);
	border-color: #f0d1cc;
	color: var(--mp-edit-danger);
}

.mp-edit .mp-edit-btn--danger:hover {
	background: #fbe9e7;
	border-color: #e0b3ac;
	color: #8c2c23;
}

/* ---------- Алерты ---------- */
.mp-edit-alert {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 0 0 14px;
	padding: 13px 15px;
	border: 1px solid;
	border-radius: 12px;
	font-size: 13px;
	line-height: 1.5;
}

.mp-edit-alert__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	font-size: 12px;
}

.mp-edit-alert__body {
	min-width: 0;
}

.mp-edit-alert__body b {
	display: block;
	margin-bottom: 3px;
	font-size: 13.5px;
}

.mp-edit-alert__body p {
	margin: 3px 0 0;
}

.mp-edit-alert ul {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mp-edit-alert li {
	position: relative;
	padding-left: 12px;
	overflow-wrap: anywhere;
}

.mp-edit-alert li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .58em;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
	opacity: .55;
}

.mp-edit-alert--err {
	background: #fdf3f2;
	border-color: #f0d1cc;
	color: #8f342b;
}

.mp-edit-alert--err .mp-edit-alert__ico {
	background: #f7dcd8;
	color: var(--mp-edit-danger);
}

.mp-edit-alert--ok {
	background: #f0faf2;
	border-color: #c9e8d0;
	color: #215f32;
}

.mp-edit-alert--ok .mp-edit-alert__ico {
	background: #d9f1df;
	color: #237a3a;
}

/* ---------- Форма и карточки ---------- */
.mp-edit-form {
	margin: 0;
}

.mp-edit-stack {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mp-edit-card {
	min-width: 0;
	border: 1px solid var(--mp-edit-line);
	border-radius: var(--mp-edit-radius);
	background: var(--mp-edit-card);
	box-shadow: 0 1px 2px rgba(20, 35, 26, .035);
	overflow: hidden;
}

.mp-edit-card__head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 17px 20px 0;
}

.mp-edit-card__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--mp-edit-green-soft);
	color: var(--mp-edit-green);
	font-size: 16px;
}

.mp-edit-card__titles {
	min-width: 0;
}

.mp-edit-card h2 {
	margin: 1px 0 3px;
	font-size: 16.5px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--mp-edit-ink);
}

.mp-edit-card__titles p {
	margin: 0;
	font-size: 13px;
	color: var(--mp-edit-muted);
}

.mp-edit-card__head .mp-edit-pill {
	margin-left: auto;
	flex: none;
}

.mp-edit-card__body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 16px 20px 20px;
}

/* ---------- Поля ---------- */
.mp-edit-field,
.mp-edit-choices-field,
.mp-edit-cats-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.mp-edit-row {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 14px;
}

.mp-edit-label {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .01em;
	color: #344038;
}

.mp-edit-label em {
	font-style: normal;
	font-weight: 700;
	color: #c95246;
}

.mp-edit .mp-edit-input {
	width: 100%;
	max-width: 100%;
	height: 44px;
	min-height: 44px;
	padding: 0 13px;
	border: 1px solid var(--mp-edit-line-strong);
	border-radius: 10px;
	background: #fff;
	color: var(--mp-edit-ink);
	font: inherit;
	font-size: 14px;
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s, background .15s;
}

.mp-edit .mp-edit-input::placeholder {
	color: #9aa8a0;
}

.mp-edit .mp-edit-input:hover {
	border-color: #b9c7bf;
}

.mp-edit .mp-edit-input:focus {
	outline: none;
	border-color: var(--mp-edit-green);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(44, 152, 48, .13);
}

.mp-edit textarea.mp-edit-input {
	height: auto;
	min-height: 112px;
	padding: 11px 13px;
	line-height: 1.5;
	resize: vertical;
}

.mp-edit-field__meta {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 11.5px;
	line-height: 1.4;
	color: #8b9891;
}

.mp-edit-select {
	position: relative;
	display: block;
}

.mp-edit .mp-edit-select select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	cursor: pointer;
	box-shadow: none;
}

.mp-edit-select::after {
	content: "";
	position: absolute;
	right: 15px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #7c8a82;
	border-bottom: 2px solid #7c8a82;
	transform: translateY(-68%) rotate(45deg);
	pointer-events: none;
}

.mp-edit-note {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	margin: 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--mp-edit-muted);
}

.mp-edit-note i {
	margin-top: 2px;
	font-size: 11.5px;
	color: #93a29a;
}

/* ---------- Платформа: карточки-радио ---------- */
.mp-edit-choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.mp-edit-choice {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 13px 14px;
	border: 1px solid var(--mp-edit-line-strong);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	transition: border-color .18s, background .18s, box-shadow .18s;
}

.mp-edit-choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.mp-edit-choice:hover {
	border-color: #b9c7bf;
	background: #fcfefc;
}

.mp-edit-choice:has(input:checked) {
	border-color: var(--mp-edit-green);
	background: var(--mp-edit-green-soft);
	box-shadow: inset 0 0 0 1px var(--mp-edit-green);
}

.mp-edit-choice:has(input:focus-visible) {
	outline: 2px solid rgba(44, 152, 48, .4);
	outline-offset: 2px;
}

.mp-edit-choice__ico {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #f1f5f2;
	color: #5c6b62;
	font-size: 16px;
	transition: background .18s, color .18s;
}

.mp-edit-choice:has(input:checked) .mp-edit-choice__ico {
	background: #fff;
	color: var(--mp-edit-green);
}

.mp-edit-choice__body {
	min-width: 0;
}

.mp-edit-choice__body b {
	display: block;
	font-size: 14px;
	color: var(--mp-edit-ink);
}

.mp-edit-choice__body small {
	display: block;
	margin-top: 2px;
	font-size: 11.5px;
	line-height: 1.35;
	color: var(--mp-edit-muted);
}

.mp-edit-choice__dot {
	flex: none;
	width: 18px;
	height: 18px;
	border: 2px solid #c5d0c9;
	border-radius: 50%;
	background: #fff;
	transition: border-color .18s, background .18s, box-shadow .18s;
}

.mp-edit-choice:has(input:checked) .mp-edit-choice__dot {
	border-color: var(--mp-edit-green);
	background: var(--mp-edit-green);
	box-shadow: inset 0 0 0 3px #fff;
}

/* ---------- Категории ---------- */
.mp-edit-cats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.mp-edit-cat {
	position: relative;
	min-width: 0;
	cursor: pointer;
}

.mp-edit-cat input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.mp-edit-cat > span {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 10px 8px 11px;
	border: 1px solid var(--mp-edit-line-strong);
	border-radius: 9px;
	background: #fff;
	color: #3f4a44;
	font-size: 12.5px;
	line-height: 1.25;
	overflow-wrap: anywhere;
	transition: border-color .15s, background .15s, color .15s;
}

.mp-edit-cat > span::before {
	content: "";
	flex: none;
	width: 15px;
	height: 15px;
	border: 1.5px solid #c3cfc7;
	border-radius: 4px;
	background: #fff;
	transition: border-color .15s, background .15s;
}

.mp-edit-cat:hover > span {
	border-color: #b9c7bf;
	background: #fcfefc;
}

.mp-edit-cat input:checked + span {
	border-color: var(--mp-edit-green);
	background: var(--mp-edit-green-soft);
	color: #1f5c25;
	font-weight: 600;
}

.mp-edit-cat input:checked + span::before {
	border-color: var(--mp-edit-green);
	background: var(--mp-edit-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.2 4.4 8.6 11 1.6' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 8px no-repeat;
}

.mp-edit-cat input:focus-visible + span {
	outline: 2px solid rgba(44, 152, 48, .4);
	outline-offset: 2px;
}

.mp-edit-cats__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
}

.mp-edit-cats__count {
	font-size: 12px;
	color: var(--mp-edit-muted);
	font-variant-numeric: tabular-nums;
}

.mp-edit-cats__count.is-over {
	color: #b03a2e;
	font-weight: 600;
}

.mp-edit-cat.is-hidden {
	display: none;
}

.mp-edit .mp-edit-more {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 7px;
	width: auto;
	max-height: none;
	height: auto;
	padding: 4px 2px;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--mp-edit-green-dark);
	font: inherit;
	font-size: 12.5px;
	font-weight: 600;
	opacity: 1;
	box-shadow: none;
	cursor: pointer;
}

.mp-edit .mp-edit-more:hover {
	opacity: 1;
	color: var(--mp-edit-green);
}

.mp-edit-more i {
	margin: 0;
	font-size: 10px;
	transition: transform .18s;
}

.mp-edit-more.is-open i {
	transform: rotate(180deg);
}

.mp-edit-more:focus-visible {
	outline: 2px solid rgba(44, 152, 48, .45);
	outline-offset: 2px;
	border-radius: 5px;
}

/* ---------- Логотип и баннер ---------- */
.mp-edit-media {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: 14px;
}

.mp-edit-media__col {
	display: flex;
	flex-direction: column;
	gap: 9px;
	min-width: 0;
}

.mp-edit-media__top {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 10px;
}

.mp-edit-media__label {
	font-size: 12.5px;
	font-weight: 600;
	color: #344038;
}

.mp-edit-media__hint {
	font-size: 11.5px;
	color: #8b9891;
}

.mp-edit-shot {
	display: grid;
	place-items: center;
	overflow: hidden;
	border: 1px dashed var(--mp-edit-line-strong);
	border-radius: 12px;
	background: repeating-conic-gradient(#f4f7f5 0% 25%, #fbfdfb 0% 50%) 0 0 / 18px 18px;
}

.mp-edit-shot--banner {
	aspect-ratio: 468 / 60;
	width: 100%;
	max-width: 468px;
	min-height: 64px;
}

.mp-edit-shot--logo {
	width: 112px;
	height: 112px;
}

.mp-edit-shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.mp-edit-shot__empty {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	color: #93a29a;
	font-size: 11.5px;
	text-align: center;
}

.mp-edit-shot__empty i {
	font-size: 13px;
}

.mp-edit-file {
	position: relative;
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
	padding: 10px 12px;
	border: 1.5px dashed #cfdad3;
	border-radius: 12px;
	background: #fbfdfb;
	cursor: pointer;
	transition: border-color .18s, background .18s;
}

.mp-edit-file:hover {
	border-color: var(--mp-edit-green);
	background: #f7fcf8;
}

.mp-edit-file:has(input:focus-visible) {
	outline: 2px solid rgba(44, 152, 48, .4);
	outline-offset: 2px;
}

.mp-edit-file input {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	opacity: 0;
	cursor: pointer;
}

.mp-edit-file__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: #eef4ef;
	color: var(--mp-edit-green);
	font-size: 13px;
}

.mp-edit-file__body {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.mp-edit-file__body b {
	font-size: 13px;
	color: var(--mp-edit-ink);
}

.mp-edit-file__body small {
	font-size: 11px;
	line-height: 1.3;
	color: var(--mp-edit-muted);
}

.mp-edit-file__name {
	max-width: 100%;
	margin-top: 2px;
	overflow: hidden;
	color: #7f8d85;
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mp-edit-file__btn {
	flex: none;
	margin-left: auto;
	padding: 6px 10px;
	border: 1px solid var(--mp-edit-line-strong);
	border-radius: 7px;
	background: #fff;
	color: #46534b;
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- Статус ---------- */
.mp-edit-status__hint {
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f6f9f7;
	color: #4f5d55;
	font-size: 12.5px;
	line-height: 1.45;
}

.mp-edit-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
}

.mp-edit-fact {
	min-width: 0;
	padding: 11px 13px;
	border: 1px solid var(--mp-edit-line);
	border-radius: 11px;
	background: #fbfdfb;
}

.mp-edit-fact dt {
	margin: 0 0 4px;
	color: var(--mp-edit-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.mp-edit-fact dd {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: #2b382f;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.mp-edit-fact dd b {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.15;
}

.mp-edit-live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 600;
	font-size: 15px;
	color: #56645b;
}

.mp-edit-live__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #b9c6bd;
	flex: 0 0 auto;
}

.mp-edit-live.is-on {
	color: #1c6b22;
}

.mp-edit-live.is-on .mp-edit-live__dot {
	background: #2c9830;
	box-shadow: 0 0 0 3px rgba(44, 152, 48, .14);
}

.mp-edit-status__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mp-edit-status__actions .mp-edit-btn {
	height: 40px;
	padding: 0 14px;
	font-size: 13px;
}

/* ---------- Панель действий ---------- */
.mp-edit-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 2px;
}

.mp-edit-actions .mp-edit-btn {
	min-width: 132px;
}

.mp-edit-actions__note {
	margin-right: auto;
	color: var(--mp-edit-muted);
	font-size: 12px;
}

.mp-edit-actions__note i {
	margin-right: 3px;
	color: var(--mp-edit-green);
}

/* ---------- Адаптив ---------- */
@media (max-width: 767px) {
	.mp-edit {
		padding: 12px 14px 26px;
	}

	.mp-edit-head {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 18px 16px;
		border-radius: 14px;
	}

	.mp-edit-head h1 {
		font-size: 22px;
	}

	.mp-edit-head__name {
		font-size: 14px;
	}

	.mp-edit-head__actions .mp-edit-btn {
		width: 100%;
	}

	.mp-edit-card__head {
		flex-wrap: wrap;
		padding: 15px 15px 0;
	}

	.mp-edit-card__head .mp-edit-pill {
		margin-left: 0;
		order: 3;
		flex-basis: 100%;
		justify-content: flex-start;
		width: fit-content;
	}

	.mp-edit-card__body {
		padding: 14px 15px 16px;
	}

	.mp-edit-row {
		grid-template-columns: 1fr;
	}

	.mp-edit-choices {
		grid-template-columns: 1fr;
	}

	.mp-edit-cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mp-edit-media {
		grid-template-columns: 1fr;
	}

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

	.mp-edit-status__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.mp-edit-status__actions .mp-edit-btn {
		width: 100%;
	}

	.mp-edit-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.mp-edit-actions .mp-edit-btn {
		width: 100%;
		min-width: 0;
	}

	.mp-edit-actions__note {
		order: 4;
		margin: 2px 0 0;
		text-align: center;
	}
}

@media (max-width: 430px) {
	.mp-edit {
		padding: 10px 10px 24px;
	}

	.mp-edit-head {
		padding: 16px 14px;
	}

	.mp-edit-head h1 {
		font-size: 20px;
	}

	.mp-edit-card__head {
		gap: 10px;
		padding: 14px 13px 0;
	}

	.mp-edit-card__ico {
		width: 34px;
		height: 34px;
		font-size: 14px;
	}

	.mp-edit-card h2 {
		font-size: 15.5px;
	}

	.mp-edit-card__body {
		padding: 13px 13px 15px;
	}

	.mp-edit-cats {
		grid-template-columns: 1fr;
	}

	.mp-edit-facts {
		grid-template-columns: 1fr;
	}

	.mp-edit-file__btn {
		display: none;
	}

	.mp-edit-shot--logo {
		width: 96px;
		height: 96px;
	}
}
