html {
  scrollbar-gutter: stable;
}
body {
  -webkit-font-smoothing: antialiased;
}
#root {
  max-width: 100%;
  margin: 0 auto;
}
.home-placeholder {
  padding: 2rem 1.5rem;
  max-width: 40rem;
}
.home-dashboard {
  padding: 2rem 1.5rem;
  max-width: 48rem;
}
.home-dashboard__header h1 {
  margin: 0 0 0.25rem;
}
.home-dashboard__tabs {
  margin-top: 1.25rem;
}
.home-section {
  margin-top: 1.25rem;
}
.home-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}
.resource-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.resource-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 10px 12px;
  border: 1px solid var(--pues-border-default);
  border-radius: 8px;
  background: var(--pues-bg-page);
}
.resource-kind {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.65;
}
.resource-id {
  font-size: 11px;
  opacity: 0.7;
  word-break: break-all;
}
.home-dashboard__error {
  color: var(--pues-danger-text);
  font-size: 13px;
}
.muted {
  opacity: 0.7;
}

/* Forms / dialogs (content classes; framework `.pues-dialog-*` is pues.css) */
.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--pues-border-default);
  border-radius: 8px;
  background: var(--pues-bg-page);
  color: var(--pues-text-primary);
  font-size: 16px;
}
.input::placeholder {
  color: var(--pues-text-muted);
}
.new-issue-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-field-label {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--pues-text-muted);
}
.comment-compose-actions {
  display: flex;
  justify-content: flex-end;
}
.empty-state-hint {
  margin: 0;
  font-size: 13px;
  color: var(--pues-danger-text);
}

/* Settings → public keys (from dojos) */
.key-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.key-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--pues-border-default);
  border-radius: 8px;
  background: var(--pues-bg-page);
}
.key-row-main {
  flex: 1;
  min-width: 0;
}
.key-fp {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--pues-text-body);
  word-break: break-all;
  line-height: 1.5;
}
.key-remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: var(--pues-text-muted);
  font-size: 20px;
  line-height: 1;
}
.key-remove:hover {
  background: var(--pues-bg-raised);
  color: var(--pues-danger-text);
}
.key-input {
  font-family: var(--mono);
  font-size: 13px;
  resize: vertical;
  word-break: break-all;
}
.key-flash {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--pues-success);
}
.key-msg {
  margin: 16px 0 0;
  font-size: 13px;
}
.key-msg--error {
  color: var(--pues-danger-text);
}
