.polls-list {
  display: grid;
  gap: 1rem;
}

.private-access {
  min-height: 70vh;
  padding-top: clamp(3rem, 8vw, 6rem);
}

.private-access h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.98;
}

.private-access .section-heading,
.private-access .poll-auth {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.private-access .section-heading {
  text-align: center;
}

.private-portal {
  margin-top: 1.5rem;
}

.private-access__content {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.private-access__content h2 {
  margin: 0.35rem 0;
}

.private-info {
  margin-top: clamp(3rem, 7vw, 5rem);
}

.private-info__heading {
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.private-info__heading h2 {
  margin: 0.35rem 0;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid rgba(22, 54, 44, 0.14);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 54, 44, 0.05);
}

.faq-list summary {
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 800;
}

.faq-list details[open] summary {
  color: #176e51;
}

.faq-list p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: #52645e;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.rule-card {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-height: 180px;
  padding: 1.2rem;
  border: 1px solid rgba(22, 54, 44, 0.14);
  border-radius: 1rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.rule-card:hover {
  transform: translateY(-2px);
  border-color: #259593;
  box-shadow: 0 14px 30px rgba(22, 54, 44, 0.1);
}

.rule-card span {
  color: #52645e;
}

.rule-card small {
  align-self: end;
  color: #176e51;
  font-weight: 800;
}

.poll-card,
.poll-auth,
.poll-empty {
  border: 1px solid rgba(22, 54, 44, 0.14);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 54, 44, 0.08);
}

.poll-card,
.poll-auth {
  padding: clamp(1.15rem, 3vw, 1.75rem);
}

.poll-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.poll-card__header h3,
.poll-auth p {
  margin: 0.35rem 0 0;
}

.poll-badge {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #e8f2ed;
  color: #16543f;
  font-size: 0.78rem;
  font-weight: 800;
}

.poll-badge--official {
  background: #fff0d2;
  color: #7c4b00;
}

.poll-card__dates {
  margin: 0.9rem 0;
  color: #52645e;
  font-size: 0.9rem;
}

.poll-options {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
  padding: 0;
  border: 0;
}

.poll-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(22, 54, 44, 0.18);
  border-radius: 0.85rem;
  cursor: pointer;
}

.poll-option:has(input:checked) {
  border-color: #1c7758;
  background: #edf8f3;
}

.poll-result {
  margin-top: 1rem;
}

.poll-result__line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.poll-result__bar {
  height: 0.75rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ebe8;
}

.poll-result__fill {
  height: 100%;
  border-radius: inherit;
  background: #78ad98;
}

.poll-result--winner .poll-result__fill {
  background: #176e51;
}

.poll-result--winner .poll-result__line {
  color: #155b45;
  font-weight: 800;
}

.poll-auth {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
  background: #f4faf7;
}

.poll-auth__form {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.poll-auth__form label {
  display: grid;
  flex: 1 1 260px;
  gap: 0.35rem;
  font-weight: 700;
}

.poll-auth__form input {
  min-height: 2.9rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(22, 54, 44, 0.24);
  border-radius: 0.65rem;
  font: inherit;
}

.poll-session {
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.poll-session:not([hidden]) {
  display: flex;
}

.poll-message {
  min-height: 1.25rem;
  margin: 0;
  font-weight: 700;
}

.poll-message--error {
  color: #a62929;
}

.poll-empty {
  padding: 1.5rem;
  color: #52645e;
}

@media (max-width: 640px) {
  .poll-card__header {
    display: grid;
  }

  .poll-auth__form .btn {
    width: 100%;
  }
}
