.ggg-tools-page {
	max-width: 1180px;
	margin: 0 auto 32px;
	padding: 20px 14px 0;
	color: var(--ggg-ink);
}

.ggg-tools-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: end;
	padding: 22px 0 18px;
	border-bottom: 1px solid var(--ggg-hairline);
}

.ggg-tools-hero p {
	margin: 0 0 6px;
	color: var(--ggg-primary-hover);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0;
	text-transform: uppercase;
}

.ggg-tools-hero h1 {
	max-width: 760px;
	margin: 0;
	color: var(--ggg-ink);
	font-size: 32px;
	font-weight: 880;
	line-height: 1.08;
}

.ggg-tools-hero > div > span {
	display: block;
	max-width: 720px;
	margin-top: 10px;
	color: var(--ggg-muted);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.55;
}

.ggg-tools-tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 7px;
	min-width: 620px;
}

.ggg-tools-tabs button {
	display: grid;
	grid-template-columns: auto auto;
	min-height: 38px;
	align-items: center;
	align-content: center;
	justify-content: center;
	column-gap: 8px;
	line-height: 1;
	padding: 0 10px;
	border: 1px solid var(--ggg-hairline);
	border-radius: 8px;
	background: #ffffff;
	color: #4f6058;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .16s ease, border-color .16s ease, background-color .16s ease;
}

.ggg-tools-tabs button .fa {
	display: inline-grid;
	width: 18px;
	height: 18px;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	line-height: 1;
	text-align: center;
}

.ggg-tools-tabs button .fa::before {
	display: block;
	line-height: 1;
}

.ggg-tools-tabs button span {
	display: block;
	min-width: 0;
	max-width: none;
	margin: 0;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1;
}

.ggg-tools-tabs button:hover,
.ggg-tools-tabs button.active {
	border-color: rgba(15, 143, 106, .32);
	background: var(--ggg-primary-soft);
	color: var(--ggg-primary-hover);
}

.ggg-tools-tabs button:active {
	transform: translateY(1px);
}

.ggg-tools-rule-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 14px 0 0;
}

.ggg-tools-rule-strip span {
	display: inline-flex;
	min-height: 30px;
	align-items: center;
	gap: 6px;
	padding: 0 10px;
	border: 1px solid rgba(15, 143, 106, .16);
	border-radius: 999px;
	background: #f7fbf9;
	color: #52625a;
	font-size: 12px;
	font-weight: 760;
}

.ggg-tools-rule-strip b {
	color: var(--ggg-primary-hover);
	font-weight: 880;
}

.ggg-tools-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(330px, .8fr);
	gap: 18px;
	align-items: start;
	padding-top: 18px;
}

.ggg-tools-panel,
.ggg-tools-results {
	border: 1px solid var(--ggg-hairline);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 44px -34px rgba(31, 37, 35, .36);
}

.ggg-tools-section-head {
	padding: 16px 16px 0;
}

.ggg-tools-section-head h2 {
	margin: 0;
	color: var(--ggg-ink);
	font-size: 20px;
	font-weight: 850;
	line-height: 1.2;
}

.ggg-tools-section-head p {
	margin: 7px 0 0;
	color: var(--ggg-muted);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.45;
}

.ggg-tools-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 16px;
}

.ggg-tools-form label {
	display: grid;
	gap: 6px;
	margin: 0;
}

.ggg-tools-form label > span {
	color: #52625a;
	font-size: 12px;
	font-weight: 790;
	line-height: 1.25;
}

.ggg-tools-form input,
.ggg-tools-form select {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	padding: 0 11px;
	border: 1px solid var(--ggg-hairline);
	border-radius: 8px;
	background: #fbfcfb;
	color: var(--ggg-ink);
	font-size: 14px;
	font-weight: 730;
	outline: 0;
	transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.ggg-tools-form input:focus,
.ggg-tools-form select:focus {
	border-color: rgba(15, 143, 106, .38);
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(15, 143, 106, .08);
}

.ggg-tools-wide {
	grid-column: 1 / -1;
}

.ggg-tools-unit-input {
	position: relative;
}

.ggg-tools-unit-input input {
	padding-right: 54px;
}

.ggg-tools-unit-input em {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	color: var(--ggg-muted);
	font-size: 12px;
	font-style: normal;
	font-weight: 820;
	pointer-events: none;
}

.ggg-tools-results {
	position: sticky;
	top: 74px;
	overflow: hidden;
}

.ggg-tools-result-main {
	padding: 18px;
	background: linear-gradient(180deg, #f8fbf9 0%, #ffffff 100%);
	border-bottom: 1px solid var(--ggg-hairline);
}

.ggg-tools-result-main span {
	display: block;
	color: var(--ggg-muted);
	font-size: 12px;
	font-weight: 820;
	text-transform: uppercase;
}

.ggg-tools-result-main strong {
	display: block;
	margin-top: 8px;
	color: var(--ggg-primary-hover);
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0;
}

.ggg-tools-result-main p {
	margin: 10px 0 0;
	color: #52625a;
	font-size: 13px;
	font-weight: 680;
	line-height: 1.45;
}

.ggg-tools-metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-bottom: 1px solid var(--ggg-hairline);
}

.ggg-tools-metrics div {
	display: grid;
	gap: 5px;
	min-height: 76px;
	align-content: center;
	padding: 12px;
	border-right: 1px solid var(--ggg-hairline);
	border-bottom: 1px solid var(--ggg-hairline);
}

.ggg-tools-metrics div:nth-child(2n) {
	border-right: 0;
}

.ggg-tools-metrics div:nth-last-child(-n+2) {
	border-bottom: 0;
}

.ggg-tools-metrics span,
.ggg-tools-breakdown span {
	color: var(--ggg-muted);
	font-size: 11px;
	font-weight: 780;
	text-transform: uppercase;
}

.ggg-tools-metrics strong {
	color: var(--ggg-ink);
	font-size: 17px;
	font-weight: 880;
	line-height: 1.1;
}

.ggg-tools-metrics strong.warn {
	color: #b53f36;
}

.ggg-tools-breakdown {
	padding: 14px;
}

.ggg-tools-breakdown h3 {
	margin: 0 0 10px;
	color: var(--ggg-ink);
	font-size: 15px;
	font-weight: 850;
}

.ggg-tools-breakdown ul {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ggg-tools-breakdown li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ggg-tools-breakdown b {
	color: var(--ggg-ink);
	font-size: 13px;
	font-weight: 850;
	text-align: right;
	white-space: nowrap;
}

.ggg-tools-search-cta {
	display: grid;
	gap: 8px;
	margin: 0 14px 14px;
	padding: 14px;
	border: 1px solid rgba(15, 143, 106, .18);
	border-radius: 8px;
	background: #f7fbf9;
}

.ggg-tools-search-cta span {
	color: var(--ggg-muted);
	font-size: 11px;
	font-weight: 820;
	text-transform: uppercase;
}

.ggg-tools-search-cta strong {
	color: var(--ggg-ink);
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
}

.ggg-tools-search-cta p {
	margin: 0;
	color: #52625a;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.45;
}

.ggg-tools-search-cta a {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 2px;
	border-radius: 8px;
	background: var(--ggg-primary);
	color: #ffffff;
	font-size: 13px;
	font-weight: 850;
	text-decoration: none;
	transition: transform .16s ease, background-color .16s ease;
}

.ggg-tools-search-cta a:hover {
	background: var(--ggg-primary-hover);
	color: #ffffff;
	text-decoration: none;
}

.ggg-tools-search-cta a:active {
	transform: translateY(1px);
}

.ggg-tools-search-cta a.disabled {
	opacity: .55;
	cursor: not-allowed;
}

.ggg-tools-budget-paths {
	display: grid;
	gap: 8px;
	margin: 0 14px 14px;
	padding-top: 2px;
}

.ggg-tools-budget-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 10px;
	padding: 2px 0 4px;
}

.ggg-tools-budget-head span {
	color: var(--ggg-muted);
	font-size: 11px;
	font-weight: 820;
	text-transform: uppercase;
}

.ggg-tools-budget-head b {
	color: #52625a;
	font-size: 12px;
	font-weight: 760;
	text-align: right;
}

.ggg-tools-budget-paths a {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	min-height: 58px;
	padding: 10px;
	border: 1px solid var(--ggg-hairline);
	border-radius: 8px;
	background: #ffffff;
	color: var(--ggg-ink);
	text-decoration: none;
	transition: transform .16s ease, border-color .16s ease, background-color .16s ease;
}

.ggg-tools-budget-paths a:hover {
	border-color: rgba(15, 143, 106, .28);
	background: #f8fbf9;
	color: var(--ggg-ink);
	text-decoration: none;
	transform: translateY(-1px);
}

.ggg-tools-budget-paths a:active {
	transform: translateY(1px);
}

.ggg-tools-budget-paths a.disabled {
	opacity: .56;
	cursor: not-allowed;
}

.ggg-tools-budget-paths i {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--ggg-primary-soft);
	color: var(--ggg-primary-hover);
	font-size: 14px;
}

.ggg-tools-budget-paths span {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.ggg-tools-budget-paths span b {
	overflow: hidden;
	color: var(--ggg-ink);
	font-size: 13px;
	font-weight: 860;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ggg-tools-budget-paths span em {
	overflow: hidden;
	color: var(--ggg-muted);
	font-size: 11px;
	font-style: normal;
	font-weight: 690;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ggg-tools-budget-paths strong {
	color: var(--ggg-primary-hover);
	font-size: 12px;
	font-weight: 900;
	white-space: nowrap;
}

.ggg-tools-progressive {
	margin-top: 16px;
	padding: 14px;
	border: 1px solid var(--ggg-hairline);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 44px -34px rgba(31, 37, 35, .36);
}

.ggg-tools-progressive h3 {
	margin: 0 0 10px;
	color: var(--ggg-ink);
	font-size: 15px;
	font-weight: 850;
}

.ggg-tools-progressive-scroll {
	overflow-x: auto;
	border: 1px solid var(--ggg-hairline);
	border-radius: 8px;
	background: #ffffff;
}

.ggg-tools-progressive table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
}

.ggg-tools-progressive th,
.ggg-tools-progressive td {
	padding: 9px 10px;
	border-bottom: 1px solid var(--ggg-hairline);
	color: var(--ggg-body);
	font-size: 12px;
	font-weight: 720;
	text-align: right;
	vertical-align: top;
}

.ggg-tools-progressive th {
	background: #f8faf9;
	color: var(--ggg-muted);
	font-size: 11px;
	font-weight: 820;
	text-transform: uppercase;
}

.ggg-tools-progressive th:first-child,
.ggg-tools-progressive td:first-child {
	text-align: left;
}

.ggg-tools-progressive tbody tr:last-child td {
	border-bottom: 0;
}

.ggg-tools-progressive td b,
.ggg-tools-progressive td strong {
	display: block;
	color: var(--ggg-ink);
	font-size: 12px;
	font-weight: 850;
	line-height: 1.25;
}

.ggg-tools-progressive td small {
	display: block;
	margin-top: 3px;
	color: var(--ggg-muted);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
}

.ggg-tools-checklist {
	margin-top: 16px;
	padding: 14px;
	border: 1px solid var(--ggg-hairline);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 44px -34px rgba(31, 37, 35, .36);
}

.ggg-tools-checklist-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 14px;
	align-items: start;
	margin-bottom: 12px;
}

.ggg-tools-checklist-head h3 {
	margin: 0 0 6px;
	color: var(--ggg-ink);
	font-size: 16px;
	font-weight: 860;
}

.ggg-tools-checklist-head p {
	margin: 0;
	color: var(--ggg-muted);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.5;
}

.ggg-tools-checklist-head strong {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--ggg-primary-soft);
	color: var(--ggg-primary-hover);
	font-size: 14px;
	font-weight: 900;
	white-space: nowrap;
}

.ggg-tools-checklist-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.ggg-tools-check-item {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 10px;
	min-width: 0;
	padding: 12px;
	border: 1px solid var(--ggg-hairline);
	border-radius: 8px;
	background: #fbfcfb;
}

.ggg-tools-check-item > i {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #edf3f0;
	color: #60736b;
	font-size: 15px;
}

.ggg-tools-check-item.is-done {
	border-color: rgba(15, 143, 106, .24);
	background: #f5fbf8;
}

.ggg-tools-check-item.is-done > i {
	background: var(--ggg-primary);
	color: #ffffff;
}

.ggg-tools-check-item h4 {
	margin: 0 0 4px;
	color: var(--ggg-ink);
	font-size: 14px;
	font-weight: 850;
	line-height: 1.25;
}

.ggg-tools-check-item p {
	margin: 0 0 7px;
	color: #52625a;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.45;
}

.ggg-tools-check-item small {
	display: inline-flex;
	min-height: 24px;
	align-items: center;
	width: fit-content;
	padding: 0 8px;
	border-radius: 999px;
	background: #edf3f0;
	color: #52625a;
	font-size: 11px;
	font-weight: 820;
}

.ggg-tools-check-item.is-done small {
	background: var(--ggg-primary-soft);
	color: var(--ggg-primary-hover);
}

.ggg-tools-checklist-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.ggg-tools-checklist-actions a {
	display: inline-flex;
	min-height: 34px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 0 11px;
	border: 1px solid rgba(15, 143, 106, .18);
	border-radius: 999px;
	background: #ffffff;
	color: var(--ggg-primary-hover);
	font-size: 12px;
	font-weight: 820;
	text-decoration: none;
	transition: transform .16s ease, border-color .16s ease, background-color .16s ease;
}

.ggg-tools-checklist-actions a:hover {
	border-color: rgba(15, 143, 106, .34);
	background: var(--ggg-primary-soft);
	color: var(--ggg-primary-hover);
	text-decoration: none;
	transform: translateY(-1px);
}

.ggg-tools-checklist-actions a:active {
	transform: translateY(1px);
}

.ggg-tools-notes {
	display: grid;
	gap: 10px;
	margin-top: 16px;
	padding: 14px;
	border: 1px solid var(--ggg-hairline);
	border-radius: 8px;
	background: #f8faf9;
}

.ggg-tools-notes div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ggg-tools-notes strong {
	color: var(--ggg-ink);
	font-size: 13px;
	font-weight: 850;
}

.ggg-tools-notes a {
	display: inline-flex;
	min-height: 30px;
	align-items: center;
	padding: 0 10px;
	border: 1px solid rgba(15, 143, 106, .18);
	border-radius: 999px;
	background: #ffffff;
	color: var(--ggg-primary-hover);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.ggg-tools-notes a:hover {
	border-color: rgba(15, 143, 106, .34);
	background: var(--ggg-primary-soft);
	text-decoration: none;
}

.ggg-tools-notes p {
	margin: 0;
	color: var(--ggg-muted);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.55;
}

[v-cloak] {
	display: none;
}

@media (max-width: 900px) {
	.ggg-tools-hero {
		grid-template-columns: 1fr;
		align-items: start;
	}
	.ggg-tools-tabs {
		width: 100%;
		min-width: 0;
	}
	.ggg-tools-grid {
		grid-template-columns: 1fr;
	}
	.ggg-tools-results {
		position: static;
	}
}

@media (max-width: 620px) {
	.ggg-tools-page {
		padding: 12px 10px 0;
	}
	.ggg-tools-hero {
		padding-top: 10px;
	}
	.ggg-tools-hero h1 {
		font-size: 24px;
	}
		.ggg-tools-tabs {
			grid-template-columns: 1fr;
		}
		.ggg-tools-checklist-head,
		.ggg-tools-checklist-grid {
			grid-template-columns: 1fr;
		}
		.ggg-tools-form {
		grid-template-columns: 1fr;
		padding: 12px;
	}
	.ggg-tools-result-main strong {
		font-size: 28px;
	}
	.ggg-tools-metrics {
		grid-template-columns: 1fr;
	}
	.ggg-tools-metrics div,
	.ggg-tools-metrics div:nth-child(2n),
	.ggg-tools-metrics div:nth-last-child(-n+2) {
		border-right: 0;
		border-bottom: 1px solid var(--ggg-hairline);
	}
	.ggg-tools-metrics div:last-child {
		border-bottom: 0;
	}
	.ggg-tools-budget-head,
	.ggg-tools-budget-paths a {
		align-items: start;
	}
	.ggg-tools-budget-paths a {
		grid-template-columns: 34px minmax(0, 1fr);
	}
	.ggg-tools-budget-paths strong {
		grid-column: 2;
	}
}
