:root {
	--pv-ink: #14213d;
	--pv-muted: #5b6475;
	--pv-line: #dde1e8;
	--pv-bg: #f4f6fb;
	--pv-card: #ffffff;
	--pv-accent: #2f4fb5;
	--pv-gold: #e8a317;
	--pv-yes: #1a8a7a;
	--pv-no: #d1692b;
	--pv-undecided: #9aa1ad;
	--pv-radius: 12px;
}

.pv-card {
	background: var(--pv-card);
	border: 1px solid var(--pv-line);
	border-radius: var(--pv-radius);
	padding: 1.5rem;
	margin: 1.5rem 0;
	color: var(--pv-ink);
}
.pv-card h2 { margin-top: 0; font-size: 1.4rem; }
.pv-card h3 { font-size: 1.1rem; margin: 1.5rem 0 .25rem; }
.pv-muted { color: var(--pv-muted); font-size: .92rem; }

.pv-test-banner {
	background: #fff4d6; border: 1px solid #e8c766; color: #5a4300;
	padding: .75rem 1rem; border-radius: 8px; font-size: .92rem; margin: 1rem 0;
}
.pv-test-code { font-family: ui-monospace, Menlo, monospace; background: #fff4d6; padding: .5rem .75rem; border-radius: 6px; }

/* Forms */
.pv-auth { max-width: 560px; margin-left: auto; margin-right: auto; }
.pv-field { display: block; margin: 1rem 0; }
.pv-field > span { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.pv-field input, .pv-field select {
	width: 100%; box-sizing: border-box; padding: .7rem .8rem; font-size: 1rem;
	border: 1px solid #b9c0cc; border-radius: 8px; background: #fff; color: var(--pv-ink);
}
.pv-field input:focus, .pv-field select:focus { outline: 2px solid var(--pv-accent); outline-offset: 1px; }
.pv-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .pv-grid2 { grid-template-columns: 1fr; } }
.pv-check { display: flex; gap: .5rem; align-items: flex-start; margin: .75rem 0; font-size: .95rem; }
.pv-check input { margin-top: .25rem; }

.pv-btn {
	display: inline-block; background: var(--pv-accent); color: #fff !important; border: 0;
	padding: .75rem 1.25rem; border-radius: 8px; font-size: 1rem; font-weight: 600;
	cursor: pointer; text-decoration: none !important; margin-top: .5rem;
}
.pv-btn:hover { filter: brightness(1.08); }
.pv-btn:disabled { opacity: .5; cursor: not-allowed; }
.pv-btn-ghost { background: transparent; color: var(--pv-accent) !important; border: 1px solid var(--pv-accent); }
.pv-link { background: none; border: 0; color: var(--pv-accent); text-decoration: underline; cursor: pointer; margin-left: .75rem; font-size: .95rem; }
.pv-msg { margin: 1rem 0 0; padding: .6rem .8rem; border-radius: 8px; background: #fde8e4; color: #8a2a12; }
.pv-msg.pv-ok { background: #e3f4ef; color: #11594f; }
.pv-switch { margin-top: 1.25rem; }

/* Ballot */
.pv-hello { color: var(--pv-muted); font-size: .92rem; }
.pv-filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1rem 0 1.25rem; }
.pv-filters button {
	border: 1px solid var(--pv-line); background: #fff; color: var(--pv-ink);
	padding: .45rem .95rem; border-radius: 999px; cursor: pointer; font-size: .92rem;
}
.pv-filters button.is-active { background: var(--pv-ink); color: #fff; border-color: var(--pv-ink); }
.pv-mine { font-size: .9rem; color: var(--pv-muted); margin-left: .5rem; display: inline-flex; gap: .35rem; align-items: center; }

.pv-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1rem; }
.pv-tile {
	display: flex; flex-direction: column; gap: .5rem; padding: 1.15rem;
	background: var(--pv-card); border: 1px solid var(--pv-line); border-radius: var(--pv-radius);
	border-top: 4px solid var(--pv-accent);
	color: var(--pv-ink) !important; text-decoration: none !important;
	transition: box-shadow .15s, transform .15s;
}
.pv-tile[hidden] { display: none; }
.pv-tile:hover, .pv-tile:focus-visible { box-shadow: 0 6px 20px rgba(20, 30, 60, .1); transform: translateY(-2px); }
.pv-level-state { border-top-color: #6b4fb5; }
.pv-level-local { border-top-color: #b5862f; }
.pv-badge {
	align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
	background: var(--pv-bg); color: var(--pv-muted); padding: .2rem .55rem; border-radius: 4px;
}
.pv-num { font-size: .85rem; color: var(--pv-muted); font-weight: 600; }
.pv-tile-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pv-tile-text { color: var(--pv-muted); font-size: .9rem; line-height: 1.45; flex: 1; }
.pv-tile-foot { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--pv-muted); border-top: 1px solid var(--pv-line); padding-top: .6rem; }
.pv-chip { font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: var(--pv-bg); }
.pv-chip-go { background: var(--pv-accent); color: #fff; }
.pv-chip-done { background: #e3f4ef; color: #11594f; }
.pv-cta { text-align: center; }

/* Bill page */
.pv-bill-meta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.pv-back { font-size: .92rem; }
.pv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; margin: 0 0 1.5rem; padding: 1rem; background: var(--pv-bg); border-radius: var(--pv-radius); }
.pv-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--pv-muted); font-weight: 700; }
.pv-facts dd { margin: .2rem 0 0; font-size: .95rem; }

.pv-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin: 1rem 0; }
.pv-choice {
	padding: 1rem; font-size: 1.05rem; font-weight: 700; border-radius: 10px; cursor: pointer;
	background: #fff; border: 2px solid var(--pv-line); color: var(--pv-ink);
}
.pv-choice.pv-yes.is-selected { border-color: var(--pv-yes); background: #e3f4ef; }
.pv-choice.pv-no.is-selected { border-color: var(--pv-no); background: #fbeadf; }
.pv-choice.pv-undecided.is-selected { border-color: var(--pv-undecided); background: #eef0f3; }

/* Results */
.pv-you-voted { display: inline-block; background: #e3f4ef; color: #11594f; font-weight: 700; padding: .35rem .8rem; border-radius: 999px; }
.pv-results-title { margin-top: 1rem !important; }
.pv-row { display: grid; grid-template-columns: minmax(6.5rem, 11rem) 1fr 3rem; gap: .75rem; align-items: center; margin: .5rem 0; }
.pv-row-label { font-weight: 600; }
.pv-row-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.pv-bar { height: 14px; background: var(--pv-bg); border-radius: 7px; overflow: hidden; }
.pv-fill { display: block; height: 100%; border-radius: 7px; }
.pv-yes.pv-fill, .pv-seg.pv-yes, .pv-swatch.pv-yes { background: var(--pv-yes); }
.pv-no.pv-fill, .pv-seg.pv-no, .pv-swatch.pv-no { background: var(--pv-no); }
.pv-undecided.pv-fill, .pv-seg.pv-undecided, .pv-swatch.pv-undecided { background: var(--pv-undecided); }
.pv-o1 { --c: #2f4fb5; } .pv-o2 { --c: #1a8a7a; } .pv-o3 { --c: #d1692b; } .pv-o4 { --c: #8a4fb5; }
.pv-o5 { --c: #b5862f; } .pv-o6 { --c: #c2417a; } .pv-o7 { --c: #4a8bc2; } .pv-o8 { --c: #6f7a3a; }
.pv-fill[class*="pv-o"], .pv-seg[class*="pv-o"], .pv-swatch[class*="pv-o"] { background: var(--c); }
.pv-choice[class*="pv-o"].is-selected { border-color: var(--c); background: #f1f3fa; }
.pv-row-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-level-poll { border-top-color: #c2417a; }
.pv-legend { display: flex; gap: 1rem; font-size: .85rem; color: var(--pv-muted); margin: 1rem 0 .5rem; flex-wrap: wrap; }
.pv-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .35rem; }
.pv-breakdown { border-top: 1px solid var(--pv-line); padding: .75rem 0; }
.pv-breakdown summary { cursor: pointer; font-weight: 700; }
.pv-group { margin: .75rem 0; }
.pv-group-head { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; margin-bottom: .3rem; flex-wrap: wrap; }
.pv-stack { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--pv-bg); gap: 2px; }
.pv-seg { display: block; height: 100%; }
.pv-fineprint { margin-top: 1rem; font-size: .82rem; }

/* Share */
.pv-share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1.5rem 0 2rem; }
.pv-share-label { font-weight: 700; margin-right: .25rem; }
.pv-share-btn {
	display: inline-block; padding: .45rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
	border: 1px solid var(--pv-line); background: #fff; color: var(--pv-ink) !important; text-decoration: none !important; cursor: pointer;
}
.pv-share-btn:hover { background: var(--pv-bg); }
.pv-share-btn[hidden] { display: none; }

/* Bill pages: hide the theme's "Written by … in" row under the title */
.pv-single h1.wp-block-post-title + .wp-block-group.is-layout-flex { display: none; }

/* ---------- LockMyVote brand color layer ---------- */
.pv-btn { background: var(--pv-gold); color: var(--pv-ink) !important; }
.pv-btn:hover { background: var(--pv-ink); color: #fff !important; filter: none; }
.pv-btn-ghost { background: transparent; color: var(--pv-ink) !important; border: 2px solid var(--pv-ink); }
.pv-btn-ghost:hover { background: var(--pv-ink); color: #fff !important; }
.pv-auth, .pv-vote { border-top: 5px solid var(--pv-gold); }
.pv-auth h2, .pv-vote h2 { color: var(--pv-ink); }

.pv-ballot { background: var(--pv-bg); border-radius: 20px; padding: clamp(16px, 3vw, 32px); }
.pv-cta { background: var(--pv-ink); color: #fff; border: 0; }
.pv-cta strong { color: var(--pv-gold); }
.pv-cta .pv-btn-ghost { color: #fff !important; border-color: #fff; }
.pv-cta .pv-btn-ghost:hover { background: #fff; color: var(--pv-ink) !important; }
.pv-filters button { border-color: #c9d2e6; }
.pv-filters button:hover { border-color: var(--pv-accent); color: var(--pv-accent); }
.pv-filters button.is-active { background: var(--pv-accent); border-color: var(--pv-accent); color: #fff; }
.pv-chip-go { background: var(--pv-gold); color: var(--pv-ink); }

.pv-level-national { border-top-color: #2f4fb5; }
.pv-level-state { border-top-color: #14213d; }
.pv-level-local { border-top-color: #e8a317; }
.pv-level-poll { border-top-color: #1a8a7a; }
.pv-level-national .pv-badge, .pv-badge-national { background: #dce4fb; color: #1d3a8f; }
.pv-level-state .pv-badge, .pv-badge-state { background: #e3e6ee; color: #14213d; }
.pv-level-local .pv-badge, .pv-badge-local { background: #fdf1d6; color: #6e4a00; }
.pv-level-poll .pv-badge, .pv-badge-poll { background: #d8f1ec; color: #0e5a4f; }
.pv-tile:hover .pv-tile-title { color: var(--pv-accent); }

.pv-facts { background: #eef2fb; border: 1px solid #dce4fb; }
.pv-facts dt { color: #2f4fb5; }

.pv-share-x { background: #000; color: #fff !important; border-color: #000; }
.pv-share-facebook { background: #1877f2; color: #fff !important; border-color: #1877f2; }
.pv-share-linkedin { background: #0a66c2; color: #fff !important; border-color: #0a66c2; }
.pv-share-reddit { background: #d93a00; color: #fff !important; border-color: #d93a00; }
.pv-share-whatsapp { background: #128c4a; color: #fff !important; border-color: #128c4a; }
.pv-share-email { background: var(--pv-ink); color: #fff !important; border-color: var(--pv-ink); }
.pv-share a.pv-share-btn:hover { filter: brightness(1.12); background-image: none; }

.lmv-hero { background: var(--pv-ink); color: #fff; border-radius: 20px; padding: clamp(24px, 5vw, 56px); margin-bottom: 24px; }
.lmv-hero h1, .lmv-hero h2 { color: #fff; margin-top: 0; }
.lmv-hero .lmv-gold { color: var(--pv-gold); }
.lmv-hero p { color: #dbe1ef; max-width: 640px; }
.lmv-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lmv-pills span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: .9rem; }

.lmv-disclaimer { background: #0b1426; color: #b9c3d9; text-align: center; font-size: .85rem; padding: 14px 20px; }

.pv-field .pv-invalid { border-color: #c0392b; background: #fdf3f1; }
.pv-note { margin-top: -4px; }
.pv-auth h3 { color: var(--pv-accent); font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 1.75rem; }

/* ---------- Ballot page layout v2: open intro, tab filters, tiles on white ---------- */
.lmv-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: 8px 0 40px; margin-bottom: 8px; border-bottom: 1px solid #e3e7ef; }
@media (max-width: 820px) { .lmv-intro { grid-template-columns: 1fr; } }
.lmv-eyebrow { margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pv-accent); }
.lmv-title { margin: 0 0 16px; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--pv-ink); font-weight: 800; }
.lmv-mark { background: linear-gradient(transparent 62%, rgba(232, 163, 23, .55) 62%); padding: 0 .08em; }
.lmv-lede { margin: 0 0 24px; font-size: 1.12rem; line-height: 1.55; color: #3d4657; max-width: 34em; }
.lmv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lmv-actions .pv-btn { margin-top: 0; padding: .85rem 1.5rem; }
.lmv-welcome { margin: 0; font-weight: 600; color: var(--pv-ink); }
.lmv-welcome a { font-weight: 400; margin-left: 8px; }
.lmv-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.lmv-steps li { display: flex; gap: 16px; align-items: flex-start; }
.lmv-step-n { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--pv-ink); color: var(--pv-gold); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.lmv-steps strong { display: block; color: var(--pv-ink); font-size: 1.02rem; }
.lmv-steps span { color: var(--pv-muted); font-size: .95rem; }

.pv-ballot { background: none; padding: 0; border-radius: 0; }
.pv-hello { display: none; }
.pv-filters { gap: 4px 22px; margin: 28px 0 24px; border-bottom: 1px solid #e3e7ef; }
.pv-filters button, .pv-filters button.is-active { background: none !important; border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: 10px 2px; margin-bottom: -1px; font-size: 1rem; font-weight: 600; color: var(--pv-muted); }
.pv-filters button:hover { color: var(--pv-ink); border-bottom-color: #c9d2e6; }
.pv-filters button.is-active { color: var(--tc, var(--pv-ink)) !important; border-bottom-color: var(--tc, var(--pv-ink)); }
.pv-mine { margin-left: auto; }
.pv-tiles { gap: 20px; }
.pv-tile { border: 1px solid #e3e7ef; border-top-width: 4px; box-shadow: 0 1px 2px rgba(20, 33, 61, .04); }
.pv-tile:hover, .pv-tile:focus-visible { box-shadow: 0 10px 28px rgba(20, 33, 61, .10); }

/* ---------- Account & profiles ---------- */
.pv-account { max-width: 1040px; margin: 0 auto; color: var(--pv-ink); }
.pv-account h2 { font-size: 1.25rem; margin: 2rem 0 .9rem; }
.pv-avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 800; flex: none; }
.pv-acct-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; }
.pv-acct-id { flex: 1 1 240px; }
.pv-acct-name { margin: 0; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; }
.pv-acct-id p { margin: 4px 0 0; }
.pv-acct-links { display: flex; align-items: center; gap: 16px; }
.pv-acct-links .pv-btn { margin: 0; }
.pv-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 8px 0 24px; }
.pv-stats > div { background: #f4f6fb; border-radius: 12px; padding: 16px 18px; }
.pv-stats strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--pv-ink); line-height: 1.1; }
.pv-stats span { color: var(--pv-muted); font-size: .9rem; }
.pv-tabs { display: flex; flex-wrap: wrap; gap: 4px 22px; border-bottom: 1px solid #e3e7ef; }
.pv-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 2px; margin-bottom: -1px; font-size: 1rem; font-weight: 600; color: var(--pv-muted); cursor: pointer; }
.pv-tabs button:hover { color: var(--pv-ink); }
.pv-tabs button.is-active { color: var(--pv-ink); border-bottom-color: var(--pv-gold); }
.pv-count, .pv-nav-count { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: #d93a00; color: #fff; font-size: .75rem; font-weight: 700; text-align: center; line-height: 18px; }
.pv-nav-count { margin-left: 6px; vertical-align: 2px; }
.pv-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pv-badge-item { border: 1px dashed #cfd6e4; border-radius: 12px; padding: 14px; text-align: center; color: var(--pv-muted); font-size: .85rem; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pv-badge-item strong { color: var(--pv-muted); font-size: .95rem; }
.pv-medal { width: 44px; height: 44px; border-radius: 50%; background: #eef0f4; color: #7a8291; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 4px; }
.pv-badge-item.is-earned { border: 1px solid #f0d58c; background: #fffaf0; }
.pv-badge-item.is-earned strong { color: var(--pv-ink); }
.pv-badge-item.is-earned .pv-medal { background: var(--pv-gold); color: var(--pv-ink); }
.pv-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.pv-mini-list, .pv-mini-grid { display: grid; gap: 12px; }
.pv-mini-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.pv-mini { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid #e3e7ef; border-top: 4px solid var(--pv-accent); border-radius: 12px; background: #fff; color: var(--pv-ink) !important; text-decoration: none !important; }
.pv-mini:hover { box-shadow: 0 8px 22px rgba(20, 33, 61, .08); }
.pv-mini .pv-badge { align-self: flex-start; }
.pv-mini-title { font-weight: 700; line-height: 1.3; }
.pv-mini-note { color: var(--pv-muted); font-size: .85rem; }
.pv-vote-list, .pv-notes, .pv-trend { list-style: none; margin: 0; padding: 0; }
.pv-vote-list li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid #eef0f3; }
.pv-vote-main { display: flex; flex-direction: column; gap: 4px; flex: 1 1 300px; }
.pv-vote-main .pv-badge { align-self: flex-start; }
.pv-vote-main a { font-weight: 700; color: var(--pv-ink); }
.pv-vote-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.pv-mychoice { background: #eef2fb; color: #1d3a8f; font-weight: 700; border-radius: 999px; padding: 3px 12px; font-size: .9rem; }
.pv-trend { counter-reset: t; }
.pv-trend li { counter-increment: t; padding: 10px 0 10px 40px; position: relative; border-bottom: 1px solid #eef0f3; }
.pv-trend li::before { content: counter(t); position: absolute; left: 0; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--pv-ink); color: var(--pv-gold); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.pv-notes li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #eef0f3; }
.pv-notes p { margin: 0 0 4px; }
.pv-note-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; }
.pv-notes li.is-unread .pv-note-dot { background: #d93a00; }
.pv-prefs { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.pv-switch-row { display: flex; gap: 12px; align-items: flex-start; }
.pv-switch-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pv-accent); }
.pv-private { display: grid; gap: 10px; margin: 0 0 8px; max-width: 520px; }
.pv-private div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.pv-private dt { color: var(--pv-muted); white-space: nowrap; }
.pv-private dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 420px) { .pv-private div { grid-template-columns: 1fr; gap: 2px; } }
.pv-topic-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pv-save { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #c9d2e6; color: var(--pv-ink); border-radius: 999px; padding: 6px 14px; font-weight: 600; cursor: pointer; }
.pv-save svg path { fill: transparent; }
.pv-save.is-saved { background: var(--pv-gold); border-color: var(--pv-gold); }
.pv-save.is-saved svg path { fill: currentColor; }

/* ---------- Wordmark: LockMyVote in Fraunces, "My" in blue ---------- */
.lmv-wordmark { font-family: Inter, Arial, sans-serif; font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: -0.04em; color: #ffffff !important; text-decoration: none !important; white-space: nowrap; }
/* L5 wordmark: name over tagline */
.lmv-wordmark.lmv-l5 { display: inline-flex; flex-direction: column; gap: 5px; }
.lmv-wordmark.lmv-l5 .lmv-wm-name { color: #ffffff; }
.lmv-wordmark.lmv-l5 .lmv-wm-name span { color: #8fa6f0; }
.lmv-wordmark.lmv-l5:hover .lmv-wm-name span { color: #b3c3f7; }
.lmv-wordmark.lmv-l5 .lmv-wm-tag { color: #c3cbe0; font-weight: 400; font-size: 9.5px; letter-spacing: 0.24em; padding-left: 1px; }
@media (max-width: 600px) { .lmv-wordmark.lmv-l5 .lmv-wm-tag { font-size: 8px; letter-spacing: 0.18em; } }
.lmv-wordmark span { color: #8fa6f0; }
.lmv-wordmark:hover span { color: #b3c3f7; }
.lmv-wordmark-sm { font-size: 1.3rem; }
.lmv-tagline { margin: 0; font-size: .75rem; letter-spacing: .22em; color: #b9c3d9; }
@media (max-width: 600px) { .lmv-wordmark { font-size: 1.3rem; } }

/* Intro v3: single column, tighter to the header */
.lmv-intro { display: block; padding: 0 0 28px; }
.lmv-intro-text { max-width: 760px; }
.home main .wp-block-post-content { margin-block-start: 0; }
.home main > .wp-block-group.alignfull { padding-top: 24px !important; }

.pv-sms-consent { font-size: .82rem; line-height: 1.5; color: var(--pv-muted); margin: 12px 0 0; }
.pv-sms-consent a { color: var(--pv-accent); }
.pv-auth .pv-btn[data-action="send"] { margin-top: 16px; }

/* ---------- Filter dropdown in the category bar ---------- */
.pv-filter-menu { margin-left: auto; position: relative; align-self: center; }
.pv-filter-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 14px; border: 1px solid #c9d2e6; border-radius: 8px; background: #fff; font-weight: 600; color: var(--pv-ink); font-size: .95rem; }
.pv-filter-menu summary::-webkit-details-marker { display: none; }
.pv-filter-menu[open] summary, .pv-filter-menu summary:hover { border-color: var(--pv-ink); }
.pv-filter-count { background: var(--pv-accent); color: #fff; border-radius: 999px; min-width: 20px; padding: 0 6px; font-size: .75rem; line-height: 20px; text-align: center; }
.pv-filter-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: 280px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid #dde1e8; border-radius: 12px; box-shadow: 0 14px 36px rgba(20, 33, 61, .16); padding: 16px 18px; }
.pv-filter-panel fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.pv-filter-panel legend { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pv-muted); margin-bottom: 6px; padding: 0; }
.pv-filter-panel label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .95rem; color: var(--pv-ink); cursor: pointer; }
.pv-filter-panel input { width: 18px; height: 18px; accent-color: var(--pv-accent); }
.pv-filter-actions { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eef0f3; padding-top: 12px; }
.pv-filter-actions .pv-btn { margin: 0; padding: .5rem 1.2rem; }
.pv-filter-actions .pv-link { margin: 0; }


/* ---------- Tile photos ---------- */
.pv-tile { overflow: hidden; }
.pv-tile-media { display: block; margin: -1.15rem -1.15rem .35rem; height: 150px; background: #eef1f6; overflow: hidden; }
.pv-tile-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pv-tile:hover .pv-tile-media img { transform: scale(1.04); }
.pv-tile-fallback { display: flex; align-items: center; justify-content: center; }
.pv-mini .pv-tile-media { margin: -14px -16px 6px; height: 110px; }

/* Tile pages: featured photo as a wide banner; hide the theme's leftovers */
.pv-single .wp-block-post-featured-image img { aspect-ratio: 16 / 9 !important; object-fit: cover; border-radius: 14px; }
.pv-single .wp-block-post-featured-image + .wp-block-group.is-layout-flex { display: none; }
.pv-single main > .wp-block-group.alignwide:last-child { display: none; }

/* ---------- Lead bar ---------- */
.pv-lead { margin: 4px 0 18px; }
.pv-lead-locked { position: relative; border-radius: 12px; overflow: hidden; background: #f4f6fb; border: 1px solid #e3e7ef; }
.pv-lead-blur { display: flex; height: 64px; filter: blur(9px); opacity: .7; }
.pv-lead-blur span:nth-child(1) { background: var(--pv-yes); }
.pv-lead-blur span:nth-child(2) { background: var(--pv-no); }
.pv-lead-blur span:nth-child(3) { background: var(--pv-undecided); }
.pv-lead-lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 16px; background: rgba(255, 255, 255, .55); text-align: left; }
.pv-lead-lock strong { display: block; color: var(--pv-ink); font-size: 1rem; }
.pv-lead-lock span { display: block; color: #3d4657; font-size: .85rem; }
.pv-lead-headline { margin: 0 0 8px; font-size: 1.35rem; font-weight: 800; color: var(--pv-ink); }
.pv-lead-bar { display: flex; height: 36px; border-radius: 10px; overflow: hidden; gap: 2px; background: #eef1f6; }
.pv-lead-bar .pv-seg { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .9rem; }
.pv-yes-text { color: var(--pv-yes); } .pv-no-text { color: var(--pv-no); } .pv-undecided-text { color: #6b7280; }
.pv-lead-name[class*="pv-o"] { color: var(--c); background: none; }

/* ---------- Tighter top spacing on tile, account and profile pages ---------- */
body.pv-single main.wp-block-group, body.page-id-38 main.wp-block-group, body.page-id-39 main.wp-block-group { margin-top: 0 !important; }
body.pv-single main > .wp-block-group.alignfull, body.page-id-38 main > .wp-block-group.alignfull, body.page-id-39 main > .wp-block-group.alignfull { padding-top: 28px !important; }
body.page-id-38 .wp-block-post-content, body.page-id-39 .wp-block-post-content { margin-top: 0 !important; }

/* ---------- No more cut-off words ---------- */
.pv-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label num" "bar bar"; gap: 4px 12px; margin: 12px 0; }
.pv-row-label { grid-area: label; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.3; }
.pv-row-num { grid-area: num; }
.pv-row .pv-bar { grid-area: bar; }
.pv-choice { white-space: normal; overflow-wrap: anywhere; line-height: 1.25; min-height: 56px; }
.pv-choices { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.pv-lead-headline, .pv-group-head, .pv-tile-title, .pv-mini-title, .pv-acct-name { overflow-wrap: anywhere; }
.pv-lead-bar .pv-seg { white-space: nowrap; overflow: hidden; }
.pv-cast { white-space: normal; height: auto; }
.pv-facts dd { overflow-wrap: anywhere; }

/* ---------- Profile photo ---------- */
.pv-avatar-img { border-radius: 50%; object-fit: cover; display: block; }
.pv-avatar-link { position: relative; display: inline-block; border-radius: 50%; text-decoration: none !important; }
.pv-avatar-edit { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--pv-gold); color: var(--pv-ink); display: flex; align-items: center; justify-content: center; font-size: 14px; border: 2px solid #fff; }
.pv-photo-edit { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.pv-photo-edit .pv-btn { margin: 0 12px 0 0; cursor: pointer; }
.pv-photo-edit p { margin: 8px 0 0; }
.wp-block-avatar img { border-radius: 50%; object-fit: cover; }

/* AI Breakdown */
.pv-ai{padding:0;overflow:hidden;border:1px solid #d9dff0}
.pv-ai>summary{list-style:none;cursor:pointer;display:flex;gap:14px;align-items:center;padding:16px 20px;background:linear-gradient(90deg,#14213d,#2f4fb5);color:#fff}
.pv-ai>summary::-webkit-details-marker{display:none}
.pv-ai>summary::after{content:"Show";margin-left:auto;font-size:.8rem;font-weight:700;background:#e8a317;color:#14213d;padding:6px 14px;border-radius:8px;white-space:nowrap}
.pv-ai[open]>summary::after{content:"Hide"}
.pv-ai>summary strong{display:block;font-size:1.05rem}
.pv-ai>summary small{display:block;opacity:.8;font-size:.85rem;margin-top:2px}
.pv-ai-spark{font-size:1.5rem;color:#e8a317;line-height:1}
.pv-ai-body{padding:6px 22px 18px}
.pv-ai-body h3{font-size:1rem;margin:20px 0 8px;color:var(--pv-ink,#14213d);text-transform:none}
.pv-ai-body p,.pv-ai-body li{font-size:.95rem;line-height:1.55}
.pv-ai-body ul{margin:0;padding-left:1.2em}
.pv-ai-body li{margin-bottom:6px}
.pv-ai-sec{display:inline-block;font-size:.75rem;color:#5b6478;background:#eef1f6;border-radius:4px;padding:1px 6px;margin-left:4px}
.pv-ai-cost{background:#f4f6fb;border-radius:10px;padding:12px 16px}
.pv-ai-cost p{margin:4px 0}
.pv-ai-cost-big{font-size:1.25rem;font-weight:800;color:var(--pv-ink,#14213d)}
.pv-ai-src{font-size:.8rem !important;color:#5b6478}
.pv-ai-riders li{background:#fff7e6;border-left:3px solid #e8a317;padding:6px 10px;list-style:none;margin-left:-1.2em;border-radius:4px}
.pv-ai-sides{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media (max-width:640px){.pv-ai-sides{grid-template-columns:1fr}.pv-ai>summary{flex-wrap:wrap}}
.pv-ai-note{margin-top:18px;font-size:.8rem !important;color:#5b6478;border-top:1px solid #e3e7f0;padding-top:10px}

/* Vote page: pull comments up and make them easy to find */
body.pv-single main .wp-block-group.has-global-padding:not(:has(*)){display:none !important}
body.pv-single main .wp-block-group.alignwide:has(> nav.wp-block-group){margin-top:12px !important}
body.pv-single main nav.wp-block-group{padding-top:1.25rem !important;padding-bottom:1.25rem !important;margin-top:0 !important;font-size:.9rem;border-bottom:1px solid var(--wp--preset--color--accent-6,#e3e3e3)}
body.pv-single .wp-block-comments{margin-top:4px !important;margin-bottom:24px;background:#fff;border:1px solid #d9dff0;border-top:4px solid var(--pv-accent,#2f4fb5);border-radius:14px;padding:18px 24px 8px;box-shadow:0 2px 10px rgba(20,33,61,.06);scroll-margin-top:90px}
body.pv-single .wp-block-comments > h2:first-child,body.pv-single .wp-block-comments .wp-block-heading:first-child{margin-top:0 !important;font-size:1.5rem !important}
.pv-comments-jump{margin-left:auto;font-weight:700;font-size:.9rem;color:var(--pv-accent,#2f4fb5);text-decoration:none;white-space:nowrap;padding:6px 12px;border-radius:8px;background:#eef1fb}
.pv-comments-jump:hover{background:#dce4fb}

/* Passwords */
.pv-pass-wrap{position:relative;display:block}
.pv-pass-wrap input{width:100%;padding-right:64px}
.pv-pass-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:#eef1f6;color:#14213d;font-size:.78rem;font-weight:700;padding:5px 10px;border-radius:6px;cursor:pointer}
.pv-pass-meter{height:6px;background:#e6e9f0;border-radius:4px;overflow:hidden;margin:2px 0 8px}
.pv-pass-meter i{display:block;height:100%;width:0;transition:width .2s,background .2s;background:#d14b4b}
.pv-pass-meter i.pv-fair{background:#e8a317}
.pv-pass-meter i.pv-strong{background:#1a8a5a}
.pv-pass-rules{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:.82rem;color:#6b7385}
.pv-pass-rules li::before{content:"○ ";font-weight:700}
.pv-pass-rules li.pv-ok{color:#1a8a5a}
.pv-pass-rules li.pv-ok::before{content:"✓ "}
.pv-alt{margin-top:14px}
.pv-password-form{max-width:560px}
.pv-ai-body h3{font-weight:800 !important}
.pv-ai-body strong,.pv-ai>summary strong{font-weight:800}

/* Where Do You Stand? */
.pv-sides h2{margin:0 0 4px}
.pv-sides > .pv-muted{margin:0 0 14px}
.pv-sides-grid{display:grid;gap:14px;grid-template-columns:repeat(2,1fr)}
.pv-sides-grid.pv-cols-3{grid-template-columns:repeat(3,1fr)}
.pv-sides-grid.pv-cols-4{grid-template-columns:repeat(2,1fr)}
.pv-side{border-radius:12px;padding:14px 16px;background:#f4f6fb;border-top:4px solid #8a93a8}
.pv-side h3{margin:0 0 8px;font-size:1rem;font-weight:800;color:var(--pv-ink,#14213d);text-transform:none;letter-spacing:0}
.pv-side ul{margin:0;padding-left:1.1em}
.pv-side li{font-size:.93rem;line-height:1.5;margin-bottom:6px}
.pv-side-yes{border-top-color:#1a8a5a;background:#eef8f2}
.pv-side-no{border-top-color:#c0392b;background:#fcefed}
.pv-side-case{border-top-color:var(--pv-accent,#2f4fb5)}
.pv-sides-grid .pv-side-case:nth-child(2){border-top-color:#e8a317}
.pv-sides-grid .pv-side-case:nth-child(3){border-top-color:#8a4fb5}
.pv-sides-grid .pv-side-case:nth-child(4){border-top-color:#0e7490}
.pv-sides-grid .pv-side-case:nth-child(5){border-top-color:#c2417a}
.pv-sides-grid .pv-side-case:nth-child(6){border-top-color:#1a8a5a}
.pv-sides-note{margin:12px 0 0;font-size:.78rem;color:#6b7385}
@media (max-width:700px){.pv-sides-grid,.pv-sides-grid.pv-cols-3,.pv-sides-grid.pv-cols-4{grid-template-columns:1fr}}

/* "I'm not a robot" checkbox */
.pv-recaptcha{margin:14px 0 12px;min-height:78px}
.pv-recaptcha.pv-need > div{outline:3px solid #c0392b;outline-offset:2px;border-radius:4px;display:inline-block}
@media (max-width:360px){.pv-recaptcha{transform:scale(.88);transform-origin:0 0}}

/* Badges tab + overview summary */
.pv-badge-summary{display:flex;align-items:center;gap:20px;flex-wrap:wrap;background:#fff;border:1px solid #d9dff0;border-radius:14px;padding:16px 20px;margin-bottom:22px}
.pv-badge-summary h2{margin:0}
.pv-badge-summary .pv-muted{margin:2px 0 0}
.pv-medal-row{display:flex;gap:6px;flex-wrap:wrap;flex:1}
.pv-medal-row .pv-medal{width:34px;height:34px;font-size:.75rem;opacity:.35;filter:grayscale(1)}
.pv-medal-row .pv-medal.is-earned{opacity:1;filter:none}
.pv-badges-full{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
.pv-badges-full .pv-badge-item{text-align:left;align-items:flex-start}
.pv-badge-prog{width:100%;height:6px;background:#e6e9f0;border-radius:4px;overflow:hidden;margin-top:8px}
.pv-badge-prog i{display:block;height:100%;background:#2f4fb5;border-radius:4px}
.pv-badge-item.is-earned .pv-badge-prog i{background:#1a8a5a}
.pv-badges-full em{font-style:normal;font-size:.8rem;font-weight:700;color:#4a5366;margin-top:4px}
.pv-badge-item.is-earned em{color:#1a8a5a}
.pv-nudge{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff7e6;border:1px solid #f1d28a;border-radius:12px;padding:12px 16px;margin-bottom:18px;font-size:.95rem}
.pv-btn-small{padding:6px 14px !important;font-size:.85rem !important}
.pv-income-form{max-width:420px;margin-bottom:10px}
.pv-medal-row .pv-medal.is-earned{background:var(--pv-gold);color:var(--pv-ink)}
.pv-details-form{margin-bottom:14px}
.pv-cooldown{display:block;margin-top:4px;font-size:.8rem;color:#8a5a00}
.pv-details-form select:disabled{background:#f1f3f7;color:#6b7385}
.pv-lock{display:inline-block;margin-left:6px;font-size:.72rem;font-weight:700;color:#4a5366;background:#eef1f6;border-radius:4px;padding:1px 6px;vertical-align:middle}

/* ---------- Text clean-up pass ---------- */
.pv-acct-links { flex-wrap: wrap; }
.pv-field > span.pv-pass-wrap { font-weight: inherit; font-size: inherit; margin: 0; }
.pv-tile-title { -webkit-line-clamp: 4; }
.pv-vote-side { min-width: 0; }
.pv-badge-item strong, .pv-badge-item span, .pv-mini-note, .pv-notes p { overflow-wrap: anywhere; }
@media (max-width: 520px) { .pv-vote-side { align-items: flex-start; text-align: left; } }

/* Founder / Founding 1,000 badges and member numbers */
.pv-badge-item.is-special { background: linear-gradient(160deg, #14213d, #22356b); border: 1px solid #e8a317; color: #c3cbe0; }
.pv-badge-item.is-special strong { color: #ffffff; }
.pv-badge-item.is-special .pv-medal { background: #e8a317; color: #14213d; box-shadow: 0 0 0 3px rgba(232, 163, 23, .3); }
.pv-badge-item.is-special em { color: #e8a317 !important; }
.pv-badge-item.is-special .pv-badge-prog { display: none; }
.pv-medal-row .pv-medal.is-special { background: #14213d; color: #e8a317; box-shadow: 0 0 0 2px #e8a317; }
.pv-memno { color: var(--pv-ink); font-weight: 800; }
.pv-memno-tag { display: inline-block; font-size: .78em; font-weight: 700; color: #4a5366; background: #eef1f6; border-radius: 4px; padding: 0 5px; margin-left: 2px; vertical-align: 1px; text-decoration: none; }
.pv-founder-tag { display: inline-block; font-size: .72em; font-weight: 800; color: #14213d; background: #e8a317; border-radius: 4px; padding: 1px 6px; margin-left: 2px; vertical-align: 1px; letter-spacing: .03em; }

/* Your Topics: ranked list (My Account) */
.pv-rank { list-style: none; margin: 0; padding: 0; }
.pv-rank li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef0f3; }
.pv-rank-no { width: 28px; height: 28px; border-radius: 50%; background: #eef1f6; color: #4a5366; font-weight: 800; font-size: .82rem; display: flex; align-items: center; justify-content: center; }
.pv-rank li.is-top .pv-rank-no { background: var(--pv-ink); color: var(--pv-gold); }
.pv-rank-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pv-rank-name { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--pv-ink); }
.pv-rank-name i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pv-rank-bar { display: block; height: 6px; background: #eef1f6; border-radius: 3px; overflow: hidden; }
.pv-rank-bar span { display: block; height: 100%; border-radius: 3px; }
.pv-rank-num { text-align: right; line-height: 1.2; }
.pv-rank-num strong { display: block; color: var(--pv-ink); }
.pv-rank-num small { color: var(--pv-muted); font-size: .78rem; white-space: nowrap; }

/* Votes Most On: donut (public profile) */
.pv-donut { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin: 4px 0 24px; }
.pv-donut-ring { position: relative; width: 140px; height: 140px; flex: none; }
.pv-donut-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pv-donut-mid strong { font-size: 1.7rem; line-height: 1; color: var(--pv-ink); }
.pv-donut-mid span { font-size: .78rem; color: var(--pv-muted); }
.pv-donut-legend { list-style: none; margin: 0; padding: 0; flex: 1 1 200px; min-width: 0; }
.pv-donut-legend li { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.pv-donut-legend i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.pv-donut-legend span { flex: 1; font-weight: 700; color: var(--pv-ink); }
.pv-donut-legend em { font-style: normal; color: var(--pv-muted); font-size: .9rem; }

/* Vote confirmation */
.pv-confirm { margin-top: 14px; background: #fff7e6; border: 1px solid #f1d28a; border-left: 4px solid var(--pv-gold); border-radius: 12px; padding: 14px 16px; }
.pv-confirm-q { margin: 0 0 12px; line-height: 1.45; }
.pv-confirm-q strong { color: var(--pv-ink); font-size: 1.05rem; }
.pv-confirm-q span:not(.pv-confirm-pick) { display: block; color: #6b5420; font-size: .92rem; margin-top: 2px; }
.pv-confirm-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pv-confirm-btns .pv-btn { margin: 0; min-height: 44px; }

/* Tile: topic badge and bill details on one line, so titles line up across tiles */
.pv-tile-meta { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; min-height: 28px; min-width: 0; }
.pv-tile-meta .pv-badge { margin: 0; flex: none; }
.pv-tile-meta .pv-num { margin: 0; white-space: nowrap; font-size: .8rem; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* Share icons (1.4.4) */
.pv-share.pv-share-icons { gap: .55rem; margin: 1.25rem 0 1rem; }
.pv-share-btn.is-icon {
	display: inline-flex; align-items: center; justify-content: center; position: relative;
	width: 40px; height: 40px; padding: 0; border-radius: 50%; line-height: 0;
}
.pv-share-btn.is-icon svg { width: 20px; height: 20px; fill: currentColor; }
.pv-share-copy svg, .pv-native svg { fill: none; }
.pv-share-btn.is-icon:hover { transform: translateY(-1px); }
.pv-share-copy.is-copied { background: #1f7a3d; border-color: #1f7a3d; color: #fff !important; }
.pv-share-copy.is-copied::after {
	content: "Copied"; position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
	background: var(--pv-ink); color: #fff; font-size: .72rem; font-weight: 700; line-height: 1; padding: .3rem .45rem; border-radius: 4px; white-space: nowrap;
}
.pv-share-icons .pv-comments-jump { margin-left: auto; }
@media (max-width: 520px) { .pv-share-icons .pv-comments-jump { margin-left: 0; flex-basis: 100%; } }

/* Sticky header (1.4.6) */
html { scroll-padding-top: 84px; }
header.wp-block-template-part {
	position: sticky; top: var(--lmv-sticky-top, 0px); z-index: 1000; margin-top: 0 !important;
	transition: transform .25s ease, box-shadow .2s ease;
}
body.lmv-scrolled header.wp-block-template-part { box-shadow: 0 2px 14px rgba(10, 18, 40, .28); }
.lmv-header .alignwide, .lmv-header .custom-logo, .lmv-header .lmv-wm-tag { transition: padding .2s ease, width .2s ease, height .2s ease, opacity .2s ease, max-height .2s ease; }
.lmv-header .lmv-wm-tag { max-height: 20px; overflow: hidden; }
@media (max-width: 781px) {
	body.lmv-hide-header header.wp-block-template-part { transform: translateY(-100%); box-shadow: none; }
}
body.pv-single .wp-block-comments { scroll-margin-top: 84px; }
@media (max-width: 600px) { header.wp-block-template-part { top: 0 !important; } }
.lmv-header .wp-block-navigation-item__content { font-weight: 700; }

/* Header search (1.5.0) */
.lmv-search { position: relative; display: flex; align-items: center; margin: 0 22px 0 0 !important; }
.lmv-search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer; }
.lmv-search-toggle:hover, .lmv-search.is-open .lmv-search-toggle { background: rgba(255,255,255,.12); }
.lmv-search-field { display: flex; align-items: center; width: 0; overflow: hidden; opacity: 0; transition: width .22s ease, opacity .18s ease; }
.lmv-search.is-open .lmv-search-field { width: 230px; opacity: 1; }
.lmv-search input[type="search"] { width: 100%; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: .92rem; outline: none; }
.lmv-search input[type="search"]::placeholder { color: #b8c2db; }
.lmv-search input[type="search"]:focus { border-color: #e9a93a; background: rgba(255,255,255,.16); }
@media (max-width: 781px) {
	.lmv-search { position: static; }
	.lmv-search-field { position: absolute; left: 0; right: 0; top: 100%; width: auto !important; padding: 0 16px; max-height: 0; background: #14213d; box-shadow: 0 8px 14px rgba(10,18,40,.3); transition: max-height .22s ease, opacity .18s ease, padding .22s ease; }
	.lmv-search.is-open .lmv-search-field { max-height: 70px; padding: 10px 16px 14px; }
	.lmv-search input[type="search"] { height: 42px; font-size: 16px; }
}
.pv-search-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 18px; padding: 14px 18px; background: #eef1fb; border-radius: 12px; }
.pv-search-head p { margin: 0; font-weight: 700; }
/* Footer donate */
.lmv-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.lmv-donate { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #e9a93a; color: #14213d !important; font-weight: 800; text-decoration: none !important; }
.lmv-donate:hover { background: #f2bd5c; }

/* Donate page (1.5.1) */
.pv-donate-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 8px 0 18px; }
.pv-donate-opt { background: #fff; border: 1px solid #d9dff0; border-radius: 14px; padding: 22px; box-shadow: 0 2px 10px rgba(20,33,61,.06); display: flex; flex-direction: column; align-items: flex-start; }
.pv-donate-opt h3 { margin: 10px 0 6px; font-size: 1.15rem; }
.pv-donate-opt p { margin: 0 0 16px; color: #4a5470; font-size: .95rem; flex: 1; }
.pv-donate-ico { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: #eef1fb; color: #2f4fb5; }
.pv-donate-paypal .pv-donate-ico { background: #e8f1fb; color: #003087; }
.pv-donate-other .pv-donate-ico { background: #fdf3e1; color: #b9791a; }
.pv-donate-note { font-size: .85rem; }
.pv-donate-soon p { margin: 0; }

/* Suggest a Topic (1.5.3) */
.pv-suggest-form .pv-field { display: block; margin-bottom: 16px; }
.pv-suggest-form textarea { width: 100%; font: inherit; font-size: .95rem; line-height: 1.5; padding: 10px 12px; border: 1px solid #cfd6e6; border-radius: 10px; resize: vertical; box-sizing: border-box; }
.pv-suggest-form .pv-field small { display: block; text-align: right; margin-top: 4px; }
.pv-my-suggestions ul { list-style: none; margin: 0; padding: 0; }
.pv-my-suggestions li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #eceff6; }
.pv-my-suggestions li:first-child { border-top: 0; }
.pv-sug-q { font-weight: 600; }
.pv-sug-meta { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: #6b7590; font-size: .85rem; }
.pv-sug-new { background: #eef1fb; color: #2f4fb5; }
.pv-sug-declined { background: #f1f2f5; color: #6b7590; }
.pv-suggest-cta { text-align: center; margin: 28px 0 8px; font-weight: 600; }
.pv-suggest-cta a { color: var(--pv-accent, #2f4fb5); }
@media (max-width: 600px) { .pv-my-suggestions li { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* Public profile layout (1.5.5) — matches the approved mockup */
.pv-pub { color: #14213d; font-size: 16px; font-weight: 400; line-height: 1.5; }
.pv-pub .pv-pub-head { border-bottom: 1px solid #e3e7ef; padding-bottom: 20px; margin-bottom: 22px; }
.pv-pub .pv-acct-name { margin: 0; font-size: 2.1rem; font-weight: 800; line-height: 1.15; }
.pv-pub-sub { margin: 4px 0 0; color: #4a5366; }
.pv-pub-sub strong { color: #14213d; }
.pv-pub .pv-pub-stats { grid-template-columns: repeat(3, 1fr); margin: 0 0 22px; }
.pv-pub h2 { font-size: 1.4rem !important; font-weight: 800 !important; line-height: 1.2; letter-spacing: normal; margin: 0 0 12px; }
.pv-pub-badges { margin-bottom: 22px; }
.pv-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pv-pill { display: inline-flex; align-items: center; gap: 8px; background: #fffaf0; border: 1px solid #f0d58c; color: #14213d; border-radius: 999px; padding: 5px 14px 5px 5px; font-weight: 800; font-size: .9rem; }
.pv-pill-ico { background: #e8a317; color: #14213d; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 800; flex: none; }
.pv-pill.is-special { background: linear-gradient(160deg, #14213d, #22356b); border-color: #e8a317; color: #fff; }
.pv-pub-grid { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 22px; }
.pv-pub-left { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pv-pub-card { background: #fff; border: 1px solid #d9dff0; border-radius: 14px; padding: 20px 22px; box-shadow: 0 2px 10px rgba(20,33,61,.05); min-width: 0; }
.pv-pub-card h2 { margin-bottom: 14px; }
.pv-pub .pv-donut { border: 0 !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; background: none !important; width: auto !important; max-width: none !important; display: flex; align-items: center; gap: 24px; flex-wrap: nowrap; }
.pv-pub .pv-donut-legend { flex: 1 1 auto; width: auto !important; max-width: none !important; }
.pv-pub .pv-donut-legend em { white-space: nowrap; }
.pv-pub-private { margin: 0; color: #4a5366; }
.pv-pub-vlist { list-style: none; margin: 0; padding: 0; }
.pv-pub-vlist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #eef0f3; font-size: .95rem; }
.pv-pub-vlist li:first-child { border-top: 0; padding-top: 0; }
.pv-pub-vlist a { color: #14213d; font-weight: 700; text-decoration: none; }
.pv-pub-clist { list-style: none; margin: 0; padding: 0; }
.pv-pub-clist li { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid #eef0f3; }
.pv-pub-clist li:first-child { padding-top: 0; }
.pv-pub-clist li:last-child { border-bottom: 0; padding-bottom: 0; }
.pv-pub-cmeta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .78rem; color: #6b7385; }
.pv-pub-tag { --tc: #2f4fb5; color: var(--tc); background: color-mix(in srgb, var(--tc) 16%, #fff); font-size: .7rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.pv-pub-ctitle { color: #14213d !important; font-weight: 800; font-size: 1rem; line-height: 1.4; text-decoration: none !important; }
.pv-pub-ctitle:hover { color: #2f4fb5 !important; }
.pv-pub-ctext { margin: 0; color: #2b3447; font-size: .95rem; line-height: 1.5; }
.pv-pub-creplies { font-size: .78rem; color: #6b7385; }
.pv-pub-note { background: #f4f6fb; border-radius: 12px; padding: 14px 18px; color: #4a5366; font-size: .88rem; line-height: 1.6; }
.pv-pub-note strong { color: #14213d; }
@media (max-width: 860px) {
	.pv-pub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.pv-pub .pv-pub-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.pv-pub .pv-pub-stats > div { padding: 12px; }
	.pv-pub .pv-pub-stats strong { font-size: 1.4rem; }
	.pv-pub .pv-donut { flex-wrap: wrap; justify-content: center; }
}
.pv-pub .pv-donut-legend li { padding: 4px 0; font-size: 1rem; }
.pv-pub .pv-donut-legend em { font-size: .88rem; }
/* Public profile tweaks (1.5.7) */
.pv-pub .pv-donut { gap: 28px; }
.pv-pub .pv-donut-legend { flex: 0 1 230px; margin-right: 12px !important; }
.pv-pub .pv-donut-legend li { gap: 10px; }
.pv-pub .pv-donut-legend em { padding-left: 14px; }
.pv-pub-vlist li { padding: 7px 0; font-size: .82rem; line-height: 1.35; }
.pv-pub-vlist a { font-weight: 600; }
.pv-pub-vlist .pv-mychoice { font-size: .72rem; padding: 2px 9px; line-height: 1.4; max-width: 45%; text-align: center; flex: none; }
.pv-pub.pv-public .pv-donut { gap: 24px !important; }
.pv-pub.pv-public .pv-donut .pv-donut-legend { width: auto !important; max-width: none !important; min-width: 0 !important; flex: 1 1 auto !important; margin: 0 14px 0 0 !important; }

/* Settings tab redesign (1.6.0) */
.pv-settings { max-width: 860px; }
.pv-set-top { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.pv-set-top h2 { margin: 0; }
.pv-set-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-set-jump a { font-size: .85rem; font-weight: 700; color: #2f4fb5; background: #eef1fb; border-radius: 999px; padding: 6px 14px; text-decoration: none; }
.pv-set-jump a:hover { background: #dce4fb; }
.pv-set-card { display: block; background: #fff; border: 1px solid #d9dff0; border-radius: 14px; box-shadow: 0 2px 10px rgba(20,33,61,.05); margin: 0 0 20px; scroll-margin-top: 96px; overflow: hidden; }
.pv-set-head { padding: 18px 24px 14px; border-bottom: 1px solid #eef0f4; }
.pv-set-head h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.pv-set-head p { margin: 3px 0 0; color: #5b6477; font-size: .88rem; }
.pv-set-body { padding: 6px 24px 18px; }
.pv-set-body .pv-field { margin: 14px 0 0; }
.pv-set-body .pv-field > span { font-size: .85rem; }
.pv-set-body .pv-field input, .pv-set-body .pv-field select { font-size: .95rem; }
.pv-set-sub { margin: 20px 0 0; padding-top: 16px; border-top: 1px dashed #e3e7ef; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6b7590; }
.pv-set-body > .pv-set-sub:first-child { border-top: 0; padding-top: 8px; margin-top: 8px; }
.pv-hint { margin: 8px 0 0; color: #6b7590; font-size: .82rem; line-height: 1.5; }
.pv-hint-top { margin-top: 4px; }
.pv-set-foot { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 14px 24px; background: #f8f9fc; border-top: 1px solid #eef0f4; }
.pv-set-foot .pv-msg { margin: 0 auto 0 0; }
.pv-set-foot .pv-btn { margin: 0; }
.pv-set-foot-quiet { padding: 0 24px; min-height: 0; background: none; border-top: 0; }
.pv-set-foot-quiet .pv-msg:not([hidden]) { margin: 0 0 14px; }
.pv-btn.pv-btn-sm { padding: 8px 16px; font-size: .88rem; }
/* Profile */
.pv-settings .pv-photo-edit { gap: 18px; margin: 14px 0 4px; }
.pv-photo-actions { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pv-photo-actions .pv-btn { margin: 0 !important; }
.pv-set-inline { margin-top: 4px; padding-top: 4px; border-top: 1px dashed #e3e7ef; }
.pv-inline-row { display: flex !important; gap: 10px; align-items: stretch; margin: 0 !important; font-weight: inherit !important; }
.pv-inline-row input { flex: 1; min-width: 0; max-width: 320px; }
.pv-inline-row .pv-btn { margin: 0; white-space: nowrap; }
.pv-set-link { margin: 14px 0 0; font-size: .9rem; font-weight: 700; }
.pv-set-link a { text-decoration: none; }
/* Locked info */
.pv-locked-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.pv-locked { display: flex; flex-direction: column; gap: 2px; background: #f6f7fa; border: 1px solid #eceef3; border-radius: 10px; padding: 10px 14px; }
.pv-locked span { font-size: .78rem; color: #6b7590; }
.pv-locked strong { font-size: .95rem; }
.pv-locked .pv-lock { align-self: flex-start; margin: 4px 0 0; font-style: normal; }
.pv-field > span .pv-lock { font-style: normal; margin-left: 6px; }
/* Switches */
.pv-switches { padding-top: 4px; padding-bottom: 8px; }
.pv-switch { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid #f0f2f6; cursor: pointer; }
.pv-switch:first-child { border-top: 0; }
.pv-switch-text { display: flex; flex-direction: column; gap: 2px; }
.pv-switch-text strong { font-size: .95rem; }
.pv-switch-text small { color: #6b7590; font-size: .82rem; }
.pv-switch input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: #cfd5e2; margin: 0; cursor: pointer; transition: background .18s ease; }
.pv-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s ease; }
.pv-switch input:checked { background: #2f4fb5; }
.pv-switch input:checked::after { transform: translateX(18px); }
.pv-switch input:focus-visible { outline: 2px solid #e8a317; outline-offset: 2px; }
.pv-set-help { color: #6b7590; font-size: .85rem; margin: 4px 0 0; }
@media (max-width: 560px) {
	.pv-set-head, .pv-set-body { padding-left: 16px; padding-right: 16px; }
	.pv-set-foot { padding: 12px 16px; }
	.pv-locked-grid { grid-template-columns: 1fr; }
	.pv-inline-row input { max-width: none; }
}
.pv-set-card.pv-prefs { display: block; max-width: none; gap: 0; }
.pv-set-card.pv-password-form { max-width: none; } .pv-set-card.pv-password-form .pv-set-body { max-width: 520px; } .pv-set-card.pv-details-form { margin-bottom: 20px; }
.pv-set-top h2 { font-weight: 800; } .pv-switch-text strong, .pv-locked strong, .pv-set-head h3 { font-weight: 700; } .pv-set-head h3 { font-weight: 800; }

/* Close account (1.6.2) */
.pv-close-form { border-color: #f0c9c4; }
.pv-close-form .pv-set-head h3 { color: #a3271b; }
.pv-close-list { margin: 12px 0 4px; padding-left: 18px; color: #3d4659; font-size: .9rem; line-height: 1.6; }
.pv-close-confirm { margin: 14px 0 4px; }
.pv-close-confirm > summary { list-style: none; display: inline-flex; cursor: pointer; }
.pv-close-confirm > summary::-webkit-details-marker { display: none; }
.pv-close-confirm[open] > summary { margin-bottom: 14px; }
.pv-btn.pv-btn-danger-ghost { background: #fff !important; color: #a3271b !important; border: 1px solid #e3a39b !important; font-size: .9rem; padding: 9px 16px; }
.pv-btn.pv-btn-danger-ghost:hover { background: #fdf1ef !important; }
.pv-btn.pv-btn-danger { background: #b3261e !important; color: #fff !important; border-color: #b3261e !important; }
.pv-btn.pv-btn-danger:disabled { opacity: .45; cursor: not-allowed; }
.pv-close-box { background: #fdf6f5; border: 1px solid #f3d6d2; border-radius: 12px; padding: 14px 18px 18px; max-width: 520px; }
.pv-close-comments { border: 0; margin: 0 0 4px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.pv-close-comments legend { font-weight: 700; font-size: .85rem; margin-bottom: 6px; padding: 0; }
.pv-close-comments label { display: flex; gap: 8px; align-items: center; }
.pv-close-box .pv-btn { margin-top: 14px; }

/* My Votes redesign (1.6.3) */
.pv-myvotes { max-width: 900px; }
.pv-mv-head h2 { margin: 0; font-weight: 800; }
.pv-mv-private { margin: 4px 0 0; font-size: .85rem; color: #6b7590; }
.pv-mv-private a { font-weight: 700; margin-left: 4px; }
.pv-mv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.pv-mv-stats > div { background: #f4f6fb; border-radius: 12px; padding: 14px 16px; }
.pv-mv-stats strong { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.1; color: #14213d; }
.pv-mv-stats span { font-size: .82rem; color: #5b6477; }
.pv-mv-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 14px; }
.pv-mv-search { position: relative; display: flex; align-items: center; flex: 0 1 240px; color: #6b7590; }
.pv-mv-search svg { position: absolute; left: 11px; pointer-events: none; }
.pv-mv-search input { width: 100%; height: 38px; padding: 0 12px 0 32px; border: 1px solid #cfd6e6; border-radius: 999px; font: inherit; font-size: .9rem; background: #fff; box-sizing: border-box; }
.pv-mv-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; }
.pv-mv-chips button { --tc: #14213d; border: 1px solid #d9dff0; background: #fff; color: #3d4659; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.pv-mv-chips button:hover { border-color: var(--tc); }
.pv-mv-chips button.is-on { background: var(--tc); border-color: var(--tc); color: #fff; }
.pv-mv-tools select { height: 38px; border: 1px solid #cfd6e6; border-radius: 10px; padding: 0 10px; font: inherit; font-size: .85rem; background: #fff; margin-left: auto; }
.pv-mv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pv-mv-item { --tc: #9aa3b5; display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; align-items: center; background: #fff; border: 1px solid #e1e5ef; border-left: 4px solid var(--tc); border-radius: 12px; padding: 14px 18px; }
.pv-mv-item[hidden] { display: none; }
.pv-mv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .75rem; color: #6b7590; margin-bottom: 4px; }
.pv-mv-tag { color: var(--tc); background: color-mix(in srgb, var(--tc) 14%, #fff); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .66rem; padding: 2px 7px; border-radius: 4px; }
.pv-mv-closed { background: #f0f1f4; color: #5b6477; font-weight: 700; padding: 1px 7px; border-radius: 4px; }
.pv-mv-title { display: block; color: #14213d !important; font-weight: 700; font-size: .95rem; line-height: 1.35; text-decoration: none !important; }
.pv-mv-title:hover { color: #2f4fb5 !important; }
.pv-mv-side { display: flex; flex-direction: column; gap: 6px; }
.pv-mv-choice { font-size: .88rem; font-weight: 800; color: #1d3a8f; line-height: 1.25; }
.pv-mv-choice small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8a93a6; margin-bottom: 1px; }
.pv-mv-bar { height: 6px; background: #eef1f6; border-radius: 3px; overflow: hidden; }
.pv-mv-bar span { display: block; height: 100%; background: #2f4fb5; border-radius: 3px; }
.pv-mv-agree { font-size: .74rem; color: #6b7590; }
.pv-mv-agree.is-major { color: #1a7a45; }
.pv-mv-more { display: block; margin: 16px auto 0; }
.pv-mv-none { color: #6b7590; text-align: center; padding: 20px 0; }
.pv-mv-empty { text-align: center; background: #f8f9fc; border: 1px dashed #d4dae6; border-radius: 14px; padding: 32px 20px; margin-top: 18px; }
.pv-mv-empty strong { font-size: 1.1rem; }
.pv-mv-empty p { color: #5b6477; margin: 6px 0 16px; }
@media (max-width: 640px) {
	.pv-mv-item { grid-template-columns: 1fr; gap: 10px; }
	.pv-mv-tools select { margin-left: 0; }
	.pv-mv-search { flex: 1 1 100%; }
	.pv-mv-stats { gap: 8px; }
	.pv-mv-stats > div { padding: 12px; }
	.pv-mv-stats strong { font-size: 1.25rem; }
}


/* Member number above "Member since" (1.6.6) */
.pv-acct-id .pv-memline { margin: 6px 0 0 !important; font-size: 1rem; line-height: 1.3; color: #14213d; }
.pv-acct-id .pv-memline .pv-memno { font-weight: 800; color: #14213d; }
.pv-acct-id .pv-sinceline { margin: 2px 0 0 !important; font-size: .88rem; line-height: 1.4; color: #6b7590; font-weight: 400; }
.pv-acct-id .pv-acct-name { margin-left: -0.045em !important; } /* optical: the T's crossbar reads as indented next to the M stems */
.pv-acct-id .pv-acct-name { line-height: 1.05 !important; margin-bottom: 0 !important; } .pv-acct-id .pv-memline { margin-top: 3px !important; }

/* Space below the tab line on every My Account tab (1.6.9) */
.pv-account .pv-panel { padding-top: 22px; }
.pv-badge-summary .pv-medal-row .pv-medal { margin-bottom: 0; flex: none; }
@media (max-width: 600px) {
	.pv-badge-summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 12px; padding: 14px 16px; }
	.pv-badge-summary > div:first-child { grid-column: 1; grid-row: 1; }
	.pv-badge-summary > .pv-btn { grid-column: 2; grid-row: 1; margin: 0; padding: 8px 12px; font-size: .82rem; white-space: nowrap; }
	.pv-badge-summary .pv-medal-row { grid-column: 1 / -1; grid-row: 2; gap: 5px; }
	.pv-badge-summary .pv-medal-row .pv-medal { width: 26px; height: 26px; font-size: .62rem; }
	.pv-badge-summary h2 { font-size: 1.2rem; }
}

/* ===== Site-wide polish (1.7.0): one type scale, consistent spacing ===== */
/* Body copy: regular weight and a comfortable size everywhere (the theme default was 22px / light). */
body { font-weight: 400; font-size: 17px; }
.pv-muted { font-weight: 400; }
/* Buttons and form fields use the site font instead of the browser's Arial. */
button, input, select, textarea, .pv-btn, .pv-share-btn { font-family: inherit; }
/* Page titles: one size and weight on every page. */
h1.wp-block-post-title { font-size: clamp(1.85rem, 1.25rem + 2vw, 2.4rem) !important; font-weight: 800 !important; line-height: 1.15 !important; letter-spacing: -0.02em; }
/* Section headings: bold, never light. */
main h2, main h3, .pv-card h2, .pv-card h3, .wp-block-comments h2, .comment-reply-title { font-weight: 800 !important; letter-spacing: -0.01em; }
.pv-card > h2:first-child, .pv-auth h2 { font-size: 1.35rem; }
/* Same gap under the header on every regular page. */
body.page:not(.home) main.wp-block-group { margin-top: 0 !important; }
body.page:not(.home) main.wp-block-group > .wp-block-group:first-child { padding-top: 2.25rem !important; }
/* Jetpack's extra share/like row on pages duplicated our own sharing; hide it. */
main ul.wp-block-jetpack-sharing-buttons, .wp-block-jetpack-like { display: none !important; }
/* Small text that was oversized. */
.pv-suggest-cta { font-size: 1rem !important; }
.comment-reply-title { font-size: 1.15rem !important; }
.must-log-in, .logged-in-as { font-size: .95rem !important; }
.pv-msg { font-size: .95rem; }
/* About page: headlines in the site font, matching every other page. */
.lmv-about .lmv-about-lead, .lmv-about-cta h3 { font-family: Manrope, sans-serif !important; font-weight: 800 !important; letter-spacing: -0.02em; }
.lmv-about .lmv-about-lead { font-size: clamp(1.85rem, 1.25rem + 2vw, 2.4rem) !important; line-height: 1.15; }

@media (max-width: 600px) {
	/* Topic tabs: one swipeable row instead of three stacked rows. */
	/* Profile header: photo beside the name, not above it. */
	.pv-acct-head { flex-wrap: wrap !important; gap: 12px 14px !important; }
	.pv-acct-head .pv-acct-id { flex: 1 1 0 !important; min-width: 0; }
	.pv-acct-head .pv-avatar, .pv-acct-head .pv-avatar-img, .pv-acct-head .pv-avatar-link { width: 60px !important; height: 60px !important; flex: none; }
	.pv-acct-head .pv-acct-name { font-size: 1.6rem !important; }
	.pv-acct-head .pv-acct-links { flex-basis: 100%; }
	.pv-acct-head .pv-acct-links .pv-btn { width: 100%; text-align: center; box-sizing: border-box; }
	.pv-stats span, .pv-mv-stats span { font-size: .75rem; }
	.pv-stats strong { font-size: 1.4rem; }
}
/* Branded 404 page */
.lmv-404 { max-width: 560px; margin: 0 auto; padding: 8px 20px 56px; text-align: center; }
.lmv-404-icon { display: flex; justify-content: center; margin-bottom: 10px; }
.lmv-404-kicker { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .18em; color: #2f4fb5; }
.lmv-404-title { margin: 6px 0 10px; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: #14213d; }
.lmv-404-text { margin: 0 auto 22px; color: #4a5366; max-width: 440px; line-height: 1.6; }
.lmv-404-search { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.lmv-404-search input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid #cfd6e6; border-radius: 999px; font: inherit; font-size: 1rem; }
.lmv-404-search .pv-btn { margin: 0; border-radius: 999px; padding: 0 22px; }
.lmv-404-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin: 22px 0 0; font-weight: 700; }
.lmv-404-links a { text-decoration: none; }

/* 1.7.3: shorter, cleaner comment box on poll pages. */
body.pv-single .comment-respond { margin-top: 14px !important; }
body.pv-single .pv-reply-title { font-size: .95rem !important; font-weight: 700 !important; margin: 0 0 8px !important; display: flex; gap: 10px; align-items: baseline; }
body.pv-single .pv-reply-title:has(#cancel-comment-reply-link[style*="none"]) { display: none; }
body.pv-single .pv-reply-title small a { font-size: .85rem; font-weight: 600; }
body.pv-single .pv-comment-form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
body.pv-single .pv-comment-form p { margin: 0 !important; }
body.pv-single .pv-comment-form textarea { width: 100%; box-sizing: border-box; min-height: 84px; padding: 12px 14px; border: 1px solid #cfd6e6; border-radius: 10px; font-size: 1rem; line-height: 1.45; resize: vertical; background: #fff; transition: border-color .15s, box-shadow .15s; }
body.pv-single .pv-comment-form textarea:focus { outline: none; border-color: var(--pv-accent, #2f4fb5); box-shadow: 0 0 0 3px rgba(47,79,181,.15); }
body.pv-single .pv-comment-form .form-submit { display: flex; justify-content: flex-end; }
body.pv-single .pv-comment-form .form-submit input[type=submit], body.pv-single .pv-comment-form .form-submit button { padding: 9px 22px !important; border-radius: 8px !important; font-size: .95rem !important; font-weight: 700 !important; }
body.pv-single .comment-respond .must-log-in { margin: 0 !important; }
body.pv-single .comment-respond .comment-subscription-form, body.pv-single .comment-respond .akismet_comment_form_privacy_notice, body.pv-single .comment-respond .comment-notes, body.pv-single .comment-respond .logged-in-as, body.pv-single .comment-respond .required-field-message { display: none !important; }

/* 1.8.0: follow topics. */
.pv-follow-bar { --tc: #2f4fb5; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 4px 0 18px; padding: 10px 12px 10px 14px; background: #fff; border: 1px solid #d9dff0; border-left: 4px solid var(--tc); border-radius: 10px; }
.pv-follow-bar[hidden] { display: none; }
.pv-follow-icon { color: var(--tc); display: inline-flex; flex: none; }
.pv-follow-text { margin: 0; flex: 1 1 220px; font-size: .92rem; line-height: 1.4; color: #4a5368; }
.pv-follow-text strong { color: #14213d; }
.pv-follow-btn { flex: none; display: inline-flex; align-items: center; padding: 7px 16px; border-radius: 999px; border: 1.5px solid var(--tc); background: var(--tc); color: #fff !important; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; text-decoration: none !important; min-width: 96px; justify-content: center; transition: background .15s, color .15s; }
.pv-follow-bar.is-on .pv-follow-btn { background: #fff; color: var(--tc) !important; }
.pv-follow-bar.is-on .pv-follow-btn:hover { border-color: #b42318; color: #b42318 !important; }
.pv-follow-btn:disabled { opacity: .6; cursor: wait; }
.pv-follow-msg { flex-basis: 100%; font-size: .82rem; color: #6b7590; }
.pv-follow-msg:empty { display: none; }
.pv-follow-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pv-follow-chip { --tc: #6b7385; position: relative; cursor: pointer; }
.pv-follow-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pv-follow-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid #d9dff0; background: #fff; font-size: .9rem; font-weight: 600; color: #4a5368; transition: all .15s; }
.pv-follow-chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); }
.pv-follow-chip input:checked + span { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 12%, #fff); color: #14213d; }
.pv-follow-chip input:checked + span::after { content: "✓"; font-weight: 800; color: var(--tc); }
.pv-follow-chip input:focus-visible + span { outline: 2px solid var(--pv-accent, #2f4fb5); outline-offset: 2px; }
.pv-follow-note { margin: 12px 0 0; font-size: .82rem; color: #6b7590; }
.pv-follow-foot { justify-content: flex-start; }
.pv-follow-foot .pv-link { margin: 0; font-size: .88rem; }
.pv-follow-foot .pv-msg { margin: 0 0 0 auto !important; }
.pv-unfollow-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pv-unfollow-box .pv-btn { margin: 0; }
/* Footer: follow-us icons. */
.lmv-socials { display: inline-flex; gap: 8px; align-items: center; }
.lmv-footer-links a.lmv-social { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff !important; text-decoration: none !important; transition: background .15s; }
.lmv-footer-links a.lmv-social:hover { background: rgba(255,255,255,.22); }

/* 1.9.0: people. */
.pv-person { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; background: #fff; border: 1px solid #d9dff0; border-radius: 999px; text-decoration: none !important; color: #14213d; transition: border-color .15s, box-shadow .15s; }
.pv-person:hover { border-color: var(--pv-accent, #2f4fb5); box-shadow: 0 2px 8px rgba(20,33,61,.08); }
.pv-person .pv-avatar { flex: none; border-radius: 50%; }
.pv-person-name { font-weight: 800; font-size: .95rem; }
.pv-person-sub { font-size: .78rem; color: #6b7590; font-weight: 600; }
.pv-people-hits { margin: 0 0 22px; padding: 16px 18px; background: #fff; border: 1px solid #d9dff0; border-radius: 14px; }
.pv-people-hits h2 { margin: 0 0 12px !important; font-size: .78rem !important; letter-spacing: .08em; text-transform: uppercase; color: #6b7590; }
.pv-people-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pv-people-row .pv-person { flex-wrap: wrap; row-gap: 0; }
.pv-people-row .pv-person-name { margin-right: 2px; }
.pv-people-all { display: inline-block; margin-top: 12px; font-size: .88rem; font-weight: 700; color: var(--pv-accent, #2f4fb5); text-decoration: none; }
.wp-block-comment-author-name a, .pv-notes strong a { color: inherit; text-decoration: none; }
.wp-block-comment-author-name a:hover, .pv-notes strong a:hover { text-decoration: underline; }
.pv-avatar-to-profile { display: inline-block; border-radius: 50%; line-height: 0; }

/* Members directory */
.pv-members-tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.pv-members-search { position: relative; flex: 1 1 260px; max-width: 360px; display: flex; align-items: center; }
.pv-members-search svg { position: absolute; left: 13px; color: #6b7590; pointer-events: none; }
.pv-members-search input { width: 100%; padding: 10px 14px 10px 38px; border: 1px solid #cfd6e6; border-radius: 999px; font-size: .95rem; background: #fff; }
.pv-members-search input:focus { outline: none; border-color: var(--pv-accent, #2f4fb5); box-shadow: 0 0 0 3px rgba(47,79,181,.15); }
.pv-members-sort { display: flex; gap: 4px; background: #eef1f6; padding: 4px; border-radius: 999px; }
.pv-members-sort a { padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 700; color: #4a5368; text-decoration: none; white-space: nowrap; }
.pv-members-sort a.is-active { background: #fff; color: #14213d; box-shadow: 0 1px 3px rgba(20,33,61,.12); }
.pv-members-count { margin: 0 0 14px; font-size: .88rem; color: #6b7590; }
.pv-members-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.pv-member-card { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid #d9dff0; border-radius: 14px; text-decoration: none !important; color: #14213d; height: 100%; box-sizing: border-box; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pv-member-card:hover { border-color: var(--pv-accent, #2f4fb5); box-shadow: 0 4px 14px rgba(20,33,61,.08); transform: translateY(-1px); }
.pv-member-card .pv-avatar { flex: none; border-radius: 50%; }
.pv-member-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pv-member-info strong { font-size: 1rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-member-sub { font-size: .8rem; color: #6b7590; }
.pv-member-stats { font-size: .82rem; color: #4a5368; font-weight: 600; }
.pv-members-pages { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 0; font-size: .9rem; color: #6b7590; }
.pv-members-pages .pv-btn { margin: 0; }
.pv-members-note { margin: 22px 0 0; font-size: .85rem; color: #6b7590; }
@media (max-width: 600px) {
	.pv-members-search { max-width: none; }
	.pv-members-sort { width: 100%; justify-content: space-between; }
	.pv-members-sort a { flex: 1; text-align: center; padding: 6px 8px; }
}

/* Poll page: members who share their votes */
.pv-who-voted { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 10px 14px; background: #fff; border: 1px solid #d9dff0; border-radius: 12px; }
.pv-who-faces { display: inline-flex; flex: none; padding-left: 6px; }
.pv-who-faces a { margin-left: -8px; border-radius: 50%; line-height: 0; border: 2px solid #fff; }
.pv-who-faces .pv-avatar { border-radius: 50%; }
.pv-who-voted p { margin: 0; font-size: .9rem; color: #4a5368; line-height: 1.4; }
.pv-who-voted p a { font-weight: 800; color: #14213d; text-decoration: none; }
.pv-who-voted p a:hover { text-decoration: underline; }

/* 2.0.0: state residency. */
.pv-residency-note { margin: 0 0 14px; padding: 10px 14px; background: #fff7e6; border: 1px solid #f3d595; border-radius: 10px; font-size: .92rem; line-height: 1.45; color: #5c4400; }
.pv-residency-note a { font-weight: 700; color: inherit; }
/* My State tab */
.pv-filters button.pv-f-mystate { display: inline-flex; align-items: center; gap: 5px; }
.pv-filters button.pv-f-mystate svg { flex: none; color: #c0392b; }
.pv-filters button.pv-f-mystate.is-active svg { color: currentColor; }
.pv-empty-state { margin: 8px 0 18px; padding: 14px 16px; background: #fff; border: 1px dashed #c9d2e6; border-radius: 12px; font-size: .95rem; color: #4a5368; }
.pv-empty-state a { font-weight: 700; }

/* 2.0.3: phones get two buttons, Category and Filter, instead of a sideways-scrolling row. */
.pv-cat-menu { display: none; }
@media (max-width: 600px) {
	.pv-filters { position: relative; flex-wrap: nowrap !important; overflow: visible !important; gap: 10px !important; border-bottom: 0 !important; margin: 18px 0 18px !important; }
	.pv-filters > button { display: none !important; }
	.pv-cat-menu, .pv-filters .pv-filter-menu { display: block; position: static; flex: 1 1 0; min-width: 0; margin: 0; padding: 0; background: none; }
	.pv-cat-menu summary, .pv-filters .pv-filter-menu summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #c9d2e6; border-radius: 10px; background: #fff; font-weight: 700; font-size: .95rem; color: var(--pv-ink); cursor: pointer; }
	.pv-cat-menu summary::-webkit-details-marker { display: none; }
	.pv-cat-menu[open] summary, .pv-filters .pv-filter-menu[open] summary { border-color: var(--pv-ink); box-shadow: 0 0 0 1px var(--pv-ink) inset; }
	.pv-cat-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
	.pv-cat-menu .pv-chev { flex: none; transition: transform .15s; }
	.pv-cat-menu[open] .pv-chev { transform: rotate(180deg); }
	.pv-cat-panel, .pv-filters .pv-filter-panel { position: absolute !important; left: 0 !important; right: 0 !important; top: calc(100% + 8px) !important; width: auto !important; max-width: none !important; z-index: 30; background: #fff; border: 1px solid #dde1e8; border-radius: 12px; box-shadow: 0 14px 36px rgba(20,33,61,.18); box-sizing: border-box; }
	.pv-cat-panel { padding: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; max-height: 70vh; overflow-y: auto; }
	.pv-filters .pv-cat-panel button, .pv-filters .pv-cat-panel button.is-active { display: flex !important; align-items: center; gap: 6px; width: 100%; padding: 12px 12px !important; margin: 0 !important; border: 0 !important; border-radius: 8px !important; background: none !important; font-size: .98rem; font-weight: 600; color: var(--pv-ink) !important; text-align: left; }
	.pv-filters .pv-cat-panel button.is-active { background: #eef1fb !important; color: var(--pv-accent, #2f4fb5) !important; font-weight: 800; }
	.pv-filters .pv-cat-panel button.is-active::after { content: "✓"; margin-left: auto; font-weight: 800; }
	.pv-filters .pv-cat-panel button[data-topic="all"], .pv-filters .pv-cat-panel button[data-topic="mystate"] { grid-column: 1 / -1; }
}
/* Filter panel buttons: real buttons, not tab-styled. */
.pv-filters .pv-filter-actions .pv-btn, .pv-filters .pv-filter-actions .pv-btn.is-active { background: var(--pv-accent, #2f4fb5) !important; color: #fff !important; border: 0 !important; border-radius: 8px !important; padding: 8px 20px !important; margin: 0 !important; font-size: .92rem; font-weight: 700; }
.pv-filters .pv-filter-actions .pv-link { border: 0 !important; padding: 8px 0 !important; margin: 0 !important; font-size: .9rem; font-weight: 600; color: var(--pv-muted) !important; text-decoration: underline; }
.pv-share-bluesky { background: #1185fe; color: #fff !important; border-color: #1185fe; }
