:root{
  --bg:#0b0f19;
  --card:#111a2e;
  --card2:#0f172a;
  --text:#e6e9f2;
  --muted:#a8b3cf;
  --accent:#7dd3fc;
  --ok:#86efac;
  --warn:#fbbf24;
  --err:#fb7185;
  --border:rgba(255,255,255,.12);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius:16px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; background:var(--bg); color:var(--text); font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji"; }
a{ color: var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }
.wrap{ max-width: 1180px; margin: 0 auto; padding: 18px; }

.hero{
  padding: 18px;
  background: radial-gradient(1200px 500px at 10% 10%, rgba(125,211,252,.18), transparent 55%),
              radial-gradient(900px 500px at 90% 0%, rgba(134,239,172,.10), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,.04), transparent);
  border-bottom: 1px solid var(--border);
}
.hero__grid{ max-width:1180px; margin:0 auto; }
.hero__headline{ display:flex; gap:14px; align-items:center; }
.hero__photo{
  width: 120px; height: 120px; border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero__title{ font-size: 22px; font-weight: 750; line-height:1.15; }
.hero__subtitle{ margin-top:6px; color:var(--muted); }
.hero__tagline{ margin-top:2px; color:var(--muted); }
.hero__cta{ margin-top: 14px; }
.hero__meta{ margin-top: 10px; color: var(--muted); font-size: 13px; }
.dot{ margin: 0 8px; opacity: .7; }

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  margin-top: 14px;
}
.subcard{
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
}
h2{ margin: 0 0 12px 0; font-size: 18px; }
h3{ margin: 0 0 10px 0; font-size: 15px; }

.grid{ display:grid; gap: 12px; }
.grid--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px){
  .grid--2,.grid--3,.grid--4{ grid-template-columns: 1fr; }
  .hero__headline{ align-items:flex-start; }
  .hero__photo{ width: 92px; height: 92px; }
}

.field{ display:flex; flex-direction:column; gap:6px; }
.field__label{ font-size: 12px; color: var(--muted); }
.input{
  width: 100%;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
  outline: none;
}
.input:focus{ border-color: rgba(125,211,252,.55); box-shadow: 0 0 0 3px rgba(125,211,252,.15); }

.row{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.mt{ margin-top: 10px; }
.check{ display:flex; gap:8px; align-items:center; font-size:13px; color: var(--muted); }
.check input{ width:16px; height:16px; accent-color: var(--accent); }

.est{ display:grid; gap:10px; }
.est__row{ display:flex; justify-content:space-between; gap:12px; padding:10px 12px; border:1px solid var(--border); border-radius:14px; background: rgba(255,255,255,.03); }
.est__row strong{ font-size:18px; color: var(--text); }
.est__meta{ font-size:13px; color: var(--muted); }
.subcard h4{ margin: 4px 0 10px; font-size: 14px; color: var(--text); }
.field--inline{ flex-direction:row; align-items:center; gap:10px; }
.field--inline .field__label{ margin:0; }
.hint{ font-size: 12px; color: var(--muted); }
.muted{ color: var(--muted); }

.btn{
  cursor:pointer;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 650;
}
.btn:hover{ background: rgba(255,255,255,.07); }
.btn--accent{
  background: rgba(125,211,252,.20);
  border-color: rgba(125,211,252,.35);
}
.btn--accent:hover{ background: rgba(125,211,252,.26); }
.btn--ghost{ background: rgba(255,255,255,.03); }
.btn[disabled]{ opacity:.45; cursor:not-allowed; }

.note{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(251,191,36,.10);
}
.note--warn{ border-color: rgba(251,191,36,.25); }

.kpis{ display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
@media (max-width: 980px){ .kpis{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
.kpi{
  padding: 10px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
}
.kpi__label{ font-size: 12px; color: var(--muted); }
.kpi__value{ font-size: 18px; font-weight: 800; margin-top: 4px; }
.kpi__sub{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.map{
  height: 420px;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow:hidden;
}

.tableWrap{ overflow:auto; border: 1px solid var(--border); border-radius: 14px; }
.table{
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}
.table thead th{
  position: sticky; top: 0;
  background: rgba(15,23,42,.92);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
  padding: 10px 10px;
  text-align:left;
  font-size: 12px;
  color: var(--muted);
}
.table tbody td{
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 10px 10px;
  font-size: 13px;
  vertical-align: top;
}
tr.row-excluded{ opacity:.45; }
.pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  font-size: 12px;
  color: var(--muted);
}
.suggestions{
  display:none;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15,23,42,.98);
  overflow:hidden;
}
.sugg{
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  cursor:pointer;
  font-size: 13px;
}
.sugg:hover{ background: rgba(125,211,252,.10); }
.footer{ padding: 10px 2px 22px; font-size: 12px; color: var(--muted); }
