/* ==========================================================================
   A tool on the public site (/tools/{tool}/)

   A tool's own files are the ones the account loads - toolkit.css and its
   tkw-{name}.css. This file only supplies what they stand on when there is no
   account around them: the handful of variables account.css defines on
   .account, and the pale blue page the designs give every tool. Everything is
   scoped to .tkpub, so nothing here can reach the rest of the public site.
   ========================================================================== */

.tkpub {
	--stat-ink: #1C24D4;
	--dash-gap: 20px;
	--dash-radius: 14px;
	--dash-navy: #0B2247;
	--dash-slate: #51617A;
	--dash-line: #E4EAF2;
	--dash-shadow: 0 1px 2px rgba(11, 34, 71, .05);
	--dash-shadow-hover: 0 4px 10px rgba(11, 34, 71, .08);
	background:
		radial-gradient(900px 320px at 100% 0%, #E4F2FE 0%, rgba(228, 242, 254, 0) 70%),
		linear-gradient(180deg, #F6FBFF 0%, #F1F8FE 100%);
}

/* A tool built as a full workspace brings its own width; the older frames sit in a container. */
.tkpub__inner {
	width: 100%;
	max-width: 1450px;
	margin: 0 auto;
	padding: 22px 24px 8px;
}


/* Five tools were fitted into the account by taking their own page padding away, because the
   account's content area supplies it. Here nothing does, so they get back what they were drawn with. */
.tkpub .tkw-images .wrap,
.tkpub .tkw-numbers .wrap,
.tkpub .tkw-reorder .wrap,
.tkpub .tkw-scan .wrap,
.tkpub .tkw-watermark .wrap {
	max-width: 1460px;
	margin: 0 auto;
	padding: 20px 25px 46px;
}

@media (max-width: 900px) {
	.tkpub .tkw-images .wrap,
	.tkpub .tkw-numbers .wrap,
	.tkpub .tkw-reorder .wrap,
	.tkpub .tkw-scan .wrap,
	.tkpub .tkw-watermark .wrap { padding: 17px 18px 35px; }
}

@media (max-width: 680px) {
	.tkpub .tkw-images .wrap,
	.tkpub .tkw-numbers .wrap,
	.tkpub .tkw-reorder .wrap,
	.tkpub .tkw-scan .wrap,
	.tkpub .tkw-watermark .wrap { padding: 14px 12px 28px; }
}

/* Their settings panels stick below the account's top bar (66px). The public header is not
   sticky, so there is nothing to clear. */
.tkpub .tkw-images .settings-panel, .tkpub .tkw-images .settings,
.tkpub .tkw-numbers .settings-panel, .tkpub .tkw-numbers .settings,
.tkpub .tkw-reorder .settings-panel, .tkpub .tkw-reorder .settings,
.tkpub .tkw-scan .settings-panel, .tkpub .tkw-scan .settings,
.tkpub .tkw-watermark .settings-panel, .tkpub .tkw-watermark .settings { top: 16px; }

/* More tools: a quiet row under the feedback box, the way into the rest of the Toolkit. */
.tkpub-more {
	max-width: 1450px;
	margin: 0 auto;
	padding: 20px 24px 56px;
}

.tkpub-more__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 14px;
}

.tkpub-more__head h2 {
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
	letter-spacing: -.01em;
	color: #0B2247;
}

.tkpub-more__all {
	font-size: 14px;
	font-weight: 700;
	color: #0B6E78;
	text-decoration: none;
}

.tkpub-more__all:hover { text-decoration: underline; text-underline-offset: 3px; }

.tkpub-more__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tkpub-more__link {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 13px 14px;
	border: 1px solid #DCE7F1;
	border-radius: 12px;
	background: #fff;
	color: #0B2247;
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.tkpub-more__link:hover { border-color: #9CC7D1; box-shadow: 0 4px 12px rgba(11, 34, 71, .08); }

.tkpub-more__link:focus-visible { outline: 3px solid #70C6D8; outline-offset: 2px; }

.tkpub-more__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--tk-pastel, #E9F4FE);
	color: var(--tk-deep, #1B5FCC);
}

.tkpub-more__link strong { display: block; font-size: 14px; line-height: 1.3; }

.tkpub-more__link small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: #51617A; }

@media (max-width: 680px) {
	.tkpub__inner,
	.tkpub-more { padding-left: 12px; padding-right: 12px; }
	.tkpub-more__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.tkpub-more__link { transition: none; }
}

/* The free-account bar under the feedback strip (template-parts/toolkit/account-cta.php).
   Only drawn for a signed-out visitor, and only here. Sits in the same 1450px column as the tool. */
.tkacta {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0;
	margin: 22px 0 0;
	padding: 26px 30px;
	border: 1px solid #DCE7F1;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(15, 47, 83, .045);
	color: #16202B;
}

.tk-account-cta-holder { grid-column: 1 / -1;max-width: 1450px;margin: auto;padding: 0px 24px 0px; }
.tk-account-cta-holder:empty { display: none; }
@media (max-width:1050px){
	.tk-account-cta-holder{
		padding-left: 18px;
        padding-right: 18px;
	}
}
@media (max-width:520px){
	.tk-account-cta-holder{
		padding: 0px 12px 0px;
	}
}
.tkacta__art {
	position: relative;
	display: grid;
	place-items: center;
	width: 116px;
	height: 82px;
	margin: 0 28px 0 12px;
	border-radius: 24px;
	background: #DFF3EE;
	color: #0A8F83;
}

.tkacta__plus {
	position: absolute;
	right: -3px;
	bottom: -9px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #0A8F83;
	color: #fff;
}

.tkacta__body {
	min-width: 0;
	padding: 2px 34px 2px 28px;
	border-left: 1px solid #E4EAF2;
}

.tkacta__tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 9px;
	padding: 3px 11px 3px 10px;
	border-radius: 999px;
	background: #DFF3EE;
	color: #0A7C73;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.5;
}

.tkacta__tag::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
}

.tkacta__title {
	margin: 0 0 7px;
	color: #01224F;
	font-size: clamp(22px, 2.3vw, 30px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.02em;
}

.tkacta__text {
	margin: 0 0 16px;
	max-width: 780px;
	color: #51617A;
	font-size: 14.5px;
	line-height: 1.55;
}

.tkacta__perks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tkacta__perks li {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 14px;
	border-radius: 10px;
	background: #F2F8FB;
	color: #01224F;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.2;
}

.tkacta__perks svg { flex: none; color: #0A7C73; }

.tkacta__action {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 290px;
	padding: 0 0 0 34px;
	border-left: 1px solid #E4EAF2;
	text-align: center;
}

.tkacta__action .tkacta__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 55px;
	padding: 12px 18px;
	border-radius: 12px;
	background: var(--color-accent, #F18F13);
	color: var(--color-accent-ink, #01224F);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .15s ease;
}

.tkacta__action .tkacta__btn:hover,
.tkacta__action .tkacta__btn:focus-visible { background: var(--color-accent-dark, #D67C08); color: var(--color-accent-ink, #01224F); }

.tkacta__action .tkacta__btn:focus-visible,
.tkacta__login a:focus-visible { outline: 3px solid #70C6D8; outline-offset: 2px; }

.tkacta__login { margin: 14px 0 0; color: #51617A; font-size: 13.5px; }

.tkacta__login a { color: #1B3FA0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.tkacta__note { margin: 11px 0 0; color: #6A788C; font-size: 12.5px; line-height: 1.5; }

@media (max-width: 1100px) {
	.tkacta { grid-template-columns: auto minmax(0, 1fr); row-gap: 22px; }
	.tkacta__action { grid-column: 1 / -1; width: auto; padding: 22px 0 0; border-left: 0; border-top: 1px solid #E4EAF2; }
	.tkacta__action .tkacta__btn { max-width: 340px; }
}

@media (max-width: 680px) {
	.tkacta { grid-template-columns: 1fr; padding: 22px 18px; border-radius: 18px; }
	.tkacta__art { width: 92px; height: 68px; margin: 0 0 18px; border-radius: 20px; }
	.tkacta__body { padding: 0; border-left: 0; }
	.tkacta__perks li { flex: 1 1 100%; }
	.tkacta__action { padding-top: 20px; }
	.tkacta__action .tkacta__btn { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
	.tkacta__action .tkacta__btn { transition: none; }
}

.tk-account-cta-holder .tkacta__art svg {
    width: 56px;
    height: 56px;
}

.tk-account-cta-holder span.tkacta__plus svg {
    width: 14px;
    height: 14px;
}