* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: #fff;
  color: #111;
  font-family: system-ui, -apple-system, sans-serif;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: min(1440px, calc(100% - clamp(32px, 8vw, 144px)));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.inner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(16px, 3vw, 48px);
  border-bottom: 1px solid #111;
}

.inner-brand {
  color: #111;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.language-switch select {
  min-height: 34px;
  padding: 0.35rem 1.9rem 0.35rem 0.55rem;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: 700 0.72rem/1 system-ui, -apple-system, sans-serif;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.public-main {
  padding-top: 2rem;
}

.auth-card,
.suggest-layout {
  width: min(560px, 100%);
}

.manifesto {
  width: min(720px, 100%);
}

.manifesto h1 {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.manifesto h2 {
  font-size: 1rem;
  margin: 1.75rem 0 0.75rem;
}

.manifesto p,
.manifesto li {
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
}

.manifesto strong {
  font-weight: 800;
}

.manifesto p + p {
  margin-top: 1rem;
}

.manifesto ul {
  padding-left: 1.2rem;
  margin: 0 0 1.25rem;
}

.manifesto li + li {
  margin-top: 0.55rem;
}

.manifesto__ban {
  margin-top: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.manifesto__cta {
  margin-top: 1.75rem;
}

.manifesto__cta a {
  color: #111;
  font-weight: 700;
}

.suggest-layout {
  width: 100%;
}

.auth-card h1,
.suggest-copy h1 {
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}

.lead {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.msg {
  padding: 10px 12px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border: 1px solid #111;
}

.msg--ok { background: #eef6ee; }
.msg--err { background: #f8ecec; }

label.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.hint {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: #555;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

button[type="submit"],
.btn {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.7rem 1rem;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  color: #111;
  margin-left: 0.4rem;
}

.auth-links {
  margin-top: 1.1rem;
  font-size: 0.9rem;
}

.auth-links a,
.public-page a {
  color: #111;
}

.suggest-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 1.5rem;
  align-items: start;
}

#suggest-map {
  width: 100%;
  height: 420px;
  min-height: 320px;
  border: 1px solid #111;
}

.map-hint {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: #444;
}

.coord-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.review-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.btn-deny {
  background: #8b1e1e;
  border-color: #8b1e1e;
}

.review-meta {
  margin: 1rem 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.site-footer {
  margin-top: 3.5rem;
  padding: 1.5rem 0 0.25rem;
  border-top: 1px solid #111;
  color: #444;
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}

.footer-col h2 {
  color: #111;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  display: block;
  color: #555;
  text-decoration: none;
  padding: 0.32rem 0;
}

.footer-col a:hover,
.footer-col summary:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.footer-col details p {
  margin-top: 0.5rem;
  max-width: 42rem;
}

.footer-col summary {
  color: #111;
  cursor: pointer;
  list-style: none;
}

.footer-col summary::-webkit-details-marker {
  display: none;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.7rem;
}

.footer-bottom strong {
  color: #111;
}

@media (max-width: 900px) {
  .suggest-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: calc(100% - 24px);
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}
