:root {
  --bg: #07111f;
  --panel: #0c1829;
  --panel2: #111f33;
  --line: #26374c;
  --text: #f1f6fc;
  --muted: #91a4ba;
  --blue: #36a9ff;
  --purple: #9e6cff;
  --green: #2dd39a;
  --red: #ff6d78;
  --yellow: #ffc14d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.45 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  color: inherit;
}
header {
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 3vw;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #081321f2;
  backdrop-filter: blur(14px);
  z-index: 20;
}
.brand {
  font-size: 24px;
  font-weight: 900;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -1px;
  margin-right: 35px;
}
.brand span {
  color: white;
}
nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
nav button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 9px 11px;
  border-radius: 7px;
  font-size: 13px;
  cursor: pointer;
}
nav button.active {
  background: var(--panel2);
  color: white;
}
.header-actions {
  display: flex;
  gap: 8px;
}
.primary,
.icon {
  border: 0;
  border-radius: 8px;
  padding: 9px 13px;
  font-weight: 800;
}
.primary {
  background: var(--blue);
  color: #03101d;
}
.icon {
  background: var(--panel2);
  color: white;
}
.icon b {
  background: var(--red);
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 10px;
}
.view {
  display: none;
}
.active-view {
  display: block;
}
.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 32px 4vw 25px;
}
.eyebrow {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.page-head p {
  color: var(--muted);
  margin: 0;
}
.sync {
  display: flex;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 9px;
}
.sync i {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  margin-top: 5px;
}
.sync span {
  display: grid;
}
.sync small {
  color: var(--muted);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--panel);
}
.metrics article {
  padding: 17px 4vw;
  display: grid;
}
.metrics article + article {
  border-left: 1px solid var(--line);
}
.metrics span,
.metrics small {
  font-size: 11px;
  color: var(--muted);
}
.metrics b {
  font-size: 23px;
}
.work {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 660px;
}
.county-map-panel {
  padding: 18px 4vw 0;
}
.map-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  background: var(--panel);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  padding: 16px 18px;
}
.map-toolbar h2 {
  font-size: 18px;
  margin: 0;
}
.map-toolbar label {
  font-size: 11px;
  font-weight: 800;
  min-width: 180px;
}
.map-toolbar select {
  margin-top: 5px;
}
.county-map-wrap {
  position: relative;
  height: min(54vw, 520px);
  min-height: 320px;
  background: radial-gradient(circle at 50% 40%, #102945, #071522);
  border: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}
.county-map-wrap svg {
  width: 100%;
  height: 100%;
}
.map-county {
  fill: #14243a;
  stroke: #4a6079;
  stroke-width: 0.35;
  cursor: pointer;
  transition:
    fill 0.12s,
    opacity 0.12s;
}
.map-county:hover,
.map-county:focus {
  fill: #426183;
  outline: none;
}
.map-county.connected {
  fill: #28537a;
  stroke: #6dc5ff;
}
.map-county.available {
  fill: #148a68;
  stroke: #68f1c4;
}
.map-legend {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 13px;
  background: #07111fdd;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 10px;
}
.map-legend span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.map-legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #14243a;
  border: 1px solid #4a6079;
}
.map-legend i.connected {
  background: #28537a;
  border-color: #6dc5ff;
}
.map-legend i.available {
  background: #148a68;
  border-color: #68f1c4;
}
.map-selection {
  position: absolute;
  right: 14px;
  top: 14px;
  max-width: 300px;
  background: #07111fe8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 11px;
  color: var(--muted);
}
.filters {
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: 21px;
}
.filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filter-title h2 {
  font-size: 17px;
}
.filter-title button {
  border: 0;
  background: none;
  color: var(--muted);
}
.filters > label {
  display: grid;
  gap: 6px;
  margin: 16px 0;
  font-size: 12px;
  font-weight: 800;
}
.filters output {
  float: right;
  text-align: right;
  color: var(--blue);
}
input[type="search"],
input[type="date"],
input[type="number"],
select {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: white;
  padding: 10px;
  width: 100%;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}
input[type="checkbox"] {
  accent-color: var(--purple);
  width: 16px;
  height: 16px;
}
.filters fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 16px 0 0;
  margin: 18px 0 0;
}
.filters legend {
  font-size: 12px;
  font-weight: 800;
  padding-bottom: 7px;
}
.filters fieldset label {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 9px 0;
  font-size: 13px;
  color: #cbd6e3;
}
.content-bar {
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}
.content-bar > div {
  display: grid;
}
.content-bar span {
  font-size: 11px;
  color: var(--muted);
}
.content-bar label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.content-bar select {
  padding: 7px;
  width: auto;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 12px;
  padding: 16px;
}
.property {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
  min-width: 0;
}
.property-top {
  display: flex;
  justify-content: space-between;
}
.pill,
.fresh {
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  border-radius: 5px;
  padding: 4px 6px;
  background: #ffffff12;
}
.pill.lien {
  color: #6ee7b7;
  background: #2dd39a20;
}
.pill.deed {
  color: #ff959d;
  background: #ff6d7820;
}
.fresh.new {
  color: #70dbff;
  background: #36a9ff20;
}
.fresh.drop {
  color: #ffd675;
  background: #ffc14d20;
}
.property h3 {
  margin: 14px 0 3px;
  font-size: 16px;
}
.property > p,
.property > small {
  color: var(--muted);
  font-size: 11px;
}
.deal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  border-block: 1px solid var(--line);
  padding: 12px 0;
  margin: 12px 0;
}
.deal span {
  display: grid;
  font-size: 9px;
  color: var(--muted);
}
.deal b {
  font-size: 13px;
  color: white;
}
.scoreline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scoreline span {
  font-size: 11px;
}
.scoreline b {
  color: var(--green);
  font-size: 18px;
}
.property footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 15px;
}
.property footer span {
  font-size: 9px;
  color: var(--muted);
  max-width: 55%;
}
.property footer button,
.auction-actions button {
  border: 1px solid var(--line);
  background: var(--panel2);
  border-radius: 7px;
  padding: 7px;
  font-size: 10px;
}
.source-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-block: 1px solid var(--line);
  padding: 12px 0;
  margin: 12px 0;
}
.source-meta span {
  display: grid;
  font-size: 9px;
  color: var(--muted);
}
.source-meta b {
  font-size: 12px;
  color: var(--text);
  margin-top: 3px;
}
.source-open {
  background: var(--blue);
  color: #03101d;
  text-decoration: none;
  font-size: 10px;
  font-weight: 850;
  padding: 8px 10px;
  border-radius: 7px;
}
.source-card > p:last-of-type {
  min-height: 46px;
}
.find-docs {
  border: 1px solid var(--blue);
  background: #36a9ff18;
  color: #8bd0ff;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}
.find-docs:disabled {
  opacity: 0.6;
}
.discovery {
  margin-top: 12px;
}
.discovery > strong {
  display: block;
  color: var(--green);
  font-size: 12px;
  margin-bottom: 7px;
}
.discovery > div {
  display: grid;
  gap: 5px;
}
.discovery a {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #cfe9ff;
  text-decoration: none;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px;
  font-size: 11px;
}
.discovery a span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
}
.discovery small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 7px;
}
.discovery-note {
  min-height: 0 !important;
  background: #ffffff08;
  border-radius: 6px;
  padding: 8px;
  color: var(--muted) !important;
  font-size: 11px !important;
}
.discovery-note.call {
  border-left: 3px solid var(--yellow);
}
.auction-tools,
.county-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px 4vw;
  border-block: 1px solid var(--line);
  background: var(--panel);
}
.auction-tools label {
  font-size: 11px;
  font-weight: 800;
}
.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  padding: 16px 4vw;
}
.week span {
  display: grid;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
}
.week b,
.week small {
  font-size: 10px;
  color: var(--muted);
}
.week em {
  font-size: 22px;
  font-style: normal;
  font-weight: 850;
}
.auction-list {
  padding: 0 4vw 50px;
}
.auction-list article {
  display: grid;
  grid-template-columns: 65px 1fr auto;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
  margin-bottom: 9px;
}
.auction-list time {
  border-right: 1px solid var(--line);
  display: grid;
  text-align: center;
}
.auction-list time b {
  font-size: 23px;
}
.auction-list time span {
  font-size: 10px;
  color: var(--muted);
}
.auction-list h3 {
  font-size: 15px;
  margin: 6px 0 2px;
}
.auction-list p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.auction-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.auction-actions a {
  font-size: 10px;
  color: var(--blue);
}
.guide-layout {
  display: grid;
  grid-template-columns: 230px 1fr 260px;
  min-height: 650px;
  border-top: 1px solid var(--line);
}
.state-list,
.compare {
  background: var(--panel);
  padding: 15px;
}
.state-list {
  border-right: 1px solid var(--line);
}
.compare {
  border-left: 1px solid var(--line);
}
.state-list > input {
  margin-bottom: 12px;
}
.state-list button,
#compareRows button {
  width: 100%;
  display: flex;
  gap: 10px;
  text-align: left;
  align-items: center;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px;
}
.state-list button > b {
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #03101d;
  width: 34px;
  height: 34px;
  border-radius: 7px;
}
.state-list button span {
  display: grid;
  font-weight: 700;
}
.state-list button small {
  font-size: 9px;
  color: var(--muted);
}
.guide-detail {
  padding: 30px 4vw;
}
.guide-title {
  display: flex;
  gap: 15px;
  align-items: center;
}
.guide-title > b {
  font-size: 28px;
  background: var(--blue);
  color: #03101d;
  padding: 13px;
  border-radius: 10px;
}
.guide-title span {
  font-size: 11px;
  color: var(--muted);
}
.guide-title h2 {
  margin: 1px 0;
  font-size: 26px;
}
.guide-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 25px 0;
}
.guide-stats span {
  display: grid;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 8px;
  font-size: 10px;
  color: var(--muted);
}
.guide-stats b {
  font-size: 13px;
  color: white;
  margin-top: 4px;
}
.guide-detail ol {
  padding-left: 22px;
}
.guide-detail li {
  padding: 7px;
}
.notice {
  border: 1px solid #ffc14d55;
  background: #ffc14d10;
  padding: 13px;
  border-radius: 9px;
}
.notice b {
  color: var(--yellow);
}
.notice p,
.compare > p {
  font-size: 10px;
  color: var(--muted);
}
.compare h2 {
  font-size: 16px;
}
.compare button {
  display: grid !important;
  grid-template-columns: 35px 1fr;
}
.compare button span {
  font-size: 11px;
}
.compare button small {
  grid-column: 2;
  font-size: 9px;
  color: var(--muted);
}
.calc-wrap {
  display: grid;
  grid-template-columns: minmax(300px, 500px) minmax(340px, 1fr);
  gap: 25px;
  padding: 25px 6vw 70px;
}
.calc-wrap form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.calc-wrap label {
  font-size: 11px;
  font-weight: 800;
}
.calc-wrap label input {
  margin-top: 6px;
}
.calc-result {
  background: linear-gradient(145deg, #142a46, #0e1d31);
  border: 1px solid #345374;
  border-radius: 12px;
  padding: 28px;
}
.calc-result > p {
  color: var(--muted);
  margin: 0;
}
.calc-result > p + b {
  font-size: 48px;
  color: var(--green);
}
.calc-result > div:not(.roi-bar) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 22px 0;
}
.calc-result span {
  display: grid;
  background: #07111f80;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 8px;
  font-size: 10px;
  color: var(--muted);
}
.calc-result span b {
  font-size: 18px;
  color: white;
}
.roi-bar {
  height: 9px;
  background: var(--panel);
  border-radius: 5px;
  overflow: hidden;
}
.roi-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  width: 0;
}
.fine {
  font-size: 10px !important;
}
.county-tools {
  grid-template-columns: 2fr 1fr 1fr;
}
.county-table {
  padding: 15px 4vw 50px;
}
.county-head,
.county-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr 0.7fr 45px;
  gap: 10px;
  align-items: center;
}
.county-head {
  padding: 9px 13px;
  text-transform: uppercase;
  font-size: 9px;
  color: var(--muted);
}
.county-row {
  padding: 11px 13px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.county-row > span:first-child {
  display: grid;
}
.county-row small {
  color: var(--muted);
  font-size: 9px;
}
.county-row > b:last-child {
  color: var(--blue);
  font-size: 16px;
}
.source-status {
  width: max-content;
  border-radius: 5px;
  padding: 4px 6px;
  font-size: 9px;
  font-weight: 850;
}
.source-status.live {
  color: #6ee7b7;
  background: #2dd39a20;
}
.source-status.queued {
  color: #ffd675;
  background: #ffc14d20;
}
.source-status.research {
  color: #bac7d4;
  background: #ffffff10;
}
.load-more {
  display: block;
  margin: 20px auto;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 9px 15px;
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  padding: 60px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 25px);
  opacity: 0;
  background: white;
  color: #07111f;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 800;
  transition: 0.2s;
  z-index: 30;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1050px) {
  nav button {
    padding: 7px;
    font-size: 11px;
  }
  .property-grid {
    grid-template-columns: 1fr 1fr;
  }
  .guide-layout {
    grid-template-columns: 200px 1fr;
  }
  .compare {
    display: none;
  }
}
@media (max-width: 730px) {
  header {
    padding: 0 14px;
  }
  .brand {
    margin-right: auto;
  }
  header nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--panel);
    display: flex;
    overflow: auto;
    padding: 7px;
    z-index: 25;
  }
  header nav button {
    white-space: nowrap;
  }
  .header-actions {
    display: none;
  }
  .page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metrics article:nth-child(3) {
    border-left: 0;
  }
  .work {
    display: block;
  }
  .map-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .county-map-panel {
    padding-inline: 14px;
  }
  .county-map-wrap {
    height: 360px;
  }
  .map-legend {
    right: 10px;
    left: 10px;
    justify-content: center;
  }
  .map-selection {
    left: 10px;
    right: 10px;
    max-width: none;
  }
  .filters {
    border-right: 0;
  }
  .property-grid {
    grid-template-columns: 1fr;
  }
  .auction-tools,
  .county-tools {
    grid-template-columns: 1fr 1fr;
  }
  .week {
    overflow: auto;
    grid-template-columns: repeat(7, 90px);
  }
  .auction-list article {
    grid-template-columns: 55px 1fr;
  }
  .auction-actions {
    grid-column: 2;
  }
  .guide-layout {
    display: block;
  }
  .state-list {
    max-height: 230px;
    overflow: auto;
  }
  .calc-wrap {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .calc-wrap form {
    grid-template-columns: 1fr;
  }
  .county-head {
    display: none;
  }
  .county-row {
    grid-template-columns: 1fr auto auto;
  }
  .county-row > *:nth-child(2),
  .county-row > *:nth-child(4),
  .county-row > *:nth-child(5) {
    display: none;
  }
  body {
    padding-bottom: 58px;
  }
}
