:root {
  color-scheme: light;
  --ink:#17211d;
  --muted:#66736d;
  --line:#dce5df;
  --panel:#ffffff;
  --bg:#f3f6f2;
  --green:#117249;
  --green-2:#0d5d67;
  --gold:#b78b2f;
  --blue:#255f9f;
  --red:#a13a32;
  --shadow:0 24px 80px rgba(23,33,29,.12);
}
* { box-sizing:border-box; }
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,Segoe UI,Arial,sans-serif;
  letter-spacing:0;
}
a { color:inherit; }
.site-header {
  position:sticky;
  top:0;
  z-index:20;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 max(22px,calc((100vw - 1180px)/2));
  border-bottom:1px solid rgba(23,33,29,.08);
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(18px);
}
.site-brand { display:flex; align-items:center; gap:10px; font-size:19px; font-weight:850; text-decoration:none; }
.brand-mark { display:grid; place-items:center; width:36px; height:36px; border-radius:8px; background:var(--ink); color:#fff; }
.site-nav { display:flex; align-items:center; gap:22px; font-size:14px; }
.site-nav a { color:var(--muted); text-decoration:none; }
.site-nav a:hover { color:var(--ink); }
.nav-button,.primary-action,.secondary-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:8px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
}
.nav-button,.primary-action { background:var(--green); color:#fff !important; box-shadow:0 10px 24px rgba(17,114,73,.2); }
.secondary-action { background:#fff; color:var(--ink); border-color:var(--line); }
.secondary-action.compact { min-height:42px; }
.hero {
  width:min(1180px,calc(100% - 36px));
  min-height:620px;
  margin:30px auto 24px;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:34px;
  align-items:center;
}
.hero-copy h1 { max-width:760px; margin:12px 0 18px; font-size:clamp(40px,6vw,76px); line-height:.95; letter-spacing:0; }
.hero-copy p { max-width:620px; color:var(--muted); font-size:19px; line-height:1.55; }
.eyebrow { color:var(--green); font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; }
.hero-map {
  position:relative;
  min-height:520px;
  overflow:hidden;
  border:1px solid rgba(17,114,73,.2);
  border-radius:10px;
  background:
    radial-gradient(circle at 70% 18%, rgba(183,139,47,.22), transparent 28%),
    linear-gradient(135deg,#e8f2eb,#f7f4e8 48%,#e7eef4);
  box-shadow:var(--shadow);
}
.map-grid {
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(23,33,29,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(23,33,29,.09) 1px,transparent 1px);
  background-size:42px 42px;
  transform:rotate(-8deg) scale(1.2);
}
.scan-line {
  position:absolute;
  inset:0 auto 0 0;
  width:34%;
  background:linear-gradient(90deg,rgba(17,114,73,.0),rgba(17,114,73,.16),rgba(17,114,73,.0));
  animation:scan 6s ease-in-out infinite;
}
@keyframes scan { 0%,100% { transform:translateX(-40%); } 50% { transform:translateX(250%); } }
.plot-card {
  position:absolute;
  display:grid;
  gap:6px;
  min-width:160px;
  padding:16px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:10px;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(14px);
  box-shadow:0 18px 48px rgba(23,33,29,.12);
}
.plot-card strong { font-size:20px; }
.plot-card span { color:var(--muted); font-size:13px; }
.plot-a { left:12%; top:18%; }
.plot-b { right:10%; top:42%; }
.plot-c { left:28%; bottom:15%; }
.metrics-strip {
  width:min(1180px,calc(100% - 36px));
  margin:0 auto 70px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  overflow:hidden;
}
.metrics-strip div { padding:20px 22px; border-right:1px solid var(--line); }
.metrics-strip div:last-child { border-right:0; }
.metrics-strip strong { display:block; margin-bottom:4px; font-size:26px; }
.metrics-strip span,.muted-modern { color:var(--muted); }
.content-band,.split-section {
  width:min(1180px,calc(100% - 36px));
  margin:0 auto 70px;
}
.content-band { padding:46px; border-radius:10px; background:#fff; border:1px solid var(--line); }
.content-band.subtle { background:#eef5f0; }
.section-title { margin-bottom:24px; }
.section-title h1,.section-title h2 { margin:8px 0 0; font-size:34px; line-height:1.1; }
.section-title p { color:var(--muted); }
.steps,.cards-3 { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.cards-3 { grid-template-columns:repeat(3,1fr); margin:18px 0; }
.steps article,.cards-3 article,.panel-modern,.auth-panel,.auth-aside,.cabinet-side,.auction-card {
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
}
.steps article,.cards-3 article { padding:20px; }
.steps b { color:var(--gold); }
.steps h3,.cards-3 h3 { margin:10px 0 8px; }
.steps p,.cards-3 p,.split-section p { color:var(--muted); line-height:1.5; }
.split-section { display:grid; grid-template-columns:.9fr 1.1fr; gap:40px; align-items:center; }
.split-section h2 { margin:10px 0; font-size:38px; line-height:1.05; }
.feature-list { display:grid; gap:10px; }
.feature-list span { padding:16px 18px; border:1px solid var(--line); border-radius:8px; background:#fff; font-weight:750; }
.site-footer {
  width:min(1180px,calc(100% - 36px));
  margin:80px auto 34px;
  display:flex;
  gap:18px;
  align-items:center;
  color:var(--muted);
  font-size:13px;
}
.site-footer div { margin-right:auto; display:grid; gap:4px; }
.auth-shell {
  width:min(1040px,calc(100% - 36px));
  margin:56px auto 90px;
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:18px;
}
.auth-panel,.auth-aside,.panel-modern { padding:26px; box-shadow:0 14px 42px rgba(23,33,29,.07); }
.auth-panel h1 { margin:10px 0; font-size:42px; line-height:1.05; }
.auth-panel p,.auth-aside li { color:var(--muted); line-height:1.55; }
.auth-tabs {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  padding:5px;
  margin-bottom:22px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#f2f6f4;
}
.auth-tab {
  min-height:42px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--muted);
  font-weight:900;
}
.auth-tab.is-active {
  background:#fff;
  color:var(--ink);
  box-shadow:0 8px 22px rgba(23,33,29,.08);
}
.auth-mode { display:none; }
.auth-mode.is-active { display:grid; }
.auth-form,.modern-form,.auction-web-form {
  display:grid;
  gap:14px;
  margin-top:22px;
}
.auth-form.auth-mode { display:none; }
.auth-form.auth-mode.is-active { display:grid; }
.step-title {
  color:var(--ink);
  font-weight:900;
  font-size:15px;
}
.step-hint {
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#f7faf8;
  color:var(--muted);
  line-height:1.45;
}
.verify.is-disabled {
  opacity:.68;
}
.verify.is-disabled input,
.verify.is-disabled button {
  cursor:not-allowed;
}
label { display:grid; gap:7px; color:#3d4943; font-size:13px; font-weight:800; }
.check-row {
  grid-template-columns:18px 1fr;
  align-items:start;
  color:var(--ink);
  font-size:14px;
  font-weight:700;
  line-height:1.45;
}
.check-row input {
  width:18px;
  min-height:18px;
  height:18px;
  margin-top:2px;
  padding:0;
  accent-color:var(--green);
}
.check-row a { color:var(--blue); font-weight:850; }
input,select,button {
  min-height:46px;
  width:100%;
  border:1px solid #cdd8d2;
  border-radius:8px;
  padding:10px 12px;
  background:#fff;
  color:var(--ink);
  font:inherit;
}
button { cursor:pointer; }
.form-alert,.dev-code {
  margin:16px 0;
  padding:13px 15px;
  border-radius:8px;
  background:#fff2ef;
  color:var(--red);
  border:1px solid #f1c9c2;
}
.form-alert.neutral,.dev-code { background:#eef6ff; color:var(--blue); border-color:#c7def5; }
.catalog-note {
  min-height:46px;
  display:flex;
  align-items:center;
  padding:10px 12px;
  border:1px solid #d6e2dc;
  border-radius:8px;
  background:#f7faf8;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}
.catalog-note.is-error {
  background:#fff2ef;
  color:var(--red);
  border-color:#f1c9c2;
}
.auth-divider {
  margin:26px 0 18px;
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--muted);
  font-weight:800;
}
.auth-divider::before,.auth-divider::after {
  content:"";
  height:1px;
  flex:1;
  background:var(--line);
}
.cabinet-layout {
  width:min(1180px,calc(100% - 36px));
  margin:30px auto 90px;
  display:grid;
  grid-template-columns:240px 1fr;
  gap:18px;
}
.cabinet-side {
  position:sticky;
  top:92px;
  align-self:start;
  padding:16px;
  display:grid;
  gap:9px;
}
.cabinet-side span { color:var(--muted); font-size:13px; }
.cabinet-side a,.cabinet-side button {
  min-height:42px;
  display:flex;
  align-items:center;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  text-decoration:none;
  color:var(--ink);
  font-weight:750;
}
.cabinet-main { display:grid; gap:18px; }
.cabinet-hero {
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  padding:28px;
  border-radius:10px;
  background:linear-gradient(135deg,#ffffff,#eaf4ef);
  border:1px solid var(--line);
}
.cabinet-hero h1 { margin:8px 0; font-size:38px; }
.cabinet-hero p { margin:0; color:var(--muted); }
.search-live-hero h1 { max-width:760px; }
.search-progress-panel {
  display:grid;
  gap:14px;
}
.live-status-row {
  display:flex;
  align-items:center;
  gap:14px;
}
.live-status-row p {
  margin:4px 0 0;
  color:var(--muted);
  line-height:1.45;
}
.live-spinner {
  width:36px;
  height:36px;
  flex:0 0 36px;
  border:4px solid #d9e6df;
  border-top-color:var(--green);
  border-radius:50%;
  animation:spin 1s linear infinite;
}
.search-progress-panel:not(.is-running) .live-spinner {
  animation:none;
  border-color:var(--green);
}
.search-progress-panel.is-failed .live-spinner {
  border-color:#f1c9c2;
  border-top-color:var(--red);
}
.progress-track {
  overflow:hidden;
  height:12px;
  border-radius:999px;
  background:#e8f0ec;
}
.progress-track span {
  display:block;
  height:100%;
  width:0;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--green),#32b47a);
  transition:width .35s ease;
}
.search-progress-panel.is-failed .progress-track span {
  background:var(--red);
}
.progress-meta {
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}
.panel-head { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:16px; }
.panel-head h2 { margin:0; }
.simple-list { display:grid; gap:10px; }
.simple-list > a,.simple-list > div {
  display:grid;
  gap:5px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:8px;
  color:var(--ink);
  text-decoration:none;
}
.simple-list span { color:var(--muted); font-size:13px; }
.candidate-live-list { gap:12px; }
.candidate-live-card {
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
}
.candidate-live-card p {
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.45;
}
.candidate-live-actions {
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:130px;
}
.candidate-live-actions a {
  display:flex;
  min-height:38px;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:8px;
  color:var(--ink);
  text-decoration:none;
  font-weight:850;
}
.candidate-live-facts {
  display:grid;
  grid-template-columns:repeat(4,minmax(120px,1fr));
  gap:8px;
  margin:12px 0 0;
}
.candidate-live-facts div {
  padding:10px;
  background:#f7faf8;
  border:1px solid var(--line);
  border-radius:8px;
}
.candidate-live-facts dt {
  margin:0 0 4px;
  color:var(--muted);
  font-size:12px;
  font-weight:750;
}
.candidate-live-facts dd {
  margin:0;
  color:var(--ink);
  font-weight:850;
}
.empty-live-state {
  display:grid;
  gap:6px;
  padding:18px;
  border:1px dashed #c8d7cf;
  border-radius:8px;
  background:#f7faf8;
}
.empty-live-state span { color:var(--muted); }
.lot-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.lot-grid article { padding:14px; border:1px solid var(--line); border-radius:8px; }
.lot-grid span { display:block; margin:7px 0; color:var(--green); font-weight:850; }
.lot-grid p { color:var(--muted); }
.modern-form { grid-template-columns:repeat(2,1fr); }
.modern-form button { width:auto; padding:0 24px; }
.modern-form .catalog-note,
.modern-form button {
  grid-column:auto;
}
.auction-web-form {
  grid-template-columns:repeat(4,1fr);
  padding:20px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
}
.auction-list { display:grid; gap:12px; }
.auction-card { display:grid; grid-template-columns:1fr 220px; gap:18px; padding:18px; }
.auction-card h3 { margin:8px 0; font-size:18px; }
.auction-card p { color:var(--muted); }
.auction-card-meta { display:grid; gap:8px; align-content:start; text-align:right; }
.auction-card-meta b { color:var(--green); font-size:19px; }
.auction-card-meta a { color:var(--blue); font-weight:800; }
.legal-page {
  max-width:880px;
  margin:0 auto;
  padding:80px 28px 96px;
}
.legal-page h1 {
  margin:12px 0 18px;
  font-size:clamp(34px,4vw,58px);
  line-height:1;
}
.legal-lead {
  max-width:760px;
  color:var(--muted);
  font-size:18px;
  line-height:1.65;
}
.legal-section {
  padding:28px 0;
  border-top:1px solid var(--line);
}
.legal-section h2 {
  margin:0 0 12px;
  font-size:24px;
}
.legal-section p {
  color:var(--muted);
  line-height:1.75;
}
@media (max-width:900px) {
  .site-header { height:auto; padding:14px 18px; align-items:flex-start; }
  .site-nav { gap:10px; flex-wrap:wrap; justify-content:flex-end; }
  .hero,.split-section,.auth-shell,.cabinet-layout { grid-template-columns:1fr; }
  .hero { min-height:0; }
  .hero-map { min-height:420px; }
  .metrics-strip,.steps,.cards-3,.lot-grid,.modern-form,.auction-web-form { grid-template-columns:1fr; }
  .metrics-strip div { border-right:0; border-bottom:1px solid var(--line); }
  .cabinet-side { position:static; }
  .cabinet-hero,.site-footer { flex-direction:column; align-items:flex-start; }
  .auction-card { grid-template-columns:1fr; }
  .auction-card-meta { text-align:left; }
  .candidate-live-card { grid-template-columns:1fr; }
  .candidate-live-actions { flex-direction:row; flex-wrap:wrap; }
  .candidate-live-facts { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .scan-line { animation:none; }
  .live-spinner { animation:none; }
}
@keyframes spin {
  to { transform:rotate(360deg); }
}
