/* Lean WP Tools customer portal. Colours follow the LeanPixel logo. */

:root {
	--navy: #26364f;
	--ink: #1b2637;
	--blue: #1a88f5;
	--blue-deep: #0f6bd0;
	--sky: #e9f3fe;
	--muted: #5b6d82;
	--line: #dde3ea;
	--track: #edf1f5;
	--good: #0b7a48;
	--bad: #b32d2e;
	--page: #f4f6f9;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a {
	color: var(--blue-deep);
}

code {
	padding: 2px 6px;
	border-radius: 5px;
	background: var(--track);
	font-size: 0.92em;
}

.top,
main,
.foot {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 20px;
}

.top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding-top: 22px;
	padding-bottom: 22px;
}

.brand img {
	display: block;
	max-width: 100%;
	height: auto;
	mix-blend-mode: multiply;
}

.who {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

h1,
h2,
h3 {
	margin: 0;
	color: var(--navy);
	line-height: 1.3;
}

h1 {
	font-size: 24px;
	font-weight: 650;
}

h1.page {
	margin: 6px 0 16px;
}

h2 {
	font-size: 18px;
	font-weight: 650;
}

h3 {
	margin-bottom: 4px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
}

p {
	margin: 10px 0;
}

.muted {
	color: var(--muted);
	font-size: 13.5px;
}

.error {
	color: var(--bad);
	font-weight: 500;
}

.flash {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: 10px;
	background: #e4f5ec;
	color: var(--good);
	font-weight: 500;
}

.card {
	margin: 0 0 16px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #fff;
}

.card.narrow {
	max-width: 520px;
	margin: 24px auto;
}

.card.narrow.wide {
	max-width: 640px;
}

.card.narrow h1 {
	margin-bottom: 8px;
}

label {
	display: block;
	margin: 16px 0 6px;
	font-weight: 600;
}

input[type="email"],
input[type="text"] {
	width: 100%;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid #b9c4d0;
	border-radius: 8px;
	color: var(--ink);
	font: inherit;
}

input.key {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 14px;
}

input:focus-visible,
.button:focus-visible,
button:focus-visible,
summary:focus-visible,
a:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

.button {
	display: inline-block;
	min-height: 42px;
	margin-top: 14px;
	padding: 0 18px;
	border: 1px solid #b9c4d0;
	border-radius: 8px;
	background: #fff;
	color: var(--navy);
	font: inherit;
	font-weight: 600;
	line-height: 40px;
	text-decoration: none;
	cursor: pointer;
}

.button.primary {
	border-color: var(--blue-deep);
	background: var(--blue-deep);
	color: #fff;
}

.button.primary:hover {
	border-color: var(--navy);
	background: var(--navy);
}

.button.danger {
	border-color: var(--bad);
	color: var(--bad);
}

.button:disabled {
	border-color: var(--line);
	background: var(--track);
	color: #8a97a6;
	cursor: default;
}

button.link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--blue-deep);
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.key-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.chip {
	padding: 2px 12px;
	border-radius: 999px;
	background: var(--track);
	color: var(--muted);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.8;
}

.chip-paid {
	background: var(--sky);
	color: var(--blue-deep);
}

.chip-bad {
	background: #fbeaea;
	color: var(--bad);
}

.cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 32px;
	padding: 18px 0 6px;
}

.figure {
	margin: 0 0 6px;
	color: var(--navy);
	font-size: 26px;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

.figure span {
	color: var(--muted);
	font-size: 14px;
	font-weight: 400;
}

progress {
	display: block;
	width: 100%;
	height: 8px;
	border: 0;
	border-radius: 999px;
	background: var(--track);
	overflow: hidden;
	appearance: none;
}

progress::-webkit-progress-bar {
	background: var(--track);
}

progress::-webkit-progress-value {
	border-radius: 999px;
	background: var(--blue);
}

progress::-moz-progress-bar {
	border-radius: 999px;
	background: var(--blue);
}

.sites {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sites li {
	overflow-wrap: anywhere;
}

.actions {
	margin: 0;
}

details {
	margin-top: 14px;
}

summary {
	color: var(--blue-deep);
	font-weight: 500;
	cursor: pointer;
}

.replace {
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

.check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
}

.check input {
	margin-top: 4px;
}

.more {
	margin: 4px 0 24px;
}

.plans {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 18px 0 4px;
	padding: 0;
	border: 0;
}

.plans legend {
	margin-bottom: 8px;
	padding: 0;
	font-weight: 600;
}

.plan {
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
}

.plan h3 {
	color: var(--navy);
	font-size: 16px;
}

.plan .muted {
	margin: 2px 0 8px;
}

.price {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 0;
	font-weight: 400;
	cursor: pointer;
}

.cardbox {
	min-height: 92px;
}

.foot {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	padding-top: 18px;
	padding-bottom: 36px;
	color: var(--muted);
	font-size: 13.5px;
}

.foot a {
	color: var(--muted);
}

@media (max-width: 760px) {
	.cols,
	.plans {
		grid-template-columns: 1fr;
	}
}
