.note-kind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  cursor: pointer;
}

.note-kind input { margin: 0; accent-color: var(--accent); }
.note-kind:has(input:checked) { border-color: var(--border-gold); background: var(--accent-subtle); }
.note-kind--success.list__icon, .note-kind--success .ic { color: var(--success-fg); }
.note-kind--danger.list__icon, .note-kind--danger .ic { color: var(--danger-fg); }
.note-kind--info.list__icon, .note-kind--info .ic { color: var(--info-fg); }

.note-item__body {
  display: block;
  color: var(--text-primary);
  white-space: normal;
}

.note-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--text-gold);
}

.poll-page {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.poll-options {
  display: grid;
  gap: 8px;
}

.poll-results {
  display: grid;
  gap: 14px;
}

.poll-result__head {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.poll-result .meter {
  width: 100%;
}

.poll-result.is-top .poll-result__head {
  font-weight: 600;
  color: var(--text-gold);
}

.changelog-list {
  list-style: none;
  margin: 0;
  padding: 4px 18px 14px;
}

.changelog-modal .changelog-list {
  padding: 0;
}

.changelog-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.changelog-item:last-child { border-bottom: 0; }
.changelog-item.is-hidden { opacity: .5; }

.changelog-item__icon {
  width: 32px;
  height: 32px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  color: var(--text-gold);
}

.changelog-item__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

.changelog-item__body {
  margin-top: 2px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.changelog-modal .dialog__inner {
  width: min(620px, 94vw);
}

.changelog-modal__body {
  max-height: min(60vh, 560px);
  overflow: auto;
}

.changelog-modal__sep {
  margin: 14px 0 4px;
  font-size: var(--fs-2xs);
  color: var(--text-muted);
}

.changelog-edit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.changelog-edit:last-child { border-bottom: 0; padding-bottom: 0; }
.changelog-edit .check { margin-top: 6px; }

.works {
  text-align: center;
}

.works__seal {
  display: block;
  margin: 0 auto 10px;
}

.works__icon .ic {
  width: 36px;
  height: 36px;
  color: var(--warning-fg);
}

.works__title {
  margin: 6px 0 10px;
  font-family: var(--font-display);
}

.works__text {
  color: var(--text-primary);
}

.works__until {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

.works__actions {
  justify-content: center;
  margin-top: 16px;
}

.works__login {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid var(--warning);
  border-radius: var(--radius-md);
  background: var(--warning-subtle);
  font-size: var(--fs-sm);
  text-align: left;
  color: var(--text-primary);
}

.works__login .ic { flex: none; color: var(--warning-fg); }

.works__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--warning);
  border-radius: var(--radius-pill);
  background: var(--warning-subtle);
  color: var(--warning-fg);
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
}

.works__badge:hover { text-decoration: none; }

.works-card.is-on {
  border-color: var(--warning);
}

@media (max-width: 640px) {
  .works__badge span { display: none; }
}
.works-grant { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.works-grant .select { min-width: 0; }
.works-held__text { max-width: 520px; white-space: pre-line; overflow-wrap: anywhere; }
.works-recent summary { padding: 10px 18px; border-top: 1px solid var(--border-subtle); color: var(--text-gold); font-size: 13px; cursor: pointer; }
