/* Still to sign (owner 2026-11-03). One column on phones; same layout wider. */
#resignpage .toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.resign-intro {
  max-width: 720px;
}
.resign-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.resign-progress div {
  background: white;
  border: 1px solid #dce5ed;
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 2px;
  min-width: 0;
}
.resign-progress strong {
  font-size: 22px;
  color: #102d50;
}
.resign-progress span {
  font-size: 12px;
  color: #526a82;
}
.resign-send {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 12px;
  margin: 12px 0;
}
.resign-send label {
  display: grid;
  gap: 4px;
}
.resign-send input[name="count"] {
  width: 6em;
}
.resign-send .formerror {
  flex-basis: 100%;
  margin: 0;
}
.resign-send .formerror:empty,
#resignresult:empty {
  display: none;
}
.resign-note {
  font-weight: 600;
  color: #102d50;
}
.resign-group {
  margin-top: 16px;
}
.resign-group h2 {
  font-size: 16px;
  margin: 0 0 6px;
  display: inline;
}
.resign-group > h2 {
  display: block;
}
.resign-group h2 span {
  font-weight: 400;
  color: #526a82;
}
.resign-group summary {
  cursor: pointer;
}
.resign-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.resign-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  background: white;
  border: 1px solid #dce5ed;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.resign-row > div {
  min-width: 0;
  flex: 1 1 220px;
}
.resign-row button {
  font-size: 13px;
  padding: 6px 10px;
}
.resign-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}
.resign-group-head h2 {
  display: block;
}
.resign-csv,
.resign-open {
  font-size: 13px;
  font-weight: 600;
  color: #102d50;
}
.resign-open {
  padding: 6px 10px;
  border: 1px solid #dce5ed;
  border-radius: 8px;
  text-decoration: none;
}
.resign-detail {
  margin: 4px 0 0;
  font-size: 13px;
  color: #526a82;
}
.resign-detail.warn {
  color: #9b1c33;
}
.resign-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 480px) {
  .resign-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* A short confirmation: compact on every screen. */
dialog.resign-dialog {
  width: min(440px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  height: fit-content;
  max-height: 90dvh;
  margin: auto;
  border-radius: 14px;
}
