@import "../index.css";

:root {
	--porc-yellow: #ee4;
	--dark-yellow: rgb(145, 120, 73);
	--bear-brown: rgb(90, 80, 30);

	--my-red: #d44;
	--my-blue: #44d;
}

.article-encloser {
	width: 90%;
	margin: auto;
}

.back-to-top-link {
	text-align: center;
	text-decoration: none;
	color: white;
}

.back-to-top-button {
	color: white;
	border: 0.1vw solid var(--bear-brown);
	background: var(--bear-brown);
	display: block;
	margin: auto;
	width: 10%;
	text-align: center;
	margin-bottom: 0.5vw;
	padding: 0.1vw 0;
	font-size: 1.1vw;
}

.blue {
	color: var(--my-blue);
}

.red {
	color: var(--my-red);
}

#nhgc-banner {
	width: 100%;
	margin: 0;
	display: block;
}

.nhgc-banner-link {
	width: 67%;
	margin: 1vw auto;
	display: block;
}

.heading-svg {
	background: var(--porc-yellow);
	padding: 0.3vw 0;
	margin: 0.5vw auto;
}

#interactive-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	width: 90%;
	margin: auto;
	text-align: center;
	margin-bottom: 2vw;
/*	background: var(--bear-brown);
	color: white;*/
}

#interactive-grid > * {
	width: 90%;
	margin: auto;
	margin: 0.3vw auto;
	background: var(--dark-yellow);
	padding: 0.5vw 0;
	color: white;
	font-size: 1.2vw;
}

.true-link {
	display: block;
	text-decoration: none;
	font-weight: bold;
	border: 0.2vw solid var(--bear-brown);
}

.generic-mustdo {
	background: var(--bear-brown);
	color: white;
}

.heading-bold {
	font-weight: bold;
}

#quick-facts-info {
	display: grid;
	grid-template-columns: 14% 5% 5% 6% 10% 10% 13% 13% 6% 9% 9%;
	width: 90%;
	margin: 2vw auto;
	padding: 0.5vw 0;
	background: #ffd;
	border: 0.2vw solid var(--bear-brown);
}
.infotile {
	font-size: 1.3vw;
	text-align: center;
}

#welcome, #urgent, #interactives , #stratified {
	width: 100%;
	margin: auto;
	display: block;
	background: var(--porc-yellow);
	padding: 0.8vw 0;
	margin-bottom: 2vw;
}

.large-title {
	font-size: 1.8vw;
	text-align: center;
	font-weight: bold;
	margin-bottom: 1vw;
	margin-top: 0.5vw;
}

.mid-title {
	font-size: 1.55vw;
	text-align: center;
	font-weight: bold;
	margin-bottom: 1vw;
	text-align: center;
}

.normal-paragraph {
	width: 90%;
	margin: auto;
	display: block;
	font-size: 1.3vw;
	line-height: 1.35;
	text-align: justify;
}

#urgent-grid {
	grid-template-columns: 1fr 1fr 1fr;
	margin: auto;
	width: 90%;
	display: grid;
/*	padding-bottom: 0.5vw;*/
}

#chamber-grid, #historical-grid {
	grid-template-columns: 1fr 1fr;
	margin: auto;
	width: 90%;
	display: grid;
}

.option {
	background: var(--dark-yellow);
	box-sizing: border-box;
	width: 100%;
	padding: 0.5vw 0;
	margin: auto;
	color: white;
	text-align: center;
	font-size: 1.5vw;
	border: 0.2vw solid var(--bear-brown);
	margin-bottom: 0;
}

.option:hover, .true-link:hover {
	transform: scale(1.15);
	transition: 0.2s;
}

#entire-nh {
	padding: 1.9vw 0;
	line-height: 1.8;
}

.choice-link {
	display: block;
	font-style: normal;
	text-decoration: none;
	width: 90%;
	margin: auto;
	padding: 0;
	margin-bottom: 1vw;
	align-self: start;
	font-weight: bold;
}

#region-grid {
	grid-template-columns: 25% 75%;
	display: grid;
	width: 90%;
	margin: auto;
}

#county-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

/* ---- 00_base.css ---- */
/* ===================== shared additions ===================== */
.article-encloser, .article-encloser input, .article-encloser button, .article-encloser select,
.article-encloser svg, .fixed-top-button {
	font-family: Verdana, Geneva, sans-serif;
}

/* fixed "↑ Back to Top" button, bottom right of every page */
.fixed-top-button {
	position: fixed;
	right: 1.2vw;
	bottom: 1.2vw;
	z-index: 50;
	display: block;
	background: var(--dark-yellow);
	color: white;
	border: 0.15vw solid var(--bear-brown);
	padding: 0.3vw 0.8vw;
	font-size: 0.9vw;
	font-weight: bold;
	text-decoration: none;
}
.fixed-top-button:hover {
	transform: scale(1.1);
	transition: 0.2s;
}

/* the per-section "Back to Top" buttons: the link fills the button, so the whole button is clickable and nothing else is */
.back-to-top-button { padding: 0; }
.back-to-top-link { display: block; padding: 0.1vw 0; }
.back-to-top-button:hover { transform: scale(1.1); transition: 0.2s; }

/* generic building blocks for new sections (same look as Adam's #urgent / #welcome blocks) */
.nh-section {
	width: 100%;
	display: block;
	background: var(--porc-yellow);
	padding: 0.8vw 0;
	margin: 0 auto 2vw auto;
}
.nh-panel {
	background: #ffd;
	border: 0.2vw solid var(--bear-brown);
}
.nh-footnote {
	width: 90%;
	margin: 0.6vw auto;
	font-size: 1.15vw;
	line-height: 1.4;
	color: #333;
}

/* page scrollbar: porc-yellow track, bear-brown thumb (thumb length = visible share of the page, as native scrollbars do).
   The !important overrides undo any site-wide rule that hides scrollbars. */
html, body {
	scrollbar-width: auto !important;
	scrollbar-color: var(--bear-brown) var(--porc-yellow) !important;
	-ms-overflow-style: scrollbar !important;
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
	display: block !important;
	width: 1vw !important;
	background: var(--porc-yellow);
}
html::-webkit-scrollbar-track, body::-webkit-scrollbar-track { background: var(--porc-yellow); }
html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb {
	background: var(--bear-brown);
	border-radius: 0;
	border: 0.15vw solid var(--porc-yellow);
}
html::-webkit-scrollbar-thumb:hover, body::-webkit-scrollbar-thumb:hover { background: black; }

/* small shared utility classes that replace inline styles */
.text-center { text-align: center; }
.igl-brown { background: var(--bear-brown) !important; }
.igl-empty { background: var(--porc-yellow) !important; }


/* ---- 05_lead.css ---- */
/* ===================== index: interactives table ===================== */
.index-grid-label {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
#interactive-grid > .true-link {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

/* ===================== index: stratified data table ===================== */
#stratified-grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(8, 1fr);
	width: 90%;
	margin: auto;
	margin-bottom: 2vw;
	text-align: center;
}
#stratified-grid > * {
	width: 90%;
	margin: 0.3vw auto;
	box-sizing: border-box;
}
.strat-label {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bear-brown);
	color: white;
	font-size: 1.1vw;
	padding: 0.4vw 0;
	transition: 0.2s;
}
.strat-corner { background: var(--porc-yellow); }
.strat-label.strat-on { background: black; }
.strat-cell {
	display: block;
	height: 2.2vw;
	background: var(--dark-yellow);
	border: 0.2vw solid var(--bear-brown);
	transition: 0.2s;
}
.strat-cell:hover, .strat-cell:focus {
	background: black;
	border-color: black;
	transform: scale(1.15);
}

/* ===================== quick stats table ===================== */
#quick-facts-info .infotile {
	margin: 0;
	padding: 0.45vw 0.2vw;
	display: flex;
	align-items: center;
	justify-content: center;
}
#quick-facts-info .infotile:not(:nth-child(11n+1)) { border-left: 0.1vw solid var(--bear-brown); }
#quick-facts-info .infotile:nth-child(11n+2), #quick-facts-info .infotile:nth-child(11n+7) { border-left-width: 0.2vw; }
#quick-facts-info .infotile:nth-child(n+12) { border-top: 0.1vw solid var(--bear-brown); }
#quick-facts-info .infotile:nth-child(n+12):nth-child(-n+22) { border-top-width: 0.2vw; }
#quick-facts-info { padding: 0; }

/* former inline styles of the index markup */
#urgent-grid { margin-top: 1vw; margin-bottom: 0; padding: 0; }
#interactive-grid, #stratified-grid, #chamber-grid, #historical-grid, #region-grid { margin-top: 1vw; }

/* stratified grid "lasers": two 0.5vw black beams from the row and column labels into the hovered cell */
#stratified-grid { position: relative; }
#stratified-grid > .strat-label { position: relative; z-index: 3; }
#stratified-grid > .strat-cell { position: relative; }
#stratified-grid > .strat-cell:hover, #stratified-grid > .strat-cell:focus { z-index: 4; }
#stratified-grid > .strat-laser {
	position: absolute;
	z-index: 2;
	margin: 0;
	width: 0;
	height: 0;
	background: black;
	pointer-events: none;
	opacity: 0;
	transition: transform 0.2s, opacity 0.1s;
}
#stratified-grid > .strat-laser-h { height: 0.5vw; margin-top: -0.25vw; transform: scaleX(0); transform-origin: left center; }
#stratified-grid > .strat-laser-v { width: 0.5vw; margin-left: -0.25vw; transform: scaleY(0); transform-origin: center top; }
#stratified-grid > .strat-laser-on { opacity: 1; transform: none; }


/* ---- 10_static.css ---- */
/* ===================== static_data pages (builder: static, prefix sd-) ===================== */
/* cross-links under the page title */
.sd-xlinks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.6vw;
	width: 90%;
	margin: 0 auto 1vw auto;
}
.sd-xlink {
	display: block;
	background: var(--dark-yellow);
	color: white;
	border: 0.15vw solid var(--bear-brown);
	padding: 0.3vw 0.9vw;
	font-size: 1.1vw;
	font-weight: bold;
	text-decoration: none;
}
a.sd-xlink:hover {
	transform: scale(1.1);
	transition: 0.2s;
}
.sd-xlink-here {
	background: var(--bear-brown);
}
.sd-xsep {
	font-size: 1.1vw;
	font-weight: bold;
	color: var(--bear-brown);
	margin-left: 0.8vw;
}

/* legend panel inside the yellow intro block */
.sd-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: flex-start;
	gap: 1.5vw;
	width: 90%;
	box-sizing: border-box;
	margin: 1vw auto 0.4vw auto;
	padding: 0.8vw 1.2vw;
}
.sd-leg-item {
	width: 44%;
	font-size: 1.15vw;
}
.sd-leg-title {
	font-weight: bold;
	font-size: 1.15vw;
	margin: 0 0 0.4vw 0;
}
.sd-leg-text {
	font-size: 1.15vw;
	line-height: 1.4;
	margin: 0;
}
.sd-bar {
	height: 1.2vw;
	border: 0.1vw solid var(--bear-brown);
}
.sd-grad-share { background: linear-gradient(to right, #1f5fae 0%, #436db6 5%, #5c7cbe 10%, #738bc7 15%, #889bcf 20%, #9cabd7 25%, #b0bbdf 30%, #c4cce7 35%, #d8ddef 40%, #ebeef7 45%, #ffffff 50%, #feeae8 55%, #fbd5d0 60%, #f7c0ba 65%, #f2aba4 70%, #ec968e 75%, #e58179 80%, #dd6b64 85%, #d45551 90%, #ca3b3d 95%, #c0182b 100%); }
.sd-grad-swing { background: linear-gradient(to right, #08306b 0%, #19417c 5%, #26528e 10%, #33649f 15%, #3e77b2 20%, #4a8ac4 25%, #739fce 30%, #96b4d9 35%, #b7cae3 40%, #d7e0ed 45%, #f7f7f7 50%, #f9dcd6 55%, #f9c2b5 60%, #f5a796 65%, #f08c78 70%, #e8705a 75%, #d35c48 80%, #be4936 85%, #a93524 90%, #941f13 95%, #7f0000 100%); }
.sd-grad-margin { background: linear-gradient(to right, #08306b 0% 10%, #2166ac 10% 20%, #5a9bd5 20% 30%, #a6c8ea 30% 40%, #deebf7 40% 50%, #fde0dd 50% 60%, #fbb4ae 60% 70%, #f4796f 70% 80%, #d7301f 80% 90%, #990000 90% 100%); }
.sd-ticks {
	position: relative;
	height: 1.5vw;
}
.sd-tick {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	font-size: 1vw;
	padding-top: 0.4vw;
	white-space: nowrap;
	line-height: 1;
}
.sd-tick::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	height: 0.3vw;
	border-left: 0.1vw solid var(--bear-brown);
}
.sd-ends {
	position: relative;
	height: 1.4vw;
	font-size: 1vw;
	color: #444;
	margin-top: 0.1vw;
}
.sd-end { position: absolute; top: 0; white-space: nowrap; }
.sd-end-l { left: 0; }
.sd-end-m { left: 50%; transform: translateX(-50%); }
.sd-end-r { left: 100%; transform: translateX(-100%); }
.sd-sw-row {
	display: flex;
	align-items: center;
	gap: 0.6vw;
	margin: 0.3vw 0;
	font-size: 1.15vw;
	line-height: 1.3;
}
.sd-sw {
	display: inline-block;
	flex: none;
	width: 1.8vw;
	height: 1.2vw;
	border: 0.1vw solid transparent;
}
.sd-sw-white { border-color: #8a8a8a; }
.sd-sw-dark { background: #990000; }
.sd-sw-flip { background: #f7f7f7; border: 0.2vw solid #000; }
.sd-sw-flot { background: #f3efc0; border: 0.15vw solid #1a1a1a; }
.sd-sw-blank { background: #f3efc0; border: 0.1vw solid #9c8f55; }
.sd-sw-nofl { background: #e6e2cc; }
.sd-sw-dash { height: 0; border: 0; border-top: 0.15vw dashed #1a1a1a; }
.sd-sw-town { background: #c7c7c7; background-image: repeating-linear-gradient(to right, white 0, white 0.3vw, transparent 0.3vw, transparent 0.5vw);
	background-size: 100% 0.12vw; background-repeat: no-repeat; background-position: 0 50%; }
.sd-sw-town26 { background: #f3efc0; background-image: repeating-linear-gradient(to right, #b3a76c 0, #b3a76c 0.3vw, transparent 0.3vw, transparent 0.5vw);
	background-size: 100% 0.12vw; background-repeat: no-repeat; background-position: 0 50%; border-color: #9c8f55; }
.sd-sw-hatch { background: repeating-linear-gradient(45deg, #e6e6e6 0, #e6e6e6 0.2vw, #b5b5b5 0.2vw, #b5b5b5 0.32vw); }
.sd-sw-text { width: auto; height: auto; font-weight: bold; font-size: 1.15vw; }
.sd-sw-text .red { margin-right: 0.3vw; }
.sd-swatch-svg { width: 1.8vw; height: 1.8vw; flex: none; }

/* region grid (11 buttons, 3 columns) */
.sd-region-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	width: 90%;
	margin: 1vw auto 0 auto;
}
.sd-rtitle { margin-bottom: 0.2vw; }

/* one figure: caption row + svg, inside a brown frame (width % = common per-page scale) */
.sd-figure {
	margin: 0.6vw auto 0 auto;
	border: 0.2vw solid var(--bear-brown);
	background: white;
	box-sizing: border-box;
}
.sd-caps {
	display: flex;
	background: #ffd;
	border-bottom: 0.15vw solid var(--bear-brown);
}
.sd-cap {
	box-sizing: border-box;
	text-align: center;
	font-size: 1.1vw;
	font-weight: bold;
	color: var(--bear-brown);
	padding: 0.3vw 0;
}
.sd-cap-div {
	border-left: 0.2vw solid var(--bear-brown);
}
.sd-cap-dash {
	border-left: 0.1vw dashed var(--bear-brown);
}
.sd-svg {
	display: block;
	width: 100%;
	height: auto;
}
.sd-hl {
	fill: none !important;
	stroke: #000 !important;
	stroke-width: 0.22vw !important;
	stroke-dasharray: none !important;
	filter: none !important;
	opacity: 1 !important;
	vector-effect: non-scaling-stroke;
	pointer-events: none;
}
/* card panel under each figure: same width and centring as the figure (cm- card classes come from the candidate maps) */
.sd-detail {
	margin: 0 auto;
	box-sizing: border-box;
	border-top: 0;
	padding: 0.6vw 1vw;
}
.sd-detail .cm-empty {
	min-height: 2.4vw;
	line-height: 2.4vw;
	font-size: 1.15vw;
}
.sd-detail.sd-narrow { grid-template-columns: 1fr; gap: 0.6vw; }
.sd-detail.sd-xnarrow .cm-stack { grid-template-columns: 1fr; }
.sd-region-note {
	text-align: center;
	margin-bottom: 2.2vw;
}
.sd-sources {
	margin-top: 2vw;
}

/* figure internals (same rules are embedded in every standalone .svg) */
.sd-svg{font-family:Verdana,Geneva,sans-serif}
.sd-svg .sd-bgr{fill:#fff}
.sd-svg .sd-div{stroke:rgb(90,80,30);stroke-width:3}
.sd-svg .sd-div2{stroke:rgb(90,80,30);stroke-width:1.5;stroke-dasharray:7,5}
.sd-svg .sd-ms{stroke:#fff;stroke-width:1.2;stroke-linejoin:round}
.sd-svg .sd-mh{stroke:#fff;stroke-width:.6;stroke-linejoin:round}
.sd-svg .sd-mh.sd-lite{stroke:#8a8a8a}
.sd-svg .sd-m26{fill:#f3efc0;stroke:#9c8f55;stroke-width:1.4}
.sd-svg .sd-m26h{stroke-width:.9}
.sd-svg .sd-mf{stroke-width:.5;stroke-linejoin:round}
.sd-svg .sd-bg{fill:#e6e2cc;stroke:#fff;stroke-width:.6}
.sd-svg .sd-fo,.sd-svg .sd-fo-g,.sd-svg .sd-flip,.sd-svg .sd-cty,.sd-svg .sd-town{fill:none;pointer-events:none;stroke-linecap:round;stroke-linejoin:round}
.sd-svg .sd-fo{stroke:#1a1a1a;stroke-width:1.1}
.sd-svg .sd-fo26{stroke-width:1.3}
.sd-svg .sd-fo-g{stroke:#8a8a8a;stroke-width:.7}
.sd-svg .sd-flip{stroke:#000;stroke-width:2.6}
.sd-svg .sd-flip-h{stroke-width:2}
.sd-svg .sd-cty{stroke:#1a1a1a;stroke-width:1.6;stroke-dasharray:5,3}
.sd-svg .sd-town{stroke:#fff;stroke-width:.9;stroke-dasharray:3,2.5}
.sd-svg .sd-town26{stroke:#b3a76c}
.sd-svg .sd-ring{fill:none;pointer-events:none;filter:url(#sd-blur);opacity:.9}
.sd-svg .sd-ml{text-anchor:middle;font-weight:700;fill:#1a1a1a;pointer-events:none}
.sd-svg .sd-ml26{paint-order:stroke;stroke:#f3efc0;stroke-width:2.5}
.sd-svg .sd-cw{stroke:#fff;stroke-width:1.5}
.sd-svg .sd-cw1{stroke:#fff;stroke-width:1}
.sd-svg .sd-cg{stroke:#9a9a9a;stroke-width:1}
.sd-svg .sd-cf{stroke:#000;stroke-width:2}
.sd-svg .sd-c26{fill:#f3efc0;stroke:#9c8f55;stroke-width:1.4}
.sd-svg .sd-c26h{stroke-width:1.2}
.sd-svg .sd-tint{pointer-events:none}
.sd-svg .sd-ct{text-anchor:middle;font-weight:700;fill:#1a1a1a}
.sd-svg text.sd-ct[fill="#fff"],.sd-svg text.sd-ct[fill="#ffffff"],.sd-svg text.sd-ml[fill="#fff"],.sd-svg text.sd-ml[fill="#ffffff"]{fill:#fff}
.sd-svg .sd-cn{text-anchor:middle;font-size:5.4px}
.sd-svg .sd-cnr{fill:#b0192b}
.sd-svg .sd-cnd{fill:#1f5fae}
.sd-svg [data-d]{cursor:pointer}


/* ---- 20_candmap.css ---- */
/* ===================== candidate maps (interactives/*_candidate-map.html), prefix cm- ===================== */
.cm-center { text-align: center; }
.cm-how { margin-top: 0.6vw; }
.cm-tally { text-align: center; font-size: 1.3vw; margin: 0.8vw auto 0.4vw auto; }

/* link row to the other candidate maps */
.cm-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.4vw; width: 90%; margin: 0.6vw auto 0 auto; }
.cm-linklab { font-size: 1vw; font-weight: bold; margin-right: 0.3vw; }
.cm-link { display: block; font-size: 0.95vw; font-weight: bold; text-decoration: none; color: white;
	background: var(--dark-yellow); border: 0.15vw solid var(--bear-brown); padding: 0.25vw 0.6vw; }
a.cm-link:hover { transform: scale(1.1); transition: 0.2s; }
.cm-link.cm-here { background: var(--bear-brown); }
.cm-link.cm-home { margin-left: 0.8vw; }

/* figure */
.cm-figure { padding: 0.8vw 1vw 1vw 1vw; margin: 0 auto 1.2vw auto; background: white; }
.cm-legend { width: 55%; margin: 0 auto 0.8vw auto; text-align: center; }
.cm-legtext { font-size: 1.15vw; margin: 0.2vw 0; }
.cm-bar { height: 0.8vw; border: 0.1vw solid var(--bear-brown); margin-top: 0.3vw; }
.cm-ticks { display: flex; justify-content: space-between; font-size: 1vw; margin-top: 0.15vw; }
.cm-swatch { display: inline-block; width: 1.1vw; height: 1.1vw; border: 0.1vw solid var(--bear-brown); vertical-align: -0.15vw; }
.cm-caps { display: grid; margin-bottom: 0.4vw; }
.cm-cap { text-align: center; font-size: 1.1vw; font-weight: bold; color: white; background: var(--bear-brown); padding: 0.25vw 0; }
.cm-svg { width: 100%; height: auto; display: block; }
.cm-svg .cm-dist { stroke: white; stroke-width: 0.9; cursor: pointer; }
.cm-svg .cm-dist.cm-thin { stroke-width: 0.5; }
.cm-svg .cm-dist.cm-flot { stroke: none; }
.cm-svg .cm-dist:hover { opacity: 0.85; }
.cm-svg .cm-dist:focus { outline: none; }
.cm-svg .cm-bg { stroke: white; stroke-width: 0.4; }
.cm-svg .cm-outl { fill: none; stroke: white; stroke-width: 0.8; pointer-events: none; }
.cm-svg .cm-mlab { font-size: 11px; text-anchor: middle; pointer-events: none; }
.cm-svg .cm-dot { cursor: pointer; }
.cm-svg .cm-dot:focus { outline: none; }
.cm-svg .cm-dot circle { stroke: white; stroke-width: 1; }
.cm-svg .cm-dot.cm-lite circle { stroke: #9a9682; }
.cm-svg .cm-dot:hover circle { opacity: 0.85; }
.cm-svg .cm-dot text { text-anchor: middle; font-weight: bold; pointer-events: none; }
.cm-svg .cm-divider { stroke: var(--bear-brown); stroke-width: 2.5; }
.cm-svg .cm-hl { pointer-events: none; }
.cm-svg .cm-hl path, .cm-svg .cm-hl circle { fill: none; stroke: black; stroke-width: 2.6; stroke-linejoin: round; }

/* info panel */
.cm-detail { display: grid; grid-template-columns: 30% 1fr; gap: 1.2vw; padding: 1vw 1.2vw; margin: 0 auto 2vw auto; align-items: start; }
.cm-eyebrow { font-size: 0.9vw; font-weight: bold; color: var(--dark-yellow); text-transform: uppercase; letter-spacing: 0.05vw; }
.cm-dtitle { font-size: 1.55vw; font-weight: bold; margin: 0.2vw 0 0.3vw 0; }
.cm-where { font-size: 1.1vw; line-height: 1.4; }
.cm-hint { font-size: 1vw; color: #444; margin-top: 0.5vw; line-height: 1.4; }
.cm-towns { font-size: 1vw; margin-top: 0.5vw; line-height: 1.4; }
.cm-towns summary { cursor: pointer; font-weight: bold; }
.cm-towns p { margin: 0.3vw 0 0 0; }
.cm-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1vw; align-items: start; }
.cm-badges { display: flex; flex-wrap: wrap; gap: 0.35vw; margin-top: 0.45vw; }
.cm-badge { font-size: 0.9vw; padding: 0.2vw 0.45vw; border: 0.1vw solid var(--bear-brown); background: white; }
.cm-badge.cm-dark { background: var(--bear-brown); color: white; }

/* cards */
.cm-cardshead { margin-bottom: 1vw; }
.cm-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8vw; align-items: start; margin: 0 auto 2vw auto; }
.cm-county { grid-column: 1 / -1; background: var(--porc-yellow); border-left: 0.6vw solid var(--bear-brown);
	font-size: 1.3vw; font-weight: bold; padding: 0.35vw 0.8vw; margin: 1vw 0 0 0; }
.cm-card { display: block; width: 100%; box-sizing: border-box; text-align: left; font-family: Verdana, Geneva, sans-serif; color: black;
	background: white; border: 0.3vw solid #ccc; border-radius: 0; padding: 0.55vw 0.7vw; margin: 0; cursor: pointer; outline: 0.1vw solid var(--bear-brown); }
button.cm-card:hover { transform: scale(1.03); transition: 0.2s; position: relative; z-index: 2; }
.cm-card.cm-sel { outline: 0.3vw solid black; }
.cm-card.cm-card26 { border-color: var(--dark-yellow); }
.cm-pcard { cursor: default; }
.cm-no { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.15vw 0.5vw; font-size: 0.85vw; font-weight: bold; color: #444; margin-bottom: 0.35vw; }
.cm-mg { margin-left: auto; color: black; }
.cm-tag { font-size: 0.7vw; font-weight: bold; padding: 0.05vw 0.3vw; margin-left: 0.3vw; background: var(--dark-yellow); color: white; }
.cm-tag.cm-flip { background: black; }
.cm-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.6vw; align-items: center; }
.cm-names { min-width: 0; }
.cm-c { font-size: 1.05vw; line-height: 1.35; overflow-wrap: anywhere; }
.cm-c.cm-win { font-weight: bold; }
.cm-R { color: var(--my-red); }
.cm-D { color: var(--my-blue); }
.cm-v { font-size: 0.82vw; font-weight: normal; color: #555; white-space: nowrap; }
.cm-win .cm-v { color: inherit; }
.cm-note { font-size: 0.85vw; font-style: italic; color: #555; }
.cm-sep { height: 0.1vw; background: #ccc; margin: 0.25vw 0; }
.cm-pie { display: block; }
.cm-pie-s { width: 3vw; height: 3vw; }
.cm-pie-m { width: 3.6vw; height: 3.6vw; }
.cm-pie-l { width: 4.5vw; height: 4.5vw; }
.cm-party { margin-top: 0.25vw; }
.cm-plab { display: block; font-size: 0.75vw; font-weight: bold; text-transform: uppercase; letter-spacing: 0.04vw; }
.cm-inc { text-decoration: underline; font-weight: bold; }
.cm-figin { width: 100%; margin: 0 auto; }
.cm-figin-senate { width: 66%; }
/* 2026: uncoloured districts in Adam's yellow family, darker outlines so shapes read */
.cm-svg.cm-26 .cm-dist { stroke: var(--dark-yellow); stroke-width: 0.6; }
.cm-svg.cm-26 .cm-dist.cm-flot { stroke: none; }
.cm-svg.cm-26 .cm-outl { stroke: var(--dark-yellow); stroke-width: 0.8; }
.cm-svg.cm-26 .cm-bg { stroke: white; }
.cm-svg.cm-26 .cm-dot circle { stroke: var(--dark-yellow); stroke-width: 1; }
.cm-svg .cm-dot.cm-lite circle { stroke: var(--dark-yellow); }
.cm-empty { grid-column: 1 / -1; font-size: 1.3vw; font-weight: bold; color: var(--dark-yellow); text-align: center; align-self: center; }

/* round 2: constant presentation moved out of markup */
.cm-pR { fill: var(--my-red); }
.cm-pD { fill: var(--my-blue); }
.cm-psep { fill: none; stroke: white; stroke-width: 2; }
.cm-svg .cm-tw { fill: white; }
.cm-svg .cm-tk { fill: #222; }
.cm-svg .cm-u { fill: #f3efc0; }
.cm-svg .cm-bg { fill: #e6e2cc; }
.cm-sw-land { background: #f3efc0; }
.cm-sw-bg { background: #e6e2cc; }
.cm-bar { background: linear-gradient(90deg, #08306b,#19417c,#26528e,#33649f,#3e77b2,#4a8ac4,#739ece,#95b3d7,#b6c8e1,#d5deeb,#f4f4f4,#f7dad3,#f7c0b4,#f4a695,#ef8b77,#e8705a,#d35c48,#be4936,#a93524,#941f13,#7f0000); }


/* ---- 30_sheets.css ---- */
/* ===================== sheets: scoresheets + snake charts (interactives/) ===================== */
/* link row to the sibling interactives */
.ss-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5vw;
	width: 90%;
	margin: 1vw auto 0.2vw auto;
}
.ss-link {
	display: block;
	box-sizing: border-box;
	background: var(--dark-yellow);
	color: white;
	border: 0.15vw solid var(--bear-brown);
	padding: 0.3vw 0.7vw;
	font-size: 0.85vw;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
}
a.ss-link:hover {
	transform: scale(1.1);
	transition: 0.2s;
}
.ss-here {
	background: var(--bear-brown);
}
.ss-home {
	background: white;
	color: var(--bear-brown);
}

/* figure panels */
.ss-figure {
	width: 100%;
	box-sizing: border-box;
	margin: 0 auto 2vw auto;
	padding: 0.8vw;
}
.ss-figure svg {
	display: block;
	width: 100%;
	height: auto;
}
/* scoresheets: maps (svg) left, HTML table right */
.ss-split {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 2vw;
}
.ss-split-house .ss-maps { width: 56%; }
.ss-split-senate .ss-maps { width: 30%; }
.ss-tabwrap { flex: none; }
.ss-tabwrap .ss-cap { margin: 0 0 0.6vw 0; }
.ss-tab {
	display: grid;
	align-items: center;
	row-gap: 0.45vw;
}
.ss-tab-house { grid-template-columns: 9vw 11vw 7.4vw 6.6vw; }
.ss-tab-senate { grid-template-columns: 10vw 12vw; }
.ss-th {
	font-size: 0.95vw;
	font-weight: bold;
	color: #3a3418;
	text-align: center;
}
.ss-th-small { font-size: 0.7vw; }
.ss-th-name { text-align: left; padding-left: 0.4vw; }
.ss-td {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 2.6vw;
}
.ss-td-name {
	justify-content: flex-start;
	padding-left: 0.4vw;
	font-size: 1vw;
	color: #1a1a1a;
}
/* NH row on top: shaded band, bold, brown rule beneath (the rule is the row's bottom border) */
.ss-nh {
	background: #f3efc4;
	border-bottom: 0.1vw solid var(--bear-brown);
	margin-bottom: 0.5vw;
	height: 3vw;
}
.ss-td-name.ss-nh { font-weight: bold; font-size: 0.95vw; }
.ss-box {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border: 0.07vw solid var(--bear-brown);
	font-weight: bold;
	white-space: nowrap;
}
.ss-box-big {
	width: 90%;
	height: 2.1vw;
	font-size: 0.9vw;
}
.ss-box-small {
	width: 88%;
	height: 1.45vw;
	font-size: 0.68vw;
}
.ss-box-none { border: none; color: #999; }
.ss-caprow {
	display: flex;
	width: 100%;
	margin-bottom: 0.3vw;
}
.ss-caprow > span {
	display: block;
	flex: none;
}
.ss-cap {
	text-align: center;
	font-size: 1vw;
	font-weight: bold;
	line-height: 1.4;
	color: #1a1a1a;
}
.ss-cap b {
	font-weight: bold;
}
.ss-total {
	text-align: center;
	font-size: 1.3vw;
	font-weight: bold;
	margin: 0.4vw auto 0.6vw auto;
}

/* legends */
.ss-legend {
	width: 50%;
	margin: 1vw auto 0.6vw auto;
}
.ss-legend-title {
	font-size: 1.15vw;
	font-weight: bold;
	text-align: center;
	margin: 0 0 0.4vw 0;
}
.ss-grad {
	height: 1vw;
	border: 0.1vw solid var(--bear-brown);
}
.ss-grad-labels {
	display: flex;
	justify-content: space-between;
	font-size: 1.15vw;
	margin-top: 0.2vw;
}
.ss-keys {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.6vw;
	width: 90%;
	margin: 0.8vw auto;
	font-size: 1.15vw;
}
.ss-key {
	display: flex;
	align-items: center;
	gap: 0.5vw;
}
.ss-sw {
	display: block;
	width: 2.4vw;
	height: 1.4vw;
	box-sizing: border-box;
}
.ss-sw-plain {
	background: #f4dcd4;
	border: 0.1vw solid var(--bear-brown);
}
/* dashed brown border over yellow: the dash gaps show the yellow background beneath the border */
.ss-sw-flot {
	background: var(--porc-yellow);
	border: 0.1vw dashed var(--bear-brown);
}
.ss-sw-flot > span {
	display: block;
	width: 100%;
	height: 100%;
	background: #f4dcd4;
}
.ss-sw-mid {
	width: 0;
	height: 1.8vw;
	border-left: 0.2vw dashed #1a1a1a;
}
.ss-sw-cut {
	width: 0;
	height: 1.8vw;
	border-left: 0.2vw solid #7b5c00;
}

/* ---- snake: hover/click pop-up with a mini NH map ---- */
.ss-figure .ss-blk[data-d] { cursor: pointer; }
.ss-figure .ss-blk.ss-on { stroke: #000000; stroke-width: 0.25vw; }
.ss-figure .ss-lb, .ss-figure .ss-fy, .ss-figure .ss-fd, .ss-figure .ss-mk, .ss-figure .ss-mt { pointer-events: none; }
.ss-pop {
	position: fixed;
	z-index: 60;
	width: 12vw;
	padding: 0.5vw 0.6vw 0.6vw 0.6vw;
	background: #ffd;
	border: 0.2vw solid var(--bear-brown);
	pointer-events: none;
	font-family: Verdana, Geneva, sans-serif;
}
.ss-pop[hidden] { display: none; }
.ss-pop-t { margin: 0; font-size: 0.9vw; font-weight: bold; color: #1a1a1a; }
.ss-pop-s { margin: 0.15vw 0 0.4vw 0; font-size: 0.72vw; color: #333; }
.ss-pop-map { display: block; width: 100%; height: auto; }
.ss-mt-t { fill: #ffffff; stroke: #c9c2a0; stroke-width: 0.4; }
.ss-mt-t.ss-mt-on { fill: var(--dark-yellow); stroke: var(--bear-brown); }
.ss-mt-c { fill: none; stroke: var(--bear-brown); stroke-width: 1; }

/* sheets SVG classes (same rules are embedded in each standalone .svg) */
svg.ss-svg { font-family: Verdana, Geneva, sans-serif; }
.ss-bg { fill: #ffd; }
.ss-b { font-weight: 700; }
.ss-c { text-anchor: middle; }
.ss-cb { fill: none; stroke: #b9ae86; }
.ss-sl { fill: #3a3418; }
.ss-blk { stroke: rgb(90,80,30); stroke-width: 0.1vw; vector-effect: non-scaling-stroke; }
.ss-fy { fill: none; stroke: #ee4; stroke-width: 0.1vw; vector-effect: non-scaling-stroke; }
.ss-fd { fill: none; stroke: rgb(90,80,30); stroke-width: 0.1vw; vector-effect: non-scaling-stroke; stroke-dasharray: 0.3vw 0.3vw; }
.ss-lb { font-weight: 700; text-anchor: middle; }
.ss-lb-house { font-size: 9.5px; }
.ss-lb-senate { font-size: 15px; }
.ss-lw { fill: #ffffff; }
.ss-lk { fill: #1a1a1a; }
.ss-mk { stroke-width: 3; }
.ss-mk-mid { stroke: #1a1a1a; stroke-dasharray: 6 4; }
.ss-mk-cut { stroke: #7b5c00; }
.ss-mt { font-size: 11px; font-weight: 700; }
.ss-mt-mid { fill: #1a1a1a; }
.ss-mt-cut { fill: #7b5c00; }
.ss-grad-share { background: linear-gradient(to right, #1f5fae 0%, #436db6 5%, #5c7cbe 10%, #738bc7 15%, #889bcf 20%, #9cabd7 25%, #b0bbdf 30%, #c4cce7 35%, #d8ddef 40%, #ebeef7 45%, #ffffff 50%, #feeae8 55%, #fbd5d0 60%, #f7c0ba 65%, #f2aba4 70%, #ec968e 75%, #e58179 80%, #dd6b64 85%, #d45551 90%, #ca3b3d 95%, #c0182b 100%); }
.ss-grad-margin { background: linear-gradient(to right, #08306b 0%, #19417c 5%, #26528e 10%, #33649f 15%, #3e77b2 20%, #4a8ac4 25%, #739ece 30%, #95b3d7 35%, #b6c8e1 40%, #d5deeb 45%, #f4f4f4 50%, #f7dad3 55%, #f7c0b4 60%, #f4a695 65%, #ef8b77 70%, #e8705a 75%, #d35c48 80%, #be4936 85%, #a93524 90%, #941f13 95%, #7f0000 100%); }


/* ---- 40_finders.css ---- */
/* ===================== finders: shared 2026 ballot card (both search pages) ===================== */
.cf-card {
	box-sizing: border-box;
	width: 100%;
	background: #ffd;
	border: 0.2vw solid var(--bear-brown);
	text-align: left;
	color: black;
}
.cf-no {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.2vw 0.6vw;
	background: var(--dark-yellow);
	color: white;
	font-weight: bold;
	font-size: 0.9vw;
	padding: 0.35vw 0.6vw;
}
.cf-mg { font-weight: normal; font-size: 0.8vw; margin-left: auto; }
.cf-kind {
	font-size: 0.65vw;
	font-weight: bold;
	border: 0.1vw solid white;
	padding: 0 0.3vw;
	margin-left: 0.4vw;
	vertical-align: 0.1vw;
}
.cf-party { padding: 0.25vw 0.6vw; }
.cf-party + .cf-party { border-top: 0.1vw solid var(--bear-brown); }
.cf-plab { display: block; font-size: 0.72vw; font-weight: bold; text-transform: uppercase; letter-spacing: 0.05vw; }
.cf-plab.cf-R, .cf-c.cf-R { color: #c0182b; }
.cf-plab.cf-D, .cf-c.cf-D { color: #1f5fae; }
.cf-c { font-size: 1vw; line-height: 1.4; overflow-wrap: anywhere; }
.cf-c .cf-inc { text-decoration: underline; text-underline-offset: 0.2vw; text-decoration-thickness: 0.1vw; font-weight: bold; }
.cf-c small { font-size: 0.72vw; margin-left: 0.3vw; color: #555; }
.cf-none { font-size: 0.9vw; font-style: italic; color: #555; }
.cf-card mark { background: var(--porc-yellow); color: black; }

/* ===================== finders: shared search input + locator map ===================== */
.cf-input {
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	font-size: 1.3vw;
	padding: 0.5vw 0.7vw;
	border: 0.2vw solid var(--bear-brown);
	border-radius: 0;
	background: white;
	color: black;
}
.cf-input:focus { outline: 0.2vw solid var(--dark-yellow); outline-offset: 0; }
.cf-lbl { display: block; font-size: 1.1vw; font-weight: bold; margin-bottom: 0.4vw; }
.cf-count { font-size: 1.15vw; color: #333; margin: 0.5vw 0 0 0; }
.cf-loc { display: block; width: 100%; height: auto; }
.cf-loc .cf-t { fill: white; stroke: rgba(90, 80, 30, 0.35); stroke-width: 0.4; }
.cf-loc .cf-t.cf-in { fill: var(--porc-yellow); }
.cf-loc .cf-t.cf-me { fill: var(--dark-yellow); }
.cf-loc .cf-co { fill: none; stroke: var(--bear-brown); stroke-width: 0.8; pointer-events: none; }
.cf-loc .cf-co.cf-in { stroke: black; stroke-width: 1.4; }
.cf-loc .cf-pinlab.cf-pinR { text-anchor: end; }
.cf-loc .cf-pin { fill: black; stroke: white; stroke-width: 1.2; pointer-events: none; }
.cf-loc .cf-pinlab { font-family: Verdana, Geneva, sans-serif; font-size: 10px; font-weight: bold; text-anchor: start; fill: black; paint-order: stroke; stroke: white; stroke-width: 3px; pointer-events: none; }
.cf-key { display: flex; justify-content: center; gap: 1.2vw; font-size: 1.15vw; margin-top: 0.5vw; }
.cf-key i { display: inline-block; width: 1.1vw; height: 1.1vw; border: 0.1vw solid var(--bear-brown); vertical-align: -0.15vw; margin-right: 0.35vw; }
.cf-key .cf-k-me { background: var(--dark-yellow); }
.cf-key .cf-k-in { background: var(--porc-yellow); }

/* ===================== search_township.html ===================== */
.tf-wrap {
	display: flex;
	align-items: flex-start;
	width: 90%;
	margin: 1.5vw auto 1vw auto;
	gap: 2%;
}
.tf-col { width: 49%; display: flex; flex-direction: column; }
.tf-head { box-sizing: border-box; padding: 1vw; }
.tf-cards { display: flex; flex-direction: column; align-items: center; }
.tf-slot { box-sizing: border-box; width: 92%; margin-top: 1.2vw; }
.tf-for { display: block; font-size: 0.95vw; font-weight: bold; color: var(--bear-brown); margin-bottom: 0.25vw; }
.tf-for b { color: black; }
.tf-list { margin-top: 0.5vw; max-height: 14vw; overflow-y: auto; }
.tf-list:empty { display: none; }
.tf-item {
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	width: 100%;
	font-size: 1vw;
	text-align: left;
	background: white;
	color: black;
	border: 0.1vw solid var(--bear-brown);
	border-radius: 0;
	padding: 0.35vw 0.6vw;
	margin: 0 0 0.25vw 0;
	cursor: pointer;
}
.tf-item:hover, .tf-item.tf-sel { background: var(--dark-yellow); color: white; }
.tf-item .tf-ic { font-size: 0.85vw; }
.tf-item mark { background: var(--porc-yellow); color: black; }
.tf-info { margin-top: 1vw; }
.tf-name { font-size: 1.55vw; font-weight: bold; margin: 0; }
.tf-sub { font-size: 1.15vw; margin: 0.2vw 0 0.6vw 0; }
.tf-sub .tf-co { background: var(--porc-yellow); border: 0.1vw solid var(--bear-brown); padding: 0 0.3vw; font-weight: bold; }
.tf-preview { font-size: 1.15vw; font-style: italic; color: var(--bear-brown); margin: 0 0 0.3vw 0; }
.tf-empty { font-size: 1.3vw; color: #333; margin: 0.6vw 0 0 0; }
.tf-table { width: 100%; border-collapse: collapse; font-size: 0.95vw; background: white; }
.tf-table th { background: var(--bear-brown); color: white; font-weight: bold; text-align: left; padding: 0.3vw 0.4vw; border: 0.1vw solid var(--bear-brown); }
.tf-table td { padding: 0.25vw 0.4vw; border: 0.1vw solid var(--bear-brown); }
.tf-mapcap { font-size: 1.1vw; font-weight: bold; text-align: center; margin: 0 0 0.5vw 0; min-height: 1.5vw; }
.tf-map { width: 76%; margin: 0 auto; }
.tf-map .cf-t { cursor: pointer; }
.tf-map .cf-t:hover { stroke: black; stroke-width: 1.2; }
.tf-none { box-sizing: border-box; background: #ffd; border: 0.2vw solid var(--bear-brown); padding: 0.5vw 0.6vw; font-size: 0.95vw; font-style: italic; }

/* ===================== search_candidate.html ===================== */
.cf-search { box-sizing: border-box; width: 90%; margin: 1.5vw auto 0 auto; padding: 1vw; }
.cf-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 19vw;
	gap: 1.5vw;
	align-items: start;
	width: 90%;
	margin: 1.2vw auto 1vw auto;
}
.cf-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2vw; align-items: start; }
.cf-result { display: block; cursor: pointer; transition: 0.2s; }
.cf-result:hover { transform: scale(1.03); }
.cf-result:focus { outline: 0.2vw solid black; outline-offset: 0.2vw; }
.cf-result.cf-sel .cf-card { border-color: black; }
.cf-result.cf-sel .cf-no { background: black; }
.cf-result.cf-pin .cf-no::after { content: "PINNED"; font-size: 0.65vw; border: 0.1vw solid white; padding: 0 0.3vw; }
.cf-where { display: block; font-size: 1vw; font-weight: bold; color: var(--bear-brown); margin-bottom: 0.3vw; }
.cf-side { box-sizing: border-box; position: sticky; top: 1vw; padding: 0.8vw; }
.cf-eyebrow { font-size: 0.8vw; font-weight: bold; text-transform: uppercase; color: var(--bear-brown); margin: 0; }
.cf-stitle { font-size: 1.3vw; font-weight: bold; margin: 0.1vw 0 0.4vw 0; }
.cf-chip { display: inline-block; background: var(--porc-yellow); border: 0.1vw solid var(--bear-brown); font-size: 0.85vw; font-weight: bold; padding: 0 0.3vw; margin: 0 0.3vw 0.3vw 0; }
.cf-note { font-size: 1.15vw; color: #333; margin: 0.5vw 0 0 0; line-height: 1.35; }
.cf-noresult { grid-column: 1 / -1; font-size: 1.3vw; margin: 0; }

/* shared */
.normal-paragraph.cf-center { text-align: center; }

/* ===================== search_township.html: city-ward inset (top-left corner of the NH map) ===================== */
.tf-iframe { fill: #ffd; stroke: var(--bear-brown); stroke-width: 1.2; }
.tf-icap { font-family: Verdana, Geneva, sans-serif; font-size: 5px; font-weight: bold; text-anchor: middle; fill: #1a1a1a; }
/* the inset (frame included) only appears while a ward city is selected or hovered */
.tf-inset:not(.tf-ion) { display: none; }
.tf-wa { fill: white; stroke: var(--bear-brown); stroke-width: 1.8; fill-rule: evenodd; cursor: pointer; }
.tf-wa:hover { fill: #ffd; }
.tf-wa.tf-won { fill: var(--dark-yellow); stroke: black; stroke-width: 3.5; }
.tf-wout { fill: none; stroke: black; stroke-width: 2.4; pointer-events: none; }
.tf-wlab { font-family: Verdana, Geneva, sans-serif; font-weight: bold; text-anchor: middle; fill: black; cursor: pointer; paint-order: stroke; stroke: white; stroke-width: 2.5; }
.tf-wlab.tf-won { fill: white; stroke: black; }
.tf-hint { font-size: 1.2vw; margin: 0 0 0.4vw 0; color: #333; }
.tf-table tr.tf-wrow { cursor: pointer; }
.tf-table tr.tf-wrow:hover td { background: #ffd; }
.tf-table tr.tf-rowon td { font-weight: bold; background: var(--porc-yellow); }
.tf-table tr.tf-rowpin td:first-child { border-left: 0.4vw solid var(--dark-yellow); }
