/* FL Property Tax Helper. Values measured from floridamortgagesolvers.com (mortgage theme), 2026-11-14. */
.fpth {
	--fpth-ink: #1a1a1a;
	--fpth-text: #2d2d2d;
	--fpth-muted: #6b6b6b;
	--fpth-faint: #9a9a9a;
	--fpth-line: #e5e5e5;
	--fpth-surface: #fafafa;
	--fpth-panel: #f7fafc;
	--fpth-blue: #006aff;
	--fpth-blue-soft: #e8f0fe;
	--fpth-green: #2f855a;
	--fpth-green-soft: #ecfdf5;
	--fpth-amber-soft: #fef3c7;
	--fpth-amber: #b45309;
	--fpth-white: #fff;
	--fpth-radius: 6px;
	--fpth-radius-lg: 8px;
	--fpth-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);

	color: var(--fpth-text);
	margin: 24px 0 32px;
}

.fpth *,
.fpth *::before,
.fpth *::after {
	box-sizing: border-box;
}

.fpth-search {
	background: var(--fpth-white);
	border: 1px solid var(--fpth-line);
	border-radius: var(--fpth-radius-lg);
	box-shadow: var(--fpth-shadow);
	padding: 24px;
}

.fpth-label {
	color: var(--fpth-ink);
	display: block;
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.fpth-search-row {
	display: flex;
}

.fpth-field {
	display: flex;
	flex: 1;
	min-width: 0;
	position: relative;
}

.fpth-suggest {
	background: var(--fpth-white);
	border: 1px solid var(--fpth-line);
	border-radius: var(--fpth-radius-lg);
	box-shadow: var(--fpth-shadow);
	left: 0;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: calc(100% + 4px);
	z-index: 20;
}

.fpth-suggest[hidden] {
	display: none;
}

.fpth-suggest-item {
	background: var(--fpth-white);
	border: 0;
	border-bottom: 1px solid var(--fpth-line);
	color: var(--fpth-ink);
	cursor: pointer;
	display: block;
	font: inherit;
	font-size: 0.95rem;
	padding: 12px 16px;
	text-align: left;
	width: 100%;
}

.fpth-suggest-item:last-child {
	border-bottom: 0;
}

.fpth-suggest-item:hover,
.fpth-suggest-item[aria-selected="true"] {
	background: var(--fpth-blue-soft);
}

.fpth-input {
	background: var(--fpth-white);
	border: 1px solid var(--fpth-line);
	border-radius: var(--fpth-radius-lg) 0 0 var(--fpth-radius-lg);
	border-right: 0;
	color: var(--fpth-ink);
	flex: 1;
	font: inherit;
	font-size: 1rem;
	min-width: 0;
	padding: 14px 16px;
}

.fpth-input:focus {
	border-color: var(--fpth-blue);
	box-shadow: inset 0 0 0 1px var(--fpth-blue);
	outline: none;
}

.fpth-btn,
.fpth-cta {
	border: 0;
	color: var(--fpth-white);
	cursor: pointer;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.fpth-btn {
	background: var(--fpth-blue);
	border-radius: 0 var(--fpth-radius-lg) var(--fpth-radius-lg) 0;
	padding: 16px 28px;
	white-space: nowrap;
}

.fpth-btn:hover,
.fpth-btn:focus-visible {
	background: #0057d1;
}

.fpth-hint {
	color: var(--fpth-muted);
	font-size: 0.82rem;
	line-height: 1.6;
	margin: 10px 0 0;
}

.fpth-out:empty {
	display: none;
}

.fpth-card {
	background: var(--fpth-white);
	border: 1px solid var(--fpth-line);
	border-radius: var(--fpth-radius-lg);
	margin-top: 20px;
	padding: 24px;
}

.fpth-loading {
	color: var(--fpth-muted);
	padding: 32px 24px;
	text-align: center;
}

.fpth-spin {
	animation: fpth-spin 1s linear infinite;
	border: 3px solid var(--fpth-line);
	border-radius: 50%;
	border-top-color: var(--fpth-blue);
	height: 32px;
	margin: 0 auto 12px;
	width: 32px;
}

@keyframes fpth-spin {
	to {
		transform: rotate(360deg);
	}
}

.fpth-found {
	color: var(--fpth-muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

.fpth-found strong {
	color: var(--fpth-ink);
	display: block;
	font-size: 1.125rem;
}

.fpth-q {
	color: var(--fpth-ink);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 18px 0 12px;
}

.fpth-opts {
	display: grid;
	gap: 10px;
}

.fpth-opt {
	background: var(--fpth-surface);
	border: 1px solid var(--fpth-line);
	border-radius: var(--fpth-radius-lg);
	color: var(--fpth-ink);
	cursor: pointer;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	padding: 14px 18px;
	text-align: left;
	width: 100%;
}

.fpth-opt small {
	color: var(--fpth-muted);
	display: block;
	font-size: 0.82rem;
	font-weight: 400;
}

.fpth-opt:hover,
.fpth-opt:focus-visible {
	background: var(--fpth-blue-soft);
	border-color: var(--fpth-blue);
	outline: none;
}

.fpth-hero {
	background: var(--fpth-green-soft);
	border-left: 4px solid var(--fpth-green);
	border-radius: var(--fpth-radius);
	margin-top: 18px;
	padding: 20px 24px;
}

.fpth-hero.is-apply {
	background: var(--fpth-amber-soft);
	border-left-color: var(--fpth-amber);
}

.fpth-big {
	color: var(--fpth-green);
	font-size: 2.2rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.fpth-hero.is-apply .fpth-big {
	color: var(--fpth-amber);
}

.fpth-hero p {
	font-size: 1rem;
	line-height: 1.6;
	margin: 6px 0 0;
}

.fpth-facts {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	margin-top: 16px;
}

.fpth-fact {
	background: var(--fpth-surface);
	border: 1px solid var(--fpth-line);
	border-radius: var(--fpth-radius);
	padding: 10px 14px;
}

.fpth-fact span {
	color: var(--fpth-muted);
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.fpth-fact strong {
	color: var(--fpth-ink);
	font-size: 1.05rem;
}

.fpth-h {
	color: var(--fpth-ink);
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 26px 0 10px;
}

.fpth-row {
	margin: 12px 0;
}

.fpth-row-lab {
	display: flex;
	font-size: 0.95rem;
	font-weight: 600;
	justify-content: space-between;
	margin-bottom: 4px;
}

.fpth-bar {
	background: var(--fpth-surface);
	border-radius: var(--fpth-radius);
	display: flex;
	height: 26px;
	overflow: hidden;
}

.fpth-bar span {
	height: 100%;
}

.fpth-c-school {
	background: #9aa5b8;
}

.fpth-c-local {
	background: var(--fpth-blue);
}

.fpth-c-fees {
	background: #d6a630;
}

.fpth-legend {
	color: var(--fpth-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.82rem;
	gap: 14px;
	margin-top: 6px;
}

.fpth-legend i {
	border-radius: 3px;
	display: inline-block;
	height: 11px;
	margin-right: 6px;
	vertical-align: -1px;
	width: 11px;
}

.fpth-todo {
	font-size: 1rem;
	line-height: 1.7;
	margin: 0;
	padding-left: 22px;
}

.fpth-todo li {
	margin: 6px 0;
}

.fpth-note {
	background: var(--fpth-panel);
	border-left: 4px solid var(--fpth-green);
	border-radius: var(--fpth-radius);
	font-size: 0.95rem;
	line-height: 1.65;
	margin-top: 16px;
	padding: 14px 18px;
}

.fpth-note.is-check {
	background: var(--fpth-amber-soft);
	border-left-color: var(--fpth-amber);
}

.fpth details {
	border: 1px solid var(--fpth-line);
	border-radius: var(--fpth-radius);
	font-size: 0.95rem;
	margin-top: 12px;
	padding: 12px 16px;
}

.fpth summary {
	color: var(--fpth-ink);
	cursor: pointer;
	font-weight: 700;
}

.fpth details p {
	margin: 10px 0 0;
}

.fpth table {
	border-collapse: collapse;
	font-size: 0.95rem;
	line-height: 1.7;
	margin-top: 10px;
	width: 100%;
}

.fpth th,
.fpth td {
	border-bottom: 1px solid var(--fpth-line);
	padding: 6px 4px;
	text-align: left;
}

.fpth th {
	color: var(--fpth-ink);
	font-weight: 700;
}

.fpth .fpth-n {
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.fpth-cta-box {
	align-items: center;
	background: var(--fpth-panel);
	border-radius: var(--fpth-radius-lg);
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: space-between;
	margin-top: 22px;
	padding: 18px 20px;
}

.fpth-cta-box p {
	color: var(--fpth-ink);
	font-weight: 600;
	margin: 0;
}

.fpth-cta {
	background: var(--fpth-green);
	border-radius: var(--fpth-radius);
	display: inline-block;
	padding: 12px 28px;
}

.fpth .fpth-cta-box a.fpth-cta,
.fpth .fpth-cta-box a.fpth-cta:visited {
	color: var(--fpth-white);
	text-decoration: none;
}

.fpth .fpth-cta-box a.fpth-cta:hover,
.fpth .fpth-cta-box a.fpth-cta:focus-visible {
	background: #276749;
	color: var(--fpth-white);
}

.fpth-error {
	background: var(--fpth-amber-soft);
	border-radius: var(--fpth-radius);
	margin-top: 20px;
	padding: 16px 20px;
}

.fpth-link {
	background: none;
	border: 0;
	color: var(--fpth-blue);
	cursor: pointer;
	font: inherit;
	font-size: 0.95rem;
	margin-top: 18px;
	padding: 0;
	text-decoration: underline;
}

.fpth-fine {
	color: var(--fpth-faint);
	font-size: 0.8rem;
	line-height: 1.6;
	margin-top: 18px;
}

@media (max-width: 600px) {
	.fpth-search,
	.fpth-card {
		padding: 18px;
	}

	.fpth-search-row {
		flex-direction: column;
		gap: 10px;
	}

	.fpth-input {
		border-radius: var(--fpth-radius-lg);
		border-right: 1px solid var(--fpth-line);
	}

	.fpth-btn {
		border-radius: var(--fpth-radius-lg);
		padding: 14px;
	}

	.fpth-big {
		font-size: 1.8rem;
	}
}

.fpth-ts {
	margin-top: 10px;
}

.fpth-ts:empty {
	display: none;
}

.fpth-trend {
	font-size: 0.95rem;
	margin: 0 0 6px;
}

.fpth-row.is-past .fpth-bar {
	opacity: 0.55;
}

.fpth-row-lab small {
	color: var(--fpth-muted);
	font-size: 0.78rem;
	font-weight: 400;
}

.fpth-row.is-now .fpth-row-lab {
	color: var(--fpth-ink);
	font-weight: 700;
}

/* Older past bills folded into one toggle row inside the chart. */
.fpth details.fpth-older {
	border: 0;
	margin: 12px 0;
	padding: 0;
}

.fpth-older summary {
	align-items: center;
	background: var(--fpth-surface);
	border: 1px solid var(--fpth-line);
	border-radius: var(--fpth-radius);
	display: flex;
	font-size: 0.95rem;
	font-weight: 600;
	justify-content: space-between;
	list-style: none;
	padding: 10px 14px;
}

.fpth-older summary::-webkit-details-marker {
	display: none;
}

.fpth-older-lab::before {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	display: inline-block;
	height: 7px;
	margin: 0 12px 2px 2px;
	transform: rotate(-45deg);
	transition: transform 0.15s;
	width: 7px;
}

.fpth-older[open] .fpth-older-lab::before {
	transform: rotate(45deg);
}

.fpth-older-lab small {
	color: var(--fpth-muted);
	font-size: 0.78rem;
	font-weight: 400;
	margin-left: 6px;
}

.fpth-older .fpth-row {
	margin: 8px 0;
}

.fpth-older .fpth-bar {
	height: 16px;
}
