body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1c1a18;
  background: linear-gradient(135deg, #f8f2e8, #f4efe7);
}
main {
  width: min(920px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}
.card {
  background: rgba(255,250,242,.92);
  border: 1px solid rgba(33,28,21,.14);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(31,25,17,.18);
  padding: clamp(1.2rem, 3vw, 2rem);
  margin: 1rem 0;
}
h1 { margin: 0 0 .3rem; }
p { color: #746b61; line-height: 1.55; }
a { color: #7c351e; font-weight: 700; }
label { display:block; font-weight:800; margin: 1rem 0 .45rem; }
input[type="text"], input[type="password"], input[type="file"] {
  width: 100%;
  border: 1px solid rgba(33,28,21,.18);
  border-radius: 16px;
  padding: .85rem 1rem;
  font: inherit;
  background: #fff;
}
button, .button {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: .75rem 1.05rem;
  font: inherit;
  font-weight: 800;
  color: #fff7eb;
  background: #24201c;
  text-decoration: none;
  cursor: pointer;
  margin-top: 1rem;
}
.button.secondary, button.secondary { background:#8a8177; }
.alert {
  padding: .9rem 1rem;
  border-radius: 18px;
  margin: 1rem 0;
  font-weight: 700;
}
.alert.ok { background: #e6f3e1; color: #22451f; }
.alert.error { background: #ffe2dc; color: #76210d; }
.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .7rem;
  margin-top: 1rem;
}
.meta div {
  background: #fff;
  border: 1px solid rgba(33,28,21,.12);
  border-radius: 18px;
  padding: .9rem;
}
.meta strong { display:block; }
.toplinks { display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1rem; }
.small { font-size: .92rem; }
