.aplug-system-page .entry-title,
.aplug-system-page .wp-block-post-title {
	display: none;
}

.aplug-sp-portal {
	--sp-ink: #172033;
	--sp-muted: #647087;
	--sp-line: #dce3ed;
	--sp-soft: #f4f7fb;
	--sp-brand: #1268f3;
	--sp-brand-dark: #0b46aa;
	--sp-accent: #12b886;
	--sp-warning: #c47b08;
	--sp-danger: #bd2c38;
	width: min(1180px, calc(100% - 32px));
	margin: 32px auto;
	color: var(--sp-ink);
	background: #fff;
	border: 1px solid var(--sp-line);
	border-radius: 24px;
	box-shadow: 0 24px 70px rgba(24, 44, 78, .12);
	overflow: hidden;
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

.aplug-sp-portal *,
.aplug-sp-portal *::before,
.aplug-sp-portal *::after {
	box-sizing: border-box;
}

.aplug-sp-header,
.aplug-sp-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 28px;
}

.aplug-sp-header {
	border-bottom: 1px solid var(--sp-line);
	background: rgba(255, 255, 255, .96);
}

.aplug-sp-brand,
.aplug-sp-header nav,
.aplug-sp-account,
.aplug-sp-footer nav {
	display: flex;
	align-items: center;
	gap: 14px;
}

.aplug-sp-brand,
.aplug-sp-header a,
.aplug-sp-footer a,
.aplug-sp-card a,
.aplug-sp-text-link {
	color: var(--sp-ink);
	text-decoration: none;
}

.aplug-sp-brand span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	color: #fff;
	background: linear-gradient(145deg, var(--sp-brand), var(--sp-brand-dark));
	border-radius: 12px;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .08em;
}

.aplug-sp-brand strong {
	font-size: 19px;
}

.aplug-sp-header nav a,
.aplug-sp-footer nav a {
	padding: 7px 3px;
	color: var(--sp-muted);
	font-size: 14px;
	font-weight: 700;
}

.aplug-sp-header nav a:hover,
.aplug-sp-header nav a[aria-current="page"],
.aplug-sp-footer nav a:hover {
	color: var(--sp-brand);
}

.aplug-sp-small-button,
.aplug-sp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 17px;
	color: #fff !important;
	background: var(--sp-brand);
	border: 0;
	border-radius: 12px;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(18, 104, 243, .22);
}

.aplug-sp-button:hover,
.aplug-sp-small-button:hover {
	background: var(--sp-brand-dark);
	transform: translateY(-1px);
}

.aplug-sp-user {
	max-width: 150px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--sp-muted);
	font-size: 14px;
}

.aplug-sp-language {
	position: relative;
}

.aplug-sp-language summary {
	cursor: pointer;
	list-style: none;
	padding: 8px 12px;
	border: 1px solid var(--sp-line);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
}

.aplug-sp-language summary::-webkit-details-marker {
	display: none;
}

.aplug-sp-language > div {
	position: absolute;
	z-index: 20;
	top: calc(100% + 8px);
	right: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	width: 290px;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--sp-line);
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(24, 44, 78, .18);
}

.aplug-sp-language a {
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 14px;
}

.aplug-sp-language a:hover,
.aplug-sp-language a[aria-current="true"] {
	color: var(--sp-brand);
	background: #eef5ff;
}

.aplug-sp-main {
	min-height: 520px;
	background: linear-gradient(180deg, #f9fbff 0, #fff 360px);
}

.aplug-sp-hero {
	padding: 72px clamp(24px, 7vw, 88px) 48px;
	background:
		radial-gradient(circle at 86% 8%, rgba(18, 184, 134, .14), transparent 26%),
		radial-gradient(circle at 10% 0, rgba(18, 104, 243, .13), transparent 29%);
}

.aplug-sp-kicker {
	margin: 0 0 12px;
	color: var(--sp-brand);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.aplug-sp-hero h1,
.aplug-sp-login-card h1 {
	max-width: 900px;
	margin: 0 0 18px;
	color: var(--sp-ink);
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.08;
	letter-spacing: -.035em;
}

.aplug-sp-lead {
	max-width: 820px;
	margin: 0 0 14px;
	color: #33415a;
	font-size: clamp(18px, 2.2vw, 24px);
	line-height: 1.45;
}

.aplug-sp-hero > p:last-child {
	max-width: 820px;
	margin: 0;
	color: var(--sp-muted);
}

.aplug-sp-section {
	padding: 28px clamp(24px, 7vw, 88px) 72px;
}

.aplug-sp-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 24px;
}

.aplug-sp-section-head h2,
.aplug-sp-action h2,
.aplug-sp-card h2,
.aplug-sp-steps h2 {
	margin: 0;
	color: var(--sp-ink);
	line-height: 1.25;
}

.aplug-sp-section-head p,
.aplug-sp-action p,
.aplug-sp-card p,
.aplug-sp-steps p {
	margin: 7px 0 0;
	color: var(--sp-muted);
}

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

.aplug-sp-card {
	display: flex;
	flex-direction: column;
	min-height: 245px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--sp-line);
	border-radius: 18px;
	box-shadow: 0 12px 30px rgba(24, 44, 78, .07);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.aplug-sp-card:hover {
	transform: translateY(-3px);
	border-color: #aac8fa;
	box-shadow: 0 18px 38px rgba(24, 44, 78, .12);
}

.aplug-sp-card > span {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 18px;
	color: var(--sp-brand);
	background: #edf4ff;
	border-radius: 13px;
	font-size: 21px;
	font-weight: 900;
}

.aplug-sp-card h2 {
	font-size: 20px;
}

.aplug-sp-card a {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 20px;
	color: var(--sp-brand);
	font-weight: 800;
}

.aplug-sp-action {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin: 0 clamp(24px, 7vw, 88px) 72px;
	padding: 25px 28px;
	color: #fff;
	background: linear-gradient(135deg, #172033, #253b66);
	border-radius: 18px;
}

.aplug-sp-action h2,
.aplug-sp-action p {
	color: #fff;
}

.aplug-sp-action p {
	opacity: .78;
}

.aplug-sp-table-wrap {
	overflow-x: auto;
	background: #fff;
	border: 1px solid var(--sp-line);
	border-radius: 18px;
}

.aplug-sp-table-wrap table {
	width: 100%;
	border-collapse: collapse;
}

.aplug-sp-table-wrap th,
.aplug-sp-table-wrap td {
	padding: 15px 18px;
	text-align: left;
	border-bottom: 1px solid var(--sp-line);
}

.aplug-sp-table-wrap thead th {
	color: var(--sp-muted);
	background: var(--sp-soft);
	font-size: 12px;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.aplug-sp-state {
	display: inline-flex;
	padding: 4px 9px;
	color: #0b6248;
	background: #e7f8f2;
	border-radius: 99px;
	font-size: 12px;
	font-weight: 800;
}

.aplug-sp-state.is-missing,
.aplug-sp-state.is-trashed,
.aplug-sp-state.is-conflict {
	color: #8e2630;
	background: #fdecee;
}

.aplug-sp-state.is-modified {
	color: #80520a;
	background: #fff3dd;
}

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

.aplug-sp-steps article {
	padding: 26px;
	background: #fff;
	border: 1px solid var(--sp-line);
	border-radius: 18px;
}

.aplug-sp-steps b {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-bottom: 17px;
	color: #fff;
	background: var(--sp-brand);
	border-radius: 50%;
}

.aplug-sp-login .aplug-sp-main {
	display: grid;
	place-items: center;
	padding: 60px 20px;
}

.aplug-sp-login-card {
	width: min(480px, 100%);
	padding: clamp(28px, 6vw, 48px);
	background: #fff;
	border: 1px solid var(--sp-line);
	border-radius: 22px;
	box-shadow: 0 22px 55px rgba(24, 44, 78, .12);
}

.aplug-sp-login-card h1 {
	font-size: 36px;
}

.aplug-sp-login-card label {
	display: block;
	margin: 17px 0 5px;
	font-size: 14px;
	font-weight: 800;
}

.aplug-sp-login-card input[type="text"],
.aplug-sp-login-card input[type="password"] {
	width: 100%;
	min-height: 46px;
	padding: 9px 12px;
	border: 1px solid #b9c5d6;
	border-radius: 10px;
}

.aplug-sp-login-card input[type="submit"] {
	width: 100%;
	min-height: 46px;
	margin-top: 14px;
	color: #fff;
	background: var(--sp-brand);
	border: 0;
	border-radius: 11px;
	font-weight: 800;
	cursor: pointer;
}

.aplug-sp-text-link {
	display: inline-block;
	margin-top: 12px;
	color: var(--sp-brand);
	font-weight: 700;
}

.aplug-sp-footer {
	color: var(--sp-muted);
	background: var(--sp-soft);
	border-top: 1px solid var(--sp-line);
	font-size: 13px;
}

.aplug-sp-footer > div {
	display: grid;
}

.aplug-sp-footer strong {
	color: var(--sp-ink);
}

.aplug-sp-portal.is-rtl {
	font-family: Tahoma, Arial, sans-serif;
}

.aplug-sp-portal.is-rtl .aplug-sp-language > div {
	right: auto;
	left: 0;
}

.aplug-sp-portal.is-rtl .aplug-sp-table-wrap th,
.aplug-sp-portal.is-rtl .aplug-sp-table-wrap td {
	text-align: right;
}

@media (max-width: 900px) {
	.aplug-sp-cards,
	.aplug-sp-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aplug-sp-header {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.aplug-sp-header nav {
		order: 3;
		width: 100%;
	}
}

@media (max-width: 620px) {
	.aplug-sp-portal {
		width: 100%;
		margin: 0;
		border: 0;
		border-radius: 0;
	}

	.aplug-sp-header,
	.aplug-sp-footer,
	.aplug-sp-account,
	.aplug-sp-section-head,
	.aplug-sp-action {
		align-items: stretch;
		flex-direction: column;
	}

	.aplug-sp-account {
		width: 100%;
	}

	.aplug-sp-language > div {
		position: static;
		width: 100%;
		margin-top: 8px;
	}

	.aplug-sp-cards,
	.aplug-sp-steps {
		grid-template-columns: 1fr;
	}

	.aplug-sp-action .aplug-sp-button {
		width: 100%;
	}

	.aplug-sp-footer nav {
		flex-wrap: wrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aplug-sp-portal * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
