.mp-conta-page {
	max-width: 920px;
	margin: 0 auto;
	padding: 0 0 2rem;
}
.mp-conta-page.is-wide {
	max-width: 1100px;
}
.mp-conta-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.mp-conta-search {
	display: flex;
	gap: 0.5rem;
	margin: 0 0 1rem;
}
.mp-conta-search input {
	flex: 1;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 0.55rem 0.7rem;
	font-size: 0.92rem;
}
.mp-master-table td,
.mp-master-table th {
	vertical-align: middle;
}
.mp-master-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #f1f5f9;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: #64748b;
}
.mp-master-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mp-master-sub {
	font-size: 0.78rem;
	color: #64748b;
	font-weight: 400;
}
.mp-master-actions {
	white-space: nowrap;
	display: flex;
	gap: 0.35rem;
	justify-content: flex-end;
}

.mp-conta-card {
	background: #fff;
	border: 1px solid #e8eef2;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
	padding: 1.35rem 1.4rem 1.5rem;
	margin-bottom: 1rem;
}

.mp-conta-card h3 {
	margin: 0 0 0.25rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: #0f172a;
}

.mp-conta-card .mp-conta-lead {
	margin: 0 0 1.1rem;
	color: #64748b;
	font-size: 0.92rem;
}

.mp-conta-logo-wrap {
	display: inline-block;
	cursor: pointer;
	margin: 0;
}
.mp-conta-logo-wrap input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}
.mp-conta-logo {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	border: 2px dashed #cbd5e1;
	background: #f8fafc;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
}

.mp-conta-logo:hover {
	border-color: #0d9488;
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.16);
}

.mp-conta-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mp-conta-logo i {
	font-size: 2rem;
	color: #94a3b8;
}

.mp-conta-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem 1rem;
}

.mp-conta-grid .is-full {
	grid-column: 1 / -1;
}

.mp-conta-field label {
	display: block;
	font-size: 0.78rem;
	font-weight: 650;
	color: #334155;
	margin-bottom: 0.28rem;
}

.mp-conta-field input,
.mp-conta-field textarea,
.mp-conta-field select {
	width: 100%;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 0.55rem 0.7rem;
	font-size: 0.92rem;
	color: #0f172a;
	background: #fff;
}

.mp-conta-field input:focus,
.mp-conta-field textarea:focus,
.mp-conta-field select:focus {
	outline: none;
	border-color: #0d9488;
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.mp-conta-section {
	grid-column: 1 / -1;
	margin: 0.4rem 0 0;
	padding-top: 0.75rem;
	border-top: 1px solid #eef2f6;
	font-size: 0.82rem;
	font-weight: 700;
	color: #0f172a;
}

.mp-conta-actions {
	margin-top: 1.1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	align-items: center;
}

.mp-conta-btn {
	border: 0;
	border-radius: 10px;
	background: #0d9488;
	color: #fff;
	padding: 0.5rem 0.95rem;
	font-weight: 650;
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	text-decoration: none;
	cursor: pointer;
}
a.mp-conta-btn:hover {
	color: #fff;
	text-decoration: none;
}
a.mp-conta-btn.ghost:hover {
	color: #334155;
}

.mp-conta-btn.ghost {
	background: #f1f5f9;
	color: #334155;
}

.mp-conta-btn:disabled {
	opacity: 0.65;
}

.mp-conta-mods {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
}

.mp-conta-mod {
	border: 1px solid #e8eef2;
	border-radius: 12px;
	padding: 0.85rem;
	background: #f8fafc;
}

.mp-conta-mod h4 {
	margin: 0 0 0.65rem;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #64748b;
}

.mp-conta-check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0;
	font-size: 0.9rem;
	color: #0f172a;
}

.mp-conta-check input {
	accent-color: #0d9488;
}

.mp-conta-check.is-lock {
	opacity: 0.72;
}

.mp-conta-users {
	width: 100%;
	border-collapse: collapse;
}

.mp-conta-users th,
.mp-conta-users td {
	text-align: left;
	padding: 0.55rem 0.4rem;
	border-bottom: 1px solid #eef2f6;
	font-size: 0.88rem;
}

.mp-conta-users th {
	color: #64748b;
	font-weight: 650;
	font-size: 0.75rem;
	text-transform: uppercase;
}

.mp-conta-badge {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 0.12rem 0.5rem;
	font-size: 0.72rem;
	font-weight: 700;
	background: #e2e8f0;
	color: #334155;
}

.mp-conta-badge.on {
	background: #ccfbf1;
	color: #115e59;
}

.mp-conta-badge.off {
	background: #fee2e2;
	color: #991b1b;
}
.mp-conta-badge.wait {
	background: #fef3c7;
	color: #92400e;
}
.mp-conta-btn.ok {
	background: #0f766e;
}
.mp-conta-btn.danger {
	background: #fff;
	color: #b91c1c;
	border: 1px solid #fecaca;
}
.mp-dash-kpis {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 0.35rem;
}
.mp-dash-kpis.is-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mp-dash-kpi {
	border: 1px solid #e8eef2;
	border-radius: 12px;
	padding: 0.85rem 0.95rem;
	background: #f8fafc;
	min-width: 0;
}
.mp-dash-kpi.is-on {
	background: #f0fdfa;
	border-color: #99f6e4;
}
.mp-dash-kpi.is-warn {
	background: #fffbeb;
	border-color: #fde68a;
}
.mp-dash-kpi.is-link {
	text-decoration: none;
	color: inherit;
	display: block;
	cursor: pointer;
}
.mp-dash-k {
	font-size: 0.75rem;
	font-weight: 650;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.mp-dash-n {
	font-size: 1.55rem;
	font-weight: 750;
	color: #0f172a;
	line-height: 1.2;
	margin: 0.2rem 0 0.15rem;
}
.mp-dash-den {
	font-size: 0.95rem;
	font-weight: 600;
	color: #94a3b8;
}
.mp-dash-s {
	font-size: 0.78rem;
	color: #64748b;
}
.mp-dash-canais {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}
.mp-dash-canal {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	border: 1px solid #e8eef2;
	border-radius: 12px;
	padding: 0.85rem 0.95rem;
	background: #fff;
	text-decoration: none;
	color: inherit;
}
.mp-dash-canal .mp-ico {
	width: 40px;
	height: 40px;
	border-radius: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	flex-shrink: 0;
}
.mp-dash-canal-body {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
}
.mp-dash-canal-body span {
	font-size: 0.8rem;
	color: #64748b;
}
.mp-dash-canal-mini {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}
.mp-dash-canal-mini i {
	font-size: 1.15rem;
}
@media (max-width: 1100px) {
	.mp-dash-kpis,
	.mp-dash-kpis.is-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.mp-dash-canais {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 800px) {
	.mp-dash-canais {
		grid-template-columns: 1fr;
	}
}
.mp-dash-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 0.85rem;
}
.mp-dash-pager-info {
	font-size: 0.82rem;
	color: #64748b;
}
.mp-dash-pager-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}
.mp-dash-pager-btns .mp-conta-btn {
	min-width: 2.2rem;
	padding: 0.35rem 0.65rem;
}
.mp-mz-title {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	min-width: 0;
}
.mp-mz-title .mp-ico {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	flex-shrink: 0;
}
.mp-mz-title h3 {
	margin: 0 0 0.2rem;
}
.mp-mz-info {
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 12px;
	background: #f1f5f9;
	color: #0f172a;
	font-size: 1.45rem;
	cursor: pointer;
	flex-shrink: 0;
}
.mp-mz-info:hover {
	background: #ccfbf1;
	color: #0f766e;
}
.mp-mz-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
	margin: 1rem 0 0.35rem;
}
.mp-mz-box {
	border: 1px solid #e8eef2;
	border-radius: 12px;
	padding: 0.9rem 1rem;
	background: #f8fafc;
}
.mp-mz-box.is-out {
	background: #fffbeb;
	border-color: #fde68a;
}
.mp-mz-box h4 {
	margin: 0 0 0.5rem;
	font-size: 0.88rem;
}
.mp-mz-box ul {
	margin: 0;
	padding-left: 1.1rem;
	color: #334155;
	font-size: 0.9rem;
}
.mp-mz-box li {
	margin: 0.28rem 0;
}
.mp-mz-modal {
	position: fixed;
	inset: 0;
	z-index: 12000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 4vh 1rem 2rem;
	overflow: auto;
}
.mp-mz-modal[hidden] {
	display: none !important;
}
.mp-mz-modal-back {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
}
.mp-mz-modal-card {
	position: relative;
	z-index: 1;
	width: min(640px, 100%);
	background: #fff;
	border-radius: 16px;
	padding: 1.25rem 1.3rem 1.4rem;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
	margin: auto;
}
.mp-mz-modal-x {
	position: absolute;
	top: 0.7rem;
	right: 0.7rem;
	border: 0;
	background: #f1f5f9;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1.2rem;
}
.mp-mz-modal-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	margin-bottom: 0.5rem;
}
.mp-mz-modal-card h3 {
	margin: 0 0 0.45rem;
	font-size: 1.15rem;
}
.mp-mz-modal-card h4 {
	margin: 1rem 0 0.35rem;
	font-size: 0.88rem;
}
.mp-mz-uso {
	color: #334155;
	font-size: 0.92rem;
	margin: 0 0 0.5rem;
}
.mp-mz-modal-card .mp-conta-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.2rem 0.4rem 0.2rem 0;
	text-decoration: none;
}
.mp-mz-steps {
	margin: 0;
	padding-left: 1.15rem;
}
.mp-mz-steps li {
	margin: 0.55rem 0;
}
.mp-mz-steps p {
	margin: 0.15rem 0 0;
	color: #475569;
	font-size: 0.9rem;
}
@media (max-width: 800px) {
	.mp-mz-grid {
		grid-template-columns: 1fr;
	}
}
.mp-conta-checks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.2rem 0.85rem;
	max-height: 220px;
	overflow: auto;
	padding: 0.55rem 0.7rem;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
}

.mp-conta-empty {
	color: #64748b;
	font-size: 0.9rem;
	padding: 0.4rem 0;
}
.mp-mz-head-actions {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	flex-wrap: wrap;
}
.mp-mz-period {
	display: inline-flex;
	background: #f1f5f9;
	border-radius: 10px;
	padding: 0.18rem;
}
.mp-mz-period button {
	border: 0;
	background: transparent;
	padding: 0.35rem 0.7rem;
	border-radius: 8px;
	font-size: 0.82rem;
	font-weight: 650;
	color: #475569;
	cursor: pointer;
}
.mp-mz-period button.is-on {
	background: #fff;
	color: #0f172a;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.mp-mz-status {
	margin: 0.85rem 0 0.35rem;
	color: #475569;
	font-size: 0.9rem;
}
.mp-dash-kpis.is-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}
.mp-mz-charts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
	margin: 1rem 0 0.2rem;
}
.mp-mz-chart {
	border: 1px solid #e8eef2;
	border-radius: 12px;
	padding: 0.85rem 1rem 0.7rem;
	background: #f8fafc;
	min-width: 0;
}
.mp-mz-chart h4 {
	margin: 0 0 0.15rem;
	font-size: 0.88rem;
}
.mp-mz-bars {
	display: flex;
	align-items: flex-end;
	gap: 0.35rem;
	height: 96px;
	margin-top: 0.55rem;
}
.mp-mz-bar {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
	height: 100%;
}
.mp-mz-bar span {
	width: 100%;
	max-width: 28px;
	border-radius: 6px 6px 2px 2px;
	display: block;
}
.mp-mz-bar em {
	font-style: normal;
	font-size: 0.65rem;
	color: #94a3b8;
	margin-top: 0.25rem;
}
.mp-mz-table-wrap {
	overflow: auto;
}
.mp-mz-table td strong {
	display: block;
}
.mp-mz-lead {
	border-top: 1px solid #e8eef2;
	padding: 0.7rem 0;
}
.mp-mz-lead:first-child {
	border-top: 0;
	padding-top: 0;
}
.mp-mz-lead div {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
}
.mp-mz-lead span {
	color: #94a3b8;
	font-size: 0.78rem;
	white-space: nowrap;
}
.mp-mz-lead p {
	margin: 0.2rem 0 0;
	color: #475569;
	font-size: 0.9rem;
}
.mp-mz-lead em {
	font-style: normal;
	font-size: 0.75rem;
	color: #b45309;
	font-weight: 700;
}
@media (max-width: 1100px) {
	.mp-dash-kpis.is-5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.mp-mz-charts {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 800px) {
	.mp-conta-grid,
	.mp-conta-mods {
		grid-template-columns: 1fr;
	}
}
