:root{
  --bg:#ffffff;
  --text:#111111;
  --muted:#666666;
  --accent:#FFCC00; /* Yandex Yellow */
  --accent-press:#E6B800;
  --border:#E5E5E5;
  --card:#ffffff;
  --shadow:0 6px 18px rgba(0,0,0,.06);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial,sans-serif;
  background:var(--bg); color:var(--text);
}

a{color:inherit; text-decoration:underline; text-underline-offset:2px}
a:hover{opacity:.9}

.container{max-width:980px;margin:32px auto;padding:0 16px}

h1{font-size:34px;margin:8px 0 16px}
h2{font-size:22px;margin:0 0 12px}

.muted{color:var(--muted)}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:20px;
  box-shadow:var(--shadow);
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
@media (max-width:900px){ .grid{grid-template-columns:1fr 1fr} }
@media (max-width:640px){ .grid{grid-template-columns:1fr} }

label{display:block; font-size:14px; color:#333; margin-bottom:6px}
input{
  width:100%; padding:12px 12px;
  border:1px solid var(--border);
  border-radius:10px; background:#fff; color:var(--text);
  outline:none;
}
input:focus{border-color:#D9B100; box-shadow:0 0 0 3px rgba(255,204,0,.25)}

button,.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  background:var(--accent); color:#111; font-weight:600;
  border:none; border-radius:10px; padding:12px 16px; cursor:pointer;
}
button:hover{background:var(--accent-press)}
button:disabled{opacity:.5; cursor:not-allowed}

.auth .hint{font-size:14px;color:var(--muted)}
.center{text-align:center}

.list{margin:0;padding-left:18px}
.list li{margin:4px 0}

.kpi{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
@media (max-width:640px){ .kpi{grid-template-columns:1fr} }
.kpi .card{padding:16px}
