/* PowerShell FAQs - free 100 PowerShell Cmdlets ebook popup (compact single-column, site blue #1226FF, theme font) */
.psf-pop {
	--psf-blue: #1226FF;
	--psf-blue-dark: #0D1DD6;
	--psf-blue-soft: #EDF0FF;
	--psf-navy: #060B2B;
	--psf-ink: #141A2E;
	--psf-muted: #525B72;
	--psf-line: #D9DEEA;
	--psf-error: #B3261E;
	position: fixed;
	inset: 0;
	z-index: 2147483600;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	font-family: inherit; /* the theme font */
	font-size: 16px;
	line-height: 1.55;
	color: var(--psf-ink);
	-webkit-font-smoothing: antialiased;
}
.psf-pop[hidden] { display: none !important; }
.psf-pop *, .psf-pop *::before, .psf-pop *::after { box-sizing: border-box; }
html.psf-pop-lock, html.psf-pop-lock body { overflow: hidden; }

.psf-pop .psf-pop__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 11, 43, .64);
	opacity: 0;
	transition: opacity .22s ease;
}
.psf-pop .psf-pop__dialog {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 28px 70px rgba(6, 11, 43, .38);
	opacity: 0;
	transform: translateY(12px) scale(.985);
	transition: opacity .22s ease, transform .22s ease;
	outline: none;
}
.psf-pop.is-open .psf-pop__backdrop { opacity: 1; }
.psf-pop.is-open .psf-pop__dialog { opacity: 1; transform: none; }

.psf-pop .psf-pop__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	width: 40px;
	height: 40px;
	display: grid;
	place-content: center;
	padding: 0;
	background: #F0F2F7;
	border: 0;
	border-radius: 10px;
	color: #525B72;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease;
}
.psf-pop .psf-pop__close:hover { background: var(--psf-blue-soft); color: var(--psf-blue); }
.psf-pop .psf-pop__close:focus-visible { outline: 3px solid var(--psf-blue); outline-offset: 2px; }

.psf-pop .psf-pop__view {
	display: block;
	padding: clamp(28px, 4.4vw, 40px);
}
.psf-pop .psf-pop__view[hidden] { display: none !important; }

/* Kept in the markup for a future two-column layout; the compact card hides them. */
.psf-pop .psf-pop__cover,
.psf-pop .psf-pop__eyebrow { display: none; }

.psf-pop .psf-pop__title {
	margin: 0;
	padding-right: 44px;
	font-family: inherit;
	font-size: clamp(24px, 3.4vw, 29px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	color: var(--psf-ink);
	text-wrap: balance;
	outline: none;
}
.psf-pop .psf-pop__desc {
	margin: 10px 0 0;
	font-size: 16.5px;
	line-height: 1.5;
	color: var(--psf-muted);
}

.psf-pop .psf-pop__form { margin-top: 24px; }
.psf-pop .psf-pop__field { margin-bottom: 16px; }
.psf-pop .psf-pop__label {
	display: block;
	margin-bottom: 7px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--psf-ink);
}
.psf-pop .psf-pop__label span { font-weight: 600; color: var(--psf-ink); }
.psf-pop .psf-pop__input {
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 16px;
	font-family: inherit;
	font-size: 16.5px;
	color: var(--psf-ink);
	background: #fff;
	border: 1px solid var(--psf-line);
	border-radius: 12px;
	box-shadow: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.psf-pop .psf-pop__input::placeholder { color: #8A92A6; opacity: 1; }
.psf-pop .psf-pop__input:focus {
	outline: none;
	border-color: var(--psf-blue);
	box-shadow: 0 0 0 4px rgba(18, 38, 255, .14);
}
.psf-pop .psf-pop__input[aria-invalid="true"] { border-color: var(--psf-error); }
.psf-pop .psf-pop__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .12); }
.psf-pop .psf-pop__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.psf-pop .psf-pop__error {
	margin: -6px 0 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--psf-error);
}
.psf-pop .psf-pop__error[hidden] { display: none !important; }
.psf-pop .psf-pop__submit {
	width: 100%;
	height: 58px;
	margin-top: 4px;
	padding: 0 20px;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: #fff;
	background: var(--psf-blue);
	border: 0;
	border-radius: 12px;
	box-shadow: 0 12px 26px rgba(18, 38, 255, .26);
	cursor: pointer;
	transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.psf-pop .psf-pop__submit:hover { background: var(--psf-blue-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(18, 38, 255, .32); }
.psf-pop .psf-pop__submit:focus-visible { outline: 3px solid var(--psf-navy); outline-offset: 3px; }
.psf-pop .psf-pop__submit[disabled] { opacity: .75; cursor: progress; transform: none; }
.psf-pop .psf-pop__fine {
	margin: 16px 0 0;
	font-size: 13.5px;
	line-height: 1.55;
	text-align: center;
	color: #7C849A;
}
.psf-pop .psf-pop__fine a { color: #7C849A; text-decoration: underline; }
.psf-pop .psf-pop__fine a:hover { color: var(--psf-blue); }

.psf-pop .psf-pop__view--success {
	text-align: center;
	padding-block: clamp(36px, 6vw, 50px);
}
.psf-pop .psf-pop__check {
	width: 62px;
	height: 62px;
	margin: 0 auto 16px;
	border-radius: 50%;
	display: grid;
	place-content: center;
	background: var(--psf-blue-soft);
	color: var(--psf-blue);
}
.psf-pop .psf-pop__view--success .psf-pop__title { padding-right: 0; }
.psf-pop .psf-pop__view--success .psf-pop__desc { max-width: 40ch; margin-inline: auto; }
.psf-pop .psf-pop__secondary {
	margin-top: 22px;
	padding: 13px 26px;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--psf-ink);
	background: #fff;
	border: 1px solid var(--psf-line);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color .18s ease, color .18s ease;
}
.psf-pop .psf-pop__secondary:hover { border-color: var(--psf-blue); color: var(--psf-blue); }

@media (max-width: 520px) {
	.psf-pop { padding: 12px; }
	.psf-pop .psf-pop__view { padding: 26px 20px 22px; }
	.psf-pop .psf-pop__title { font-size: 23px; }
	.psf-pop .psf-pop__desc { font-size: 15.5px; }
	.psf-pop .psf-pop__close { top: 12px; right: 12px; }
	.psf-pop .psf-pop__input { height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
	.psf-pop * { transition: none !important; }
}
