/* Voter Roll Duplicate Check: what style.css (the Facts Label Maker's, shared look) doesn't have. */
.stays { margin: 16px 0; padding: 12px 16px; border: 1px solid #9cc7a8; border-left: 6px solid #2f7d4a; background: #eef7f0; border-radius: 8px; }
.stays h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 18px; color: #1f5a33; }
.stays h2 svg { width: 22px; height: 22px; flex: none; }
.stays p { margin: 4px 0; }
.stays .net:empty { display: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px 16px; margin: 16px 0; }
.card h2, h2.sec { margin: 0 0 8px; font-size: 20px; display: flex; align-items: center; gap: 10px; }
h2.sec { margin-top: 22px; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--btn, var(--navy)); color: #fff; font-size: 15px; flex: none; }
.drop { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border: 2px dashed var(--line); border-radius: 8px; }
.drop.over { border-color: var(--navy); background: #eef2fa; }
.filebtn { position: relative; display: inline-block; }
.filebtn input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.filebtn span { display: inline-block; font-weight: 700; border-radius: 6px; padding: 10px 16px; min-height: 44px; box-sizing: border-box; background: var(--btn, var(--navy)); color: #fff; border: 2px solid var(--btn, var(--navy)); }
.filebtn input:focus-visible + span { outline: 3px solid #2f6fd6; outline-offset: 2px; }
.or { color: var(--muted); }
.cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 16px; margin: 10px 0; }
.col label { display: block; font-weight: 700; margin-bottom: 4px; }
.col select { width: 100%; min-height: 40px; }
.scroll { overflow-x: auto; }
table.grid { border-collapse: collapse; width: 100%; font-size: 14px; }
.grid th, .grid td { border: 1px solid var(--line); padding: 5px 8px; text-align: left; vertical-align: top; }
.grid th { background: #eef1f6; white-space: nowrap; }
.peek { margin: 8px 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 8px 0 14px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.tile b { display: block; font-size: 28px; color: var(--navy); }
.tile.hot b { color: #8a4b00; }
.care { margin: 0 0 16px; padding: 10px 16px; background: var(--warnbg); border: 1px solid var(--warnline); border-radius: 8px; }
.care h3 { margin: 0 0 4px; font-size: 16px; }
.care p { margin: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 12px; }
.tabs [role="tab"] { background: transparent; color: var(--navy); border: 2px solid transparent; border-bottom: 0; border-radius: 6px 6px 0 0; }
.tabs [role="tab"][aria-selected="true"] { background: var(--card); border-color: var(--line); }
.tabs .count { font-weight: 400; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 6px 0 10px; }
.filters label { font-weight: 700; }
.filters select, .filters input { min-height: 40px; }
.pair { background: var(--card); border: 1px solid var(--line); border-left: 6px solid #8a9bb8; border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
.pair.likely { border-left-color: #b26a00; }
.pair-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 6px; }
.score b { font-size: 22px; }
.band { font-weight: 700; padding: 1px 8px; border-radius: 10px; background: #e7ebf2; }
.pair.likely .band { background: #fbe9cf; color: #6b3d00; }
.why { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.why li { background: #f2f4f8; border: 1px solid var(--line); border-radius: 12px; padding: 1px 10px; font-size: 14px; }
.home { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin: 8px 0; }
.home summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.home .n { font-size: 22px; min-width: 2.2em; }
.home .addr { font-weight: 700; }
.home .notes { color: var(--muted); font-size: 14px; }
.home .scroll { margin-top: 8px; }
.empty { color: var(--muted); font-style: italic; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stays { background: #15291c; border-color: #2f7d4a; }
  :root:not([data-theme="light"]) .stays h2 { color: #9fe0b2; }
  :root:not([data-theme="light"]) .grid th, :root:not([data-theme="light"]) .why li, :root:not([data-theme="light"]) .band { background: #262d3a; color: inherit; }
  :root:not([data-theme="light"]) .pair.likely .band { background: #4a3210; color: #ffd9a0; }
  :root:not([data-theme="light"]) .tile b { color: #9fb7ea; }
}
.filters select, .filters input { width: auto; max-width: 100%; }
.filters input[type="search"] { min-width: 220px; }
.tabs .count { display: inline; margin-left: 4px; }
.filebtn span { font-size: 1rem; line-height: 1.5; }
