.inspector > .tabs > #tab-resident-self {
  grid-column: 1 / -1;
}

.resident-self-access, .resident-self-content {
  margin-top: 16px;
}

.resident-self-tools, .resident-self-filters, .resident-self-pages, .resident-self-goal-meta {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 8px;
}

.resident-self-tools label, .resident-self-filters label {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--dim);
  font-size: .72rem;
  font-weight: 700;
}

.resident-self-tools label { flex: 1 1 120px; }
.resident-self-filters label { flex: 0 1 134px; }

.resident-self-tools select, .resident-self-filters select {
  width: 100%;
  min-width: 0;
  padding: 7px 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d7cce7;
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
}

.resident-self-profile, .resident-self-goals, .resident-self-decisions {
  margin-top: 15px;
}

.resident-self-profile {
  padding: 11px;
  border: 1px solid #e8def3;
  border-radius: 10px;
  background: #faf7fd;
}

.resident-self-profile h3, .resident-self-goals h3 {
  font-size: .92rem;
  margin: 0 0 6px;
}

.resident-self-profile dl, .resident-self-profile dd { margin: 0; }
.resident-self-profile dt {
  margin-top: 7px;
  color: var(--purple-dark);
  font-size: .71rem;
  font-weight: 760;
}

.resident-self-profile dd {
  margin-top: 2px;
  font-size: .8rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.resident-self-filters {
  justify-content: space-between;
  margin: 6px 0 9px;
}

.resident-self-filters .panel-copy { align-self: center; margin: 0; }
#resident-self-goals { display: grid; gap: 8px; }

.resident-self-goal {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow-wrap: anywhere;
}

.resident-self-goal-meta { justify-content: space-between; align-items: center; }
.resident-self-goal-meta small, .resident-self-goal time,
.resident-self-decisions time, .resident-self-decisions small {
  color: var(--dim);
  font-size: .69rem;
}

.resident-self-badge {
  padding: 3px 7px;
  border-radius: 18px;
  background: #eeedf2;
  color: #534c62;
  font-size: .65rem;
  font-weight: 760;
}

.resident-self-badge[data-state=etkin] { background: #e4f3ec; color: #195d45; }
.resident-self-badge[data-state=askida] { background: #fff0d8; color: #795014; }
.resident-self-badge[data-state=tamamlandi] { background: #eee7fa; color: #533786; }
.resident-self-goal h4 { margin: 7px 0 4px; font-size: .85rem; line-height: 1.4; }
.resident-self-reflection { margin: 6px 0; font-size: .76rem; line-height: 1.45; }
.resident-self-reflection strong { display: block; color: var(--purple-dark); font-size: .68rem; }
.resident-self-pages { align-items: center; justify-content: space-between; margin-top: 4px; font-size: .72rem; }
.resident-self-pages button:disabled { opacity: .45; }
.resident-self-decisions { border-top: 1px solid var(--line); padding-top: 9px; }
.resident-self-decisions summary { font-size: .77rem; font-weight: 760; cursor: pointer; }
.resident-self-decisions ol { margin: 8px 0 0; padding-left: 20px; }
.resident-self-decisions li { margin: 6px 0; font-size: .75rem; overflow-wrap: anywhere; }
.resident-self-decisions li p { margin: 2px 0; }
.resident-self-status:not(:empty) { margin-top: 10px; }
